|
||||||||||
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.AbstractStateTest
public abstract class AbstractStateTest
Base class for testing the handling of the PrimitiveState
and
ArrayState
. Subclasses should set the _bc
member in
their TestCase.setUp()
method.
Field Summary | |
---|---|
protected serp.bytecode.BCClass |
_bc
|
protected serp.bytecode.Project |
_project
|
Constructor Summary | |
---|---|
AbstractStateTest(String test)
|
Method Summary | |
---|---|
void |
testAttributes()
Test operations on attributes. |
void |
testBasics()
Test the basics -- magic number, etc. |
abstract void |
testComponent()
Test operations on the component type. |
void |
testFields()
Test operations on fields. |
void |
testInterfaces()
Test operations on interfaces. |
void |
testMethods()
Test operations on methods. |
abstract void |
testSuperclass()
Test operations on the superclass. |
abstract void |
testType()
Test the name and type operations. |
void |
testWrite()
Tests that these types cannot be written. |
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, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected serp.bytecode.Project _project
protected serp.bytecode.BCClass _bc
Constructor Detail |
---|
public AbstractStateTest(String test)
Method Detail |
---|
public abstract void testType()
public abstract void testSuperclass()
public abstract void testComponent()
public void testBasics()
public void testInterfaces()
public void testFields()
public void testMethods()
public void testAttributes()
public void testWrite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |