|
mjc | ||||||||||
| 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.multijava.util.testing.TestCase
org.multijava.mjc.TestCContext
Unit tests for CContext
| Field Summary | |
protected CClass |
classSig
|
protected CClassContextType |
clazz
|
protected CCompilationUnitContextType |
compUnit
|
protected CExpressionContextType |
expr
|
protected CLoopContext |
loop
|
protected CFlowControlContextType |
loopBody
|
protected CMethodContextType |
method
|
protected CFlowControlContextType |
methodBlock
|
protected CMethod |
methodSig
|
| Fields inherited from class org.multijava.util.testing.TestCase |
NEWLINE |
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
TestCContext(String name)
|
|
| Method Summary | |
void |
setUp()
|
void |
test_getCMethod_method1()
Should be able to call getCMethod on any well-formed context, retreiving the correct method signature if one exists or null otherwise. |
void |
test_isInLoop_method1()
|
| Methods inherited from class org.multijava.util.testing.TestCase |
assertDiff, assertEquals |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected CClass classSig
protected CMethod methodSig
protected CCompilationUnitContextType compUnit
protected CClassContextType clazz
protected CMethodContextType method
protected CFlowControlContextType methodBlock
protected CLoopContext loop
protected CFlowControlContextType loopBody
protected CExpressionContextType expr
| Constructor Detail |
public TestCContext(String name)
| Method Detail |
public void test_isInLoop_method1()
public void test_getCMethod_method1()
public void setUp()
setUp in class junit.framework.TestCase
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||