edu.rice.cs.javalanglevels
Class FullJavaVisitor.FullJavaVisitorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.javalanglevels.FullJavaVisitor.FullJavaVisitorTest
All Implemented Interfaces:
Test
Enclosing class:
FullJavaVisitor

public static class FullJavaVisitor.FullJavaVisitorTest
extends TestCase

Test the methods defined in the enclosing class. There is a test method corresponding to almost every method in the above class. TODO: WHICH IS WRONG! Many of the methods in FullJavaVisitor are invoked at the level of ClassBodyFullJavaVisitor and BodyBodyFullJavaVisitor. Moreover, they rely on overrides that are present only at that subclass level. Move the tests that relate to subclasses to the appropriate subclasses!


Constructor Summary
FullJavaVisitor.FullJavaVisitorTest()
           
FullJavaVisitor.FullJavaVisitorTest(String name)
           
 
Method Summary
 void initTopLevel()
           
 void setUp()
           
 void test_NotAllowed()
           
 void testCreateEquals()
           
 void testCreateHashCode()
           
 void testCreateMethodData()
           
 void testCreateToString()
           
 void testDummy()
           
 void testForArrayType()
           
 void testForClassDef()
           
 void testForClassDefDoFirst()
           
 void testForFormalParameterDoFirst()
           
 void testForInterfaceDef()
           
 void testForModifiersAndVisibilityDoFirst()
           
 void testForPrimitiveTypeDoFirst()
           
 void testHandleInnerClassDef()
           
 void xtestComplexAnonymousClassInstantiationHelper()
           
 void xtestForVariableDeclaration()
           
 void xtestHandleInnerInterfaceDef()
           
 void xtestSimpleAnonymousClassInstantiationHelper()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FullJavaVisitor.FullJavaVisitorTest

public FullJavaVisitor.FullJavaVisitorTest()

FullJavaVisitor.FullJavaVisitorTest

public FullJavaVisitor.FullJavaVisitorTest(String name)
Method Detail

setUp

public void setUp()
Overrides:
setUp in class TestCase

initTopLevel

public void initTopLevel()

testForModifiersAndVisibilityDoFirst

public void testForModifiersAndVisibilityDoFirst()

testForClassDefDoFirst

public void testForClassDefDoFirst()

testForFormalParameterDoFirst

public void testForFormalParameterDoFirst()

test_NotAllowed

public void test_NotAllowed()

testForPrimitiveTypeDoFirst

public void testForPrimitiveTypeDoFirst()

testForArrayType

public void testForArrayType()

testCreateToString

public void testCreateToString()

testCreateHashCode

public void testCreateHashCode()

testCreateEquals

public void testCreateEquals()

testForClassDef

public void testForClassDef()

testForInterfaceDef

public void testForInterfaceDef()

testHandleInnerClassDef

public void testHandleInnerClassDef()

xtestHandleInnerInterfaceDef

public void xtestHandleInnerInterfaceDef()

testCreateMethodData

public void testCreateMethodData()

xtestSimpleAnonymousClassInstantiationHelper

public void xtestSimpleAnonymousClassInstantiationHelper()

xtestComplexAnonymousClassInstantiationHelper

public void xtestComplexAnonymousClassInstantiationHelper()

xtestForVariableDeclaration

public void xtestForVariableDeclaration()

testDummy

public void testDummy()