public void startTest(Test t) {} public void endTest(Test test) {} public void addFailure(Test test, Throwable t) { } public void addFailure(Test test, AssertionFailedError t) { } public void addError(Test test, Throwable t) { error = t
public void startTest(Test t) { } /** * Empty */ public void endTest(Test test) { } /** * Empty */ public void addFailure(Test test, Throwable t) { } /** * Empty */ public void addFailure(Test test, AssertionFailedError t) { } /** * Empty */ public void addError(Test test, Throwable t)
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunnerTest.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/TestFormatter.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void startTest(Test t) {
1
public void startTest(Test t) {
2
}
2
    }
3
    
3
    /**
4
     * Empty
5
     */
4
    public void endTest(Test test) {
6
    public void endTest(Test test) {
5
}
7
    }
6
    
8
    /**
9
     * Empty
10
     */
7
    public void addFailure(Test test, Throwable t) {
11
    public void addFailure(Test test, Throwable t) {
8
 }
12
    }
9
    
13
    /**
14
     * Empty
15
     */
10
    public void addFailure(Test test, AssertionFailedError t) {
16
    public void addFailure(Test test, AssertionFailedError t) {
11
 }
17
    }
12
    
18
    /**
19
     * Empty
20
     */
13
    public void addError(Test test, Throwable t) {
21
    public void addError(Test test, Throwable t) 
14
            error = t
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