void testTestTarTask() throws java.io.IOException { testLogoExtraction("testTarTask"); } public void testTestGzipTarTask() throws java.io.IOException { testLogoExtraction("testGzipTarTask"); } public void testTestBzip2TarTask() throws java.io.IOException { testLogoExtraction("testBzip2TarTask"); } public void testSrcDirTest() { expectBuildException("srcDirTest", "Src cannot be a directory.");
void testAddCondition() { executeTarget("addcondition"); } public void testAddFilter() { executeTarget("addfilter"); } public void testAddSelector() { executeTarget("addselector"); } public void testNestedA() { expectLogContaining("nested.a", "add A called");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/UntarTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AddTypeTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testTestTarTask() throws java.io.IOException {
1
void testAddCondition() {
2
        testLogoExtraction("testTarTask");
2
        
3
    }
4
    public void testTestGzipTarTask() throws java.io.IOException {
5
        testLogoExtraction("testGzipTarTask");
6
    }
7
    public void testTestBzip2TarTask() throws java.io.IOException {
8
        testLogoExtraction("testBzip2TarTask
3
executeTarget("addcondition");
4
    }
5
    public void testAddFilter() {
6
        executeTarget("addfilter");
7
    }
8
    public void testAddSelector() {
9
");
9
        executeTarget("addselector");
10
    }
10
    }
11
    public void testSrcDirTest() {
11
    public void testNestedA() {
12
        expectBuildException("srcDirTest", "Src cannot be a directory.");
12
        expectLogContaining("nested.a", "add A called");
13
    
13
    
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