|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--com.arsdigita.apm.test.SpecificationTest
Test cases for the APM Specification.
| Field Summary | |
static java.lang.String |
cvsId
|
| Constructor Summary | |
SpecificationTest(java.lang.String name)
|
|
| Method Summary | |
void |
setUp()
Setup basic file resources. |
void |
tearDown()
Close the file resources already opened. |
void |
testEasySpec()
Construct known correct and incorrect APM specifications and see if the system acts correctly. |
void |
testInvalidSpec()
This document is well formed, but is not valid according the DTD. |
void |
testNotWellFormedSpec()
The sepcfication file tested here is not well-formed. |
void |
testValidSpec()
This method reads in a valid specification. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String cvsId
| Constructor Detail |
public SpecificationTest(java.lang.String name)
| Method Detail |
public void setUp()
setUp in class junit.framework.TestCasepublic void testEasySpec()
public void testValidSpec()
public void testNotWellFormedSpec()
public void testInvalidSpec()
public void tearDown()
tearDown in class junit.framework.TestCase
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||