void testRecreateZipfilesetWithUpdateAdditionalFiles() { testRecreate("test4", "testRecreateZipfilesetWithUpdateAdditionalFiles"); } public void testRecreateZipfilesetWithoutUpdateNewerFile() { testRecreate("testRecreateNewerFileSetup", "testRecreateZipfilesetWithoutUpdateNewerFile"); } public void testRecreateZipfilesetWithUpdateNewerFile() { testRecreate("testRecreateNewerFileSetup", "testRecreateZipfilesetWithUpdateNewerFile");
void testAttributeDescription() { expectLog( "attribute.description", "description is hello world"); } public void testOverrideDefault() { expectLog( "override.default", "value is new"); } public void testImplicit() { expectLog( "implicit", "Before implicitIn implicitAfter implicit");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/JarTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/MacroDefTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testRecreateZipfilesetWithUpdateAdditionalFiles() {
1
void test
2
        testRecreate("test4",
3
         
2
AttributeDescription() {
3
        expectLog(
4
            "attribute.description",
4
            "testRecreateZipfilesetWithUpdateAdditionalFiles");
5
            "description is hello world");
5
    }
6
    }
6
    public void testRecreateZipfilesetWithoutUpdateNewerFile() {
7
    public void test
7
        testRecreate("testRecreateNewerFileSetup",
8
                     "testRecreateZipfilesetWithoutUpdateNewerFile
8
OverrideDefault() {
9
        expectLog(
10
            "override.default",
9
");
11
            "value is new");
10
    }
12
    }
11
    public void testRecreateZipfilesetWithUpdateNewerFile() {
13
    public void test
12
        testRecreate("testRecreateNewerFileSetup",
13
                     "testRecreateZipfilesetWithUpdateNewerFile
14
Implicit() {
15
        expectLog(
14
");
16
            "implicit", "Before implicitIn implicitAfter implicit");
15
    
17
    
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0