Search in sources :

Example 1 with PathAnnotateClass

use of coreVisitors.PathAnnotateClass in project L42 by ElvisResearchGroup.

the class TestCloneWithPath method test.

@Test
public void test() {
    TestHelper.configureForTest();
    ClassB cb1 = getClassB("cb1", _cb1);
    ClassB expected = getClassB("expected", _expected);
    ClassB result = (ClassB) cb1.accept(new PathAnnotateClass());
    TestHelper.assertEqualExp(expected, result);
}
Also used : PathAnnotateClass(coreVisitors.PathAnnotateClass) TestHelper.getClassB(helpers.TestHelper.getClassB) ClassB(ast.ExpCore.ClassB) Test(org.junit.Test)

Aggregations

ClassB (ast.ExpCore.ClassB)1 PathAnnotateClass (coreVisitors.PathAnnotateClass)1 TestHelper.getClassB (helpers.TestHelper.getClassB)1 Test (org.junit.Test)1