void testFilesmatchDifferentOnemissing() { expectPropertyUnset("filesmatch-different-onemissing", "filesmatch-different-onemissing"); } public void testFilesmatchDifferentEol() { executeTarget("filesmatch-different-eol"); } public void testFilesmatchSameEol() { executeTarget("filesmatch-same-eol"); } public void testFilesmatchNeitherExist() { executeTarget("filesmatch-neitherexist"); }
void test5() { expectBuildException("test5", "dest invalid (or no http-server on local machine)"); } public void test6() { executeTarget("test6"); } public void testUseTimestamp() { executeTarget("testUseTimestamp"); } public void testUseTomorrow() { executeTarget("testUseTomorrow"); }
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConditionTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/GetTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testFilesmatchDifferentOnemissing() {
1
void test
2
        expectPropertyUnset("filesmatch-different-onemissing",
3
            "filesmatch-different-onemissing
2
5() {
4
");
3
        expectBuildException("test5", "dest invalid (or no http-server on local machine)");
5
    }
4
    }
6
    public void testFilesmatchDifferentEol() {
5
    public void test6() {
7
        executeTarget("filesmatch-different-eol");
6
        executeTarget("test6");
8
    }
7
    }
9
    public void testFilesmatchSameEol() {
8
    public void testUseTimestamp() {
10
        executeTarget("filesmatch-same-eol");
9
        executeTarget("testUseTimestamp");
11
    }
10
    }
12
    public void testFilesmatchNeitherExist() {
11
    public void testUseTomorrow() {
13
        executeTarget("filesmatch-neitherexist");
12
        executeTarget("testUseTomorrow");
14
    }
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