void testFilesetPath() throws Exception { try { executeTarget("filesetPath"); } catch (BuildException e) { fail("A path can contain filesets: " + e); } } // PR 38370 public void testNestedFilesetPath() throws Exception { try { executeTarget("nestedFilesetPath"); } catch (BuildException e) { fail("A path can contain nested filesets: " + e); } } // PR 38370 public void testFilelistPath() throws Exception { try { executeTarget("filelistPath"); } catch (BuildException e) { fail("A path can contain filelists: " + e); }
void testNestedFilesetPath() throws Exception { try { executeTarget("nestedFilesetPath"); } catch (BuildException e) { fail("A path can contain nested filesets: " + e); } } // PR 38370 public void testFilelistPath() throws Exception { try { executeTarget("filelistPath"); } catch (BuildException e) { fail("A path can contain filelists: " + e); } } // PR 38370 public void testNestedFilelistPath() throws Exception { try { executeTarget("nestedFilelistPath"); } catch (BuildException e) { fail("A path can contain nested filelists: " + e); }
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/JavadocTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/JavadocTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testFilesetPath() throws Exception {
2
        try {
3
            executeTarget("filesetPath");
4
        } catch (BuildException e) {
5
            fail("A path can contain filesets: " + e);
6
        }
7
    }
8
    // PR 38370
9
    public void testNestedFilesetPath() throws Exception {
1
void testNestedFilesetPath() throws Exception {
10
        try {
2
        try {
11
            executeTarget("nestedFilesetPath");
3
            executeTarget("nestedFilesetPath");
12
        } catch (BuildException e) {
4
        } catch (BuildException e) {
13
            fail("A path can contain nested filesets: " + e);
5
            fail("A path can contain nested filesets: " + e);
14
        }
6
        }
15
    }
7
    }
16
    // PR 38370
8
    // PR 38370
17
    public void testFilelistPath() throws Exception {
9
    public void testFilelistPath() throws Exception {
18
        try {
10
        try {
19
            executeTarget("filelistPath");
11
            executeTarget("filelistPath");
20
        } catch (BuildException e) {
12
        } catch (BuildException e) {
21
            fail("A path can contain filelists: " + e);
13
            fail("A path can contain filelists: " + e);
22
        }
14
        }
23
    
15
    }
16
    // PR 38370
17
    public void testNestedFilelistPath() throws Exception {
18
        try {
19
            executeTarget("nestedFilelistPath");
20
        } catch (BuildException e) {
21
            fail("A path can contain nested filelists: " + e);
22
        }
23
    
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