org.olat.group
Class BusinessGroupTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.olat.core.test.OlatTestCase
              extended by org.olat.group.BusinessGroupTest
All Implemented Interfaces:
junit.framework.Test

public class BusinessGroupTest
extends OlatTestCase

Description:
Initial Date: Aug 18, 2004

Author:
gnaegi

Constructor Summary
BusinessGroupTest(java.lang.String arg)
           
 
Method Summary
 void setUp()
          SetUp is called before each test.
static junit.framework.Test suite()
           
 void tearDown()
          TearDown is called after each test.
 void testBGRights()
          BGContextManagerImpl:deleteBGContext() *
 void testCopyBGContext()
          BGContextManagerImpl:copyBGContext() *
 void testCreateAndPersistBGContext()
          BGContextManagerImpl:createAndPersistBGContext *
 void testDeleteBGContext()
          BGContextManagerImpl:deleteBGContext() *
 void testFindContextMethods()
          BGContext2ResourceManager tests
 void testGroupsOfBGContext()
          BGContextManagerImpl:getGroupsOfBGContext and countGroupsOfBGContext*
 void testRemoveBGFromArea()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BusinessGroupTest

public BusinessGroupTest(java.lang.String arg)
Parameters:
arg -
Method Detail

setUp

public void setUp()
SetUp is called before each test.

Overrides:
setUp in class junit.framework.TestCase

suite

public static junit.framework.Test suite()
                                  throws java.lang.Exception
Returns:
the test suite
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
TearDown is called after each test.

Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testCreateAndPersistBGContext

public void testCreateAndPersistBGContext()
BGContextManagerImpl:createAndPersistBGContext *


testDeleteBGContext

public void testDeleteBGContext()
BGContextManagerImpl:deleteBGContext() *


testCopyBGContext

public void testCopyBGContext()
BGContextManagerImpl:copyBGContext() *


testBGRights

public void testBGRights()
BGContextManagerImpl:deleteBGContext() *


testGroupsOfBGContext

public void testGroupsOfBGContext()
BGContextManagerImpl:getGroupsOfBGContext and countGroupsOfBGContext*


testFindContextMethods

public void testFindContextMethods()
BGContext2ResourceManager tests


testRemoveBGFromArea

public void testRemoveBGFromArea()