|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
serp.bytecode.TestNameCache
public class TestNameCache
Tests the NameCache
utility type.
Constructor Summary | |
---|---|
TestNameCache(String test)
|
Method Summary | |
---|---|
static void |
main(String[] args)
|
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testArrayExternalForm()
Tests that array class names are correctly converted to external form. |
void |
testArrayInternalForm()
Tests that array class names are correctly converted to internal form. |
void |
testComponentTypes()
Test NameCache#getComponentTypeName . |
void |
testDescriptorParamNames()
Test that param types are extracted from method descriptors. |
void |
testDescriptorReturnName()
Test that return types are extracted from method descriptors. |
void |
testDescriptors()
Tests that method descriptors are correctly formed. |
void |
testExternalForm()
Tests that class names are correctly converted to external form. |
void |
testInternalForm()
Tests that class names are correctly converted to internal form. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestNameCache(String test)
Method Detail |
---|
public void setUp()
setUp
in class junit.framework.TestCase
public void testInternalForm()
public void testArrayInternalForm()
public void testExternalForm()
public void testArrayExternalForm()
public void testDescriptors()
public void testDescriptorReturnName()
public void testDescriptorParamNames()
public void testComponentTypes()
NameCache#getComponentTypeName
.
public static junit.framework.Test suite()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |