|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.bcel.AbstractTestCase
org.apache.bcel.EnclosingMethodAttributeTestCase
public class EnclosingMethodAttributeTestCase
| Constructor Summary | |
|---|---|
EnclosingMethodAttributeTestCase()
|
|
| Method Summary | |
|---|---|
void |
testAttributeSerializtion()
Check that we can save and load the attribute correctly. |
void |
testCheckClassLevelNamedInnerClass()
Verify for an inner class declared at the type level that the EnclosingMethod attribute is set correctly (i.e. |
void |
testCheckMethodLevelNamedInnerClass()
Verify for an inner class declared inside the 'main' method that the enclosing method attribute is set correctly. |
| Methods inherited from class org.apache.bcel.AbstractTestCase |
|---|
createFruitAnnotationEntry, createRepos, createTestdataFile, dumpAnnotationEntries, dumpAnnotationEntries, dumpAttributes, findAttribute, findAttribute, getMethod, getTestClass, wipe, wipe |
| 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, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnclosingMethodAttributeTestCase()
| Method Detail |
|---|
public void testCheckMethodLevelNamedInnerClass()
throws ClassNotFoundException
ClassNotFoundException
public void testCheckClassLevelNamedInnerClass()
throws ClassNotFoundException
ClassNotFoundException
public void testAttributeSerializtion()
throws ClassNotFoundException,
IOException
ClassNotFoundException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||