|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.web_visage.ichat.TestIChatUserList
public class TestIChatUserList
Test suite for the IChatUserList
class.
Constructor Summary | |
---|---|
TestIChatUserList()
|
Method Summary | |
---|---|
void |
testAddUser()
Tests adding a new user to the list. |
void |
testContains()
Tests contains method. |
void |
testGetUser()
Tests getting the user information assotiated with the sender. |
void |
testGetUserEmpty()
Tests getting the user information for empty list. |
void |
testGetUsers()
Tests getting users from the list. |
void |
testIsActive()
Tests isActive() method. |
void |
testIsActiveEmpty()
Tests isActive() method behavior for a non-existing user. |
void |
testRemoveAll()
Tests removing of all users. |
void |
testRemoveInactive()
Tests removing of the inactive users. |
void |
testRemoveUser()
Tests removing of a user. |
void |
testSize()
Tests size() method. |
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 |
---|
public TestIChatUserList()
Method Detail |
---|
public void testAddUser()
public void testGetUsers()
public void testGetUser()
public void testGetUserEmpty()
public void testContains()
public void testRemoveAll()
public void testRemoveInactive()
public void testRemoveUser()
public void testSize()
public void testIsActiveEmpty()
public void testIsActive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |