|
||||||||
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 | +--unittests.org.acmsl.contractchecker.ContractCheckerDocletTest
Tests ContractCheckerDocletTest class.
ContractCheckerDoclet
Constructor Summary | |
ContractCheckerDocletTest(java.lang.String name)
Creates a ContractCheckerDocletTest with given name. |
Method Summary | |
ContractCheckerDoclet |
createInstance()
Creates an instance of the tested class. |
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
Performs any required steps before each test. |
protected void |
tearDown()
Performs any required steps after each test. |
void |
testOptionLength()
Tests ContractCheckerDocletTestoptionLength() |
void |
testStart()
Tests ContractCheckerDocletTeststart() |
void |
testValidOptions()
Tests ContractCheckerDocletTestvalidOptions() |
void |
testVault()
JUnitDoclet moves marker to this method, if there is not match for them in the regenerated code and if the marker is not empty. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 ContractCheckerDocletTest(java.lang.String name)
name
- such name.Method Detail |
public ContractCheckerDoclet createInstance() throws java.lang.Exception
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
- if an unexpected situation occurs.protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
- if an unexpected situation occurs.public void testStart() throws java.lang.Exception
java.lang.Exception
- if an unexpected situation occurs.org.acmsl.contractchecker.ContractCheckerDoclet#start(RootDoc)
public void testOptionLength() throws java.lang.Exception
java.lang.Exception
- if an unexpected situation occurs.org.acmsl.contractchecker.ContractCheckerDoclet#optionLength(java.lang.String)
public void testValidOptions() throws java.lang.Exception
java.lang.Exception
- if an unexpected situation occurs.org.acmsl.contractchecker.ContractCheckerDoclet#validOptions(java.lang.String[][], DocErrorReporter)
public void testVault() throws java.lang.Exception
java.lang.Exception
- if an unexpected situation occurs.public static void main(java.lang.String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |