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");
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");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/RmicAdvancedTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/WsdlToDotnetTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testMagicPropertyIsEmptyString() throws Exception {
1
void testLocalWsdlServer() throws Exception {
2
        executeTarget("testMagicPropertyIsEmptyString");
2
        executeTarget("test
3
    }
3
LocalWsdlServer");
4
    }
5
     /**
6
     * A unit test for JUnit
7
     */
4
    public void NotestFailingAdapter() throws Exception {
8
    public void testInvalidExtraOps() throws Exception {
5
        expectBuildExceptionContaining("testFailingAdapter",
9
        expectBuildExceptionContaining("testInvalidExtraOps",
6
                "expected failures to propagate",
10
                "expected failure",
7
                Rmic.ERROR_RMIC_FAILED);
11
                WSDL_FAILED);
8
    }
12
    }
9
    /**
13
    /**
10
     * test that version 1.1 stubs are good
14
     * 
11
     * @throws Exception
15
A unit test for JUnit
12
     */
16
     */
13
    public void testVersion11() throws Exception {
17
    public void testLocalWsdlVB() throws Exception {
14
        executeTarget("testVersion11");
18
        executeTarget("testLocalWsdlVB");
15
    }
19
    }
16
    /**
20
    /**
17
     * test that version 1.2 stubs are good
21
     * 
18
     *
19
     * @throws Exception
22
A unit test for JUnit
20
     */
23
     */
21
    public void testVersion12() throws Exception {
24
    public void testLocalWsdlServerVB() throws Exception {
22
        executeTarget("testVersion12");
25
        executeTarget("testLocalWsdlServerVB");
23
    
26
    
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