public final class ServerModelTest extends Object
Use this class to write your own unit tests for ServerModel
. You
can use the tests in ClientConnectionTest
as a guide.
ServerModel
,
ClientConnectionTest
Constructor and Description |
---|
ServerModelTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testCreateNewChannel() |
void |
testDeregisterSendsQuitWhereMember() |
void |
testInviteByOwnerFollowedByJoin() |
void |
testInviteOnlyPossibleByOwner() |
void |
testJoinChannelExistsNotMember() |
void |
testKickOneChannel() |
void |
testLeaveChannelExistsMember() |
void |
testMesgChannelExistsMember() |
void |
testNamesUnsupportedOperation() |
void |
testNickBroadcastsToChannelWhereMember() |
public void setUp()
public void testNickBroadcastsToChannelWhereMember()
public void testDeregisterSendsQuitWhereMember()
public void testCreateNewChannel()
public void testJoinChannelExistsNotMember()
public void testLeaveChannelExistsMember()
public void testMesgChannelExistsMember()
public void testKickOneChannel()
public void testNamesUnsupportedOperation()
public void testInviteByOwnerFollowedByJoin()
public void testInviteOnlyPossibleByOwner()