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 testFilesmatchDifferentEol() { executeTarget("filesmatch-different-eol"); } public void testFilesmatchSameEol() { executeTarget("filesmatch-same-eol"); } public void testFilesmatchNeitherExist() { executeTarget("filesmatch-neitherexist"); } public void testContains() { expectPropertySet("contains","contains");
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/taskdefs/ConditionTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testTestTarTask() throws java.io.IOException {
1
void test
2
        testLogoExtraction("testTarTask");
3
    }
4
    public void testTestGzipTarTask() throws java.io.IOException {
5
        testLogoExtraction("testGzipTarTask
2
FilesmatchDifferentEol() {
3
        executeTarget("filesmatch-different-eol");
4
    }
5
    public void testFilesmatchSameEol() {
6
");
6
        executeTarget("filesmatch-same-eol");
7
    }
7
    }
8
    public void testTestBzip2TarTask() throws java.io.IOException {
8
    public void test
9
        testLogoExtraction("testBzip2TarTask
9
FilesmatchNeitherExist() {
10
");
10
        executeTarget("filesmatch-neitherexist");
11
    }
11
    }
12
    public void testSrcDirTest() {
12
    public void testContains() {
13
        expectBuildException("srcDirTest", "Src cannot be a directory.");
13
        expectPropertySet("contains","contains");
14
    
14
    
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