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 testMagicPropertyIsEmptyString() throws Exception { executeTarget("testMagicPropertyIsEmptyString"); } public void NotestFailingAdapter() throws Exception { expectBuildExceptionContaining("testFailingAdapter", "expected failures to propagate", Rmic.ERROR_RMIC_FAILED); } /** * test that version 1.1 stubs are good * @throws Exception */ public void testVersion11() throws Exception { executeTarget("testVersion11"); } /** * test that version 1.2 stubs are good * * @throws Exception */ public void testVersion12() throws Exception { executeTarget("testVersion12"); }
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/RmicAdvancedTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testLocalWsdlServer() throws Exception {
1
void testMagicPropertyIsEmptyString() throws Exception {
2
        executeTarget("testLocalWsdlServer");
2
        executeTarget("test
3
    }
4
     /**
5
     * A unit test for JUnit
6
     */
3
MagicPropertyIsEmptyString");
4
    }
7
    public void testInvalidExtraOps() throws Exception {
5
    public void NotestFailingAdapter() throws Exception {
8
        expectBuildExceptionContaining("testInvalidExtraOps",
6
        expectBuildExceptionContaining("testFailingAdapter",
9
                "expected failure",
7
                "expected failures to propagate",
10
                WSDL_FAILED);
8
                Rmic.ERROR_RMIC_FAILED);
11
    }
9
    }
12
    /**
10
    /**
13
     * A unit test for JUnit
11
     * test that version 1.1 stubs are good
12
     * @throws Exception
14
     */
13
     */
15
    public void testLocalWsdlVB() throws Exception {
14
    public void testVersion11() throws Exception {
16
        executeTarget("testLocalWsdlVB");
15
        executeTarget("testVersion11");
17
    }
16
    }
18
    /**
17
    /**
19
     * A unit test for JUnit
18
     * test that version 1.2 stubs are good
19
     *
20
     * @throws Exception
20
     */
21
     */
21
    public void testLocalWsdlServerVB() throws Exception {
22
    public void testVersion12() throws Exception {
22
        executeTarget("testLocalWsdlServerVB");
23
        executeTarget("testVersion12");
23
    }
24
    }
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