public class BusinessGroupManagerImplITCase extends OlatTestCase
构造器和说明 |
---|
BusinessGroupManagerImplITCase() |
限定符和类型 | 方法和说明 |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testAddToWaitingListAndFireEvent()
Add 3 idenities to the waiting list and check the position. before test Waitinglist=[]
after test Waitinglist=[wg2,wg3,wg4] |
void |
testCheckIfNamesExistsInContext() |
void |
testCreateAndPersistBuddyGroup()
Test existence of BuddyGroups inserted in the setUp phase................ this test rather tests the findXXX methods............................... so if the setup
was ok, and this test also fulfilled, then it means that createAndPersistBuddyGroup works, and also the findXXX methods.
|
void |
testDeleteBuddyGroup()
test if removing a BuddyGroup really deletes everything it should.
|
void |
testDeleteBusinessGroupWithoutWaitingGroup() |
void |
testDeleteBusinessGroupWithWaitingGroup() |
void |
testEnableDisableAndCheckForTool()
checks if tools can be enabled disabled or checked against being enabled.
|
void |
testMoveIdenityFromWaitingListToParticipant()
Move identity 4 (wg4) from the waiting list to participant list. before test Waitinglist=[wg2,wg4]
after test Waitinglist=[wg2] participant-list=[wg4] |
void |
testMoveRegisteredIdentityFromWaitingToParticipant() |
void |
testRemoveFromWaitingListAndFireEvent()
Remove identity 2 (wg3) from the waiting list and check the position of identity 2. before test Waitinglist=[wg2,wg3,wg4]
after test Waitinglist=[wg2,wg4] |
printBanner
public void setUp() throws java.lang.Exception
java.lang.Exception
TestCase.setUp()
public void testCheckIfNamesExistsInContext() throws java.lang.Exception
java.lang.Exception
public void testCreateAndPersistBuddyGroup() throws java.lang.Exception
java.lang.Exception
public void testEnableDisableAndCheckForTool() throws java.lang.Exception
java.lang.Exception
public void testDeleteBuddyGroup() throws java.lang.Exception
java.lang.Exception
public void testAddToWaitingListAndFireEvent() throws java.lang.Exception
java.lang.Exception
public void testRemoveFromWaitingListAndFireEvent() throws java.lang.Exception
java.lang.Exception
public void testMoveIdenityFromWaitingListToParticipant() throws java.lang.Exception
java.lang.Exception
public void testMoveRegisteredIdentityFromWaitingToParticipant() throws java.lang.Exception
java.lang.Exception
public void testDeleteBusinessGroupWithWaitingGroup()
public void testDeleteBusinessGroupWithoutWaitingGroup()
public void tearDown() throws java.lang.Exception
java.lang.Exception
TestCase.tearDown()