void testLocalWsdlServer() throws Exception { executeTarget("testLocalWsdlServer"); } /** * A unit test for JUnit */ public void testInvalidExtraOps() throws Exception { expectBuildExceptionContaining("testInvalidExtraOps", "expected failure", WSDL_FAILED); } /** * A unit test for JUnit */ public void testLocalWsdlVB() throws Exception { executeTarget("testLocalWsdlVB"); } /** * A unit test for JUnit */ public void testLocalWsdlServerVB() throws Exception { executeTarget("testLocalWsdlServerVB");
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/optional/WsdlToDotnetTest.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 testLocalWsdlServer() throws Exception {
1
void test
2
        executeTarget("testLocalWsdlServer");
3
    }
4
     /**
5
     * A unit test for JUnit
6
     */
7
    public void testInvalidExtraOps() throws Exception
2
PathAndJar() {
3
        executeTarget("testPathAndJar");
4
    }
8
 {
5
    public void testPathAndSignedJar() {
9
        expectBuildExceptionContaining("testInvalidExtraOps",
6
        expectBuildExceptionContaining("testPathAndSignedJar",
10
                "expected failure",
7
                "
11
                WSDL_FAILED);
12
    }
13
    /**
14
     * A unit test for JUnit
15
     */
16
    public void testLocalWsdlVB() throws Exception {
17
        executeTarget("testLocalWsdlVB");
18
    }
19
    /**
20
     * A unit test for JUnit
21
     */
22
    public void testLocalWsdlServerVB() throws Exception
8
incompatible attributes",
9
                SignJar.ERROR_SIGNEDJAR_AND_PATHS);
10
    }
11
    public void testSignedJar() {
12
        executeTarget("testSignedJar");
13
    }
23
 {
14
    public void testDestDir() {
24
        executeTarget("testLocalWsdlServerVB");
15
        executeTarget("testDestDir");
25
    
16
    
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