void testFilesetAndJar() { executeTarget("testFilesetAndJar"); } public void testFilesetAndSignedJar() { expectBuildExceptionContaining("testFilesetAndSignedJar", "incompatible attributes", SignJar.ERROR_SIGNEDJAR_AND_PATHS); } public void testPath() { executeTarget("testPath"); } public void testPathAndJar() { executeTarget("testPathAndJar");
void testPathAndJar() { executeTarget("testPathAndJar"); } public void testPathAndSignedJar() { expectBuildExceptionContaining("testPathAndSignedJar", "incompatible attributes", SignJar.ERROR_SIGNEDJAR_AND_PATHS); } public void testSignedJar() { executeTarget("testSignedJar"); } public void testDestDir() { executeTarget("testDestDir");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/SignJarTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testFilesetAndJar() {
1
void testPathAndJar() {
2
        executeTarget("testFilesetAndJar");
2
        executeTarget("testPathAndJar");
3
    }
3
    }
4
    public void testFilesetAndSignedJar() {
4
    public void testPathAndSignedJar() {
5
        expectBuildExceptionContaining("testFilesetAndSignedJar",
5
        expectBuildExceptionContaining("testPathAndSignedJar",
6
                "incompatible attributes",
6
                "incompatible attributes",
7
                SignJar.ERROR_SIGNEDJAR_AND_PATHS);
7
                SignJar.ERROR_SIGNEDJAR_AND_PATHS);
8
    }
8
    }
9
    public void testPath() {
9
    public void testSignedJar() {
10
        executeTarget("testPath");
10
        executeTarget("testSignedJar");
11
    }
11
    }
12
    public void testPathAndJar() {
12
    public void testDestDir() {
13
        executeTarget("testPathAndJar");
13
        executeTarget("testDestDir");
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