|
||||||||||
| 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
|
+--javautils.ClassesTest
| Constructor Summary | |
ClassesTest()
|
|
| Method Summary | |
void |
testAsObjectType()
Tests that the Classes.asObjectType(java.lang.Class)-method recognizes the
primitive types. |
void |
testClassForName()
Tests that the Class.forName(java.lang.String)-method does not
recognize the primitive type boolean. |
void |
testForName()
Tests that the Classes.forName(java.lang.String)-method also recognizes the
primitives types. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ClassesTest()
| Method Detail |
public void testClassForName()
Tests that the Class.forName(java.lang.String)-method does not
recognize the primitive type boolean. The intention is
to make sure that the complexity of the Classes.forName(java.lang.String)-method is justified.
public void testForName()
Tests that the Classes.forName(java.lang.String)-method also recognizes the
primitives types.
public void testAsObjectType()
Tests that the Classes.asObjectType(java.lang.Class)-method recognizes the
primitive types.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||