private final static String TASKDEFS_DIR = "src/etc/testcases/taskdefs/optional/";
/**
* Constructor
*
* @param name testname
*/
public DotnetTest(String name) {
super(name);
}
/**
* The JUnit setup method
*/
public void setUp() {
configureProject(TASKDEFS_DIR + "dotnet.xml")
private final static String TASKDEFS_DIR =
"src/etc/testcases/taskdefs/optional/";
/**
* Constructor
*
* @param name testname
*/
public SchemaValidateTest(String name) {
super(name);
}
/**
* The JUnit setup method
*/
public void setUp() {
configureProject(TASKDEFS_DIR + "schemavalidate.xml")
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/DotnetTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/SchemaValidateTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | private final static String TASKDEFS_DIR =↵ | | 1 | private final static String TASKDEFS_DIR =↵
|
2 | "src/etc/testcases/taskdefs/optional/";↵ | | 2 | "src/etc/testcases/taskdefs/optional/";↵
|
|
|
3 | /**↵ | | 3 | /**↵
|
4 | * Constructor↵ | | 4 | * Constructor↵
|
5 | *↵ | | 5 | *↵
|
6 | * @param name testname↵ | | 6 | * @param name testname↵
|
7 | */↵ | | 7 | */↵
|
8 | public DotnetTest(String name) {↵ | | 8 | public SchemaValidateTest(String name) {↵
|
9 | super(name);↵ | | 9 | super(name);↵
|
10 | }↵ | | 10 | }↵
|
|
|
11 | /**↵ | | 11 | /**↵
|
12 | * The JUnit setup method↵ | | 12 | * The JUnit setup method↵
|
13 | */↵ | | 13 | */↵
|
14 | public void setUp() {↵ | | 14 | public void setUp() {↵
|
15 | configureProject(TASKDEFS_DIR + "dotnet.xml") | | 15 | configureProject(TASKDEFS_DIR + "schemavalidate.xml")
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |