|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--de.tuberlin.cs.cis.ocl.check.test.TestContextChecker
Testcase testing the class de.tuberlin.cs.cis.eve.ocl.check.ContextChecker. The tests are focused on the context check without typechecking.
Constructor Summary | |
TestContextChecker(java.lang.String arg0)
Constructs the test. |
Method Summary | |
static void |
main(java.lang.String[] args)
Starts the test. |
void |
testCorrectFiles()
Tests files that are correctly defined. |
void |
testFails()
Tests files containing constraints that are malformed |
Methods inherited from class junit.framework.TestCase |
countTestCases, getName, name, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestContextChecker(java.lang.String arg0)
arg0
- the name of the test.Method Detail |
public static void main(java.lang.String[] args)
args
- unused.public void testFails() throws java.lang.Exception
java.lang.Exception
- when the test fails.public void testCorrectFiles() throws java.lang.Exception
java.lang.Exception
- when the test fails.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |