void testLineSeparatorCharacter() throws IOException { try { super.testLineSeparatorCharacter(); fail("Should trigger once fixed. {@since JDK 1.4RC1}"); } catch (AssertionFailedError e){ } } public void testStandaloneCR() throws IOException { try { super.testStandaloneCR(); fail("Should trigger once fixed. {@since JDK 1.4RC1}"); } catch (AssertionFailedError e){ }
void testLineSeparatorCharacter() throws IOException { try { super.testLineSeparatorCharacter(); fail("Should trigger once fixed. {@since JDK 1.4RC1}"); } catch (AssertionFailedError e){ } } public void testStandaloneCR() throws IOException { try { super.testStandaloneCR(); fail("Should trigger once fixed. {@since JDK 1.4RC1}"); } catch (AssertionFailedError e){ }
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/regexp/Jdk14RegexpMatcherTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/util/regexp/Jdk14RegexpRegexpTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void testLineSeparatorCharacter() throws IOException {
1
void testLineSeparatorCharacter() throws IOException {
2
        try {
2
        try {
3
            super.testLineSeparatorCharacter();
3
            super.testLineSeparatorCharacter();
4
            fail("Should trigger once fixed. {@since JDK 1.4RC1}");
4
            fail("Should trigger once fixed. {@since JDK 1.4RC1}");
5
        } catch (AssertionFailedError e){
5
        } catch (AssertionFailedError e){
6
        }
6
        }
7
    }
7
    }
8
    public void testStandaloneCR() throws IOException {
8
    public void testStandaloneCR() throws IOException {
9
        try {
9
        try {
10
            super.testStandaloneCR();
10
            super.testStandaloneCR();
11
            fail("Should trigger once fixed. {@since JDK 1.4RC1}");
11
            fail("Should trigger once fixed. {@since JDK 1.4RC1}");
12
        } catch (AssertionFailedError e){
12
        } catch (AssertionFailedError e){
13
        }
13
        }
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