|
||||||||||
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.TestIChatMessage
public class TestIChatMessage
Test case for IChatMessage
Constructor Summary | |
---|---|
TestIChatMessage()
|
Method Summary | |
---|---|
void |
testAsByteArray()
Tests bytes array conversion |
void |
testAsByteArrayParameterless()
Tests bytes array conversion |
void |
testEquals()
Tests equals funtion |
void |
testGetCmd()
Tests command getter |
void |
testGetParameter()
|
void |
testGetParams()
Tests parameters getter |
void |
testGetParamsNull()
Checks that the parameters getter returns empty array when null parameters array is given |
void |
testGetSender()
Tests sender getter |
void |
testGetSize()
Tests getSize funtion |
void |
testHashCode()
Tests hashCode() function |
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 TestIChatMessage()
Method Detail |
---|
public void testGetCmd()
public void testGetSender()
public void testGetParams()
public void testGetParameter()
public void testGetParamsNull()
public void testAsByteArray()
public void testAsByteArrayParameterless()
public void testGetSize()
public void testEquals() throws java.lang.NumberFormatException, EnumerationValueNotFoundException
EnumerationValueNotFoundException
java.lang.NumberFormatException
public void testHashCode() throws java.lang.NumberFormatException, EnumerationValueNotFoundException
EnumerationValueNotFoundException
java.lang.NumberFormatException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |