com.web_visage.ichat
Class TestIChatMessageFactory

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.web_visage.ichat.TestIChatMessageFactory
All Implemented Interfaces:
junit.framework.Test

public class TestIChatMessageFactory
extends junit.framework.TestCase

Tests suite for DefaultMessageFactory.

Author:
K.Baturytski

Constructor Summary
TestIChatMessageFactory()
           
 
Method Summary
 void testConnectToLineMessage()
          Tests connect to line message creation
 void testCreateAlertMessage()
          Tests alert message creation.
 void testCreateBoardMessage()
          Tests board message creation.
 void testCreateBroadcastMessage()
          Tests broadcast message cration.
 void testCreateConnectMessage()
          Tests connect message creation.
 void testCreateCreateLineMessage()
          Tests create line message creation.
 void testCreateDisconnectFromLineMessage()
          Tests disconnect from line message creation.
 void testCreateDisconnectMessage()
          Tests disconnect message.
 void testCreateForwardMessage()
          Tests forward message creation.
 void testCreateMeMessage()
          Tests me message creation.
 void testCreateMessage()
          Tests message creation.
 void testCreatePrivateMessage()
          Tests private message creation.
 void testCreatePublicMessage()
          Tests public message creation.
 void testCreateReceivedMessage()
          Tests received message creation.
 void testCreateRefreshLineMessage()
          Tests refresh line message.
 void testCreateRefreshMessage()
          Tests refresh message creation.
 void testCreateRenameMessage()
          Tests rename message creation.
 void testCreateStatusMessage()
          Tests status message creation.
 void testCreateStatusReqMessage()
          Tests status-req message creation.
 
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

TestIChatMessageFactory

public TestIChatMessageFactory()
Method Detail

testCreatePublicMessage

public void testCreatePublicMessage()
Tests public message creation.


testCreateBoardMessage

public void testCreateBoardMessage()
Tests board message creation.


testCreateBroadcastMessage

public void testCreateBroadcastMessage()
Tests broadcast message cration.


testCreateConnectMessage

public void testCreateConnectMessage()
Tests connect message creation.


testConnectToLineMessage

public void testConnectToLineMessage()
Tests connect to line message creation


testCreateCreateLineMessage

public void testCreateCreateLineMessage()
Tests create line message creation.


testCreateDisconnectFromLineMessage

public void testCreateDisconnectFromLineMessage()
Tests disconnect from line message creation.


testCreateDisconnectMessage

public void testCreateDisconnectMessage()
Tests disconnect message.


testCreateForwardMessage

public void testCreateForwardMessage()
Tests forward message creation.


testCreateMeMessage

public void testCreateMeMessage()
Tests me message creation.


testCreateMessage

public void testCreateMessage()
Tests message creation.


testCreatePrivateMessage

public void testCreatePrivateMessage()
Tests private message creation.


testCreateReceivedMessage

public void testCreateReceivedMessage()
Tests received message creation.


testCreateRefreshLineMessage

public void testCreateRefreshLineMessage()
Tests refresh line message.


testCreateRefreshMessage

public void testCreateRefreshMessage()
Tests refresh message creation.


testCreateRenameMessage

public void testCreateRenameMessage()
Tests rename message creation.


testCreateStatusMessage

public void testCreateStatusMessage()
Tests status message creation.


testCreateStatusReqMessage

public void testCreateStatusReqMessage()
Tests status-req message creation.


testCreateAlertMessage

public void testCreateAlertMessage()
Tests alert message creation.