private final static String TASKDEFS_DIR = "src/etc/testcases/taskdefs/optional/";
/**
* Constructor
*
* @param name testname
*/
public XmlValidateCatalogTest(String name) {
super(name);
}
/**
* The JUnit setup method
*/
public void setUp() {
configureProject(TASKDEFS_DIR + "xmlvalidate.xml");
private final static String TASKDEFS_DIR = "src/etc/testcases/taskdefs/optional/";
/**
* Constructor
*
* @param name testname
*/
public XsltTest(String name) {
super(name);
}
/**
* The JUnit setup method
*/
public void setUp() {
configureProject(TASKDEFS_DIR + "xslt.xml");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/XmlValidateCatalogTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/XsltTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | private final static String TASKDEFS_DIR = "src/etc/testcases/taskdefs/optional/";↵ | | 1 | private final static String TASKDEFS_DIR = "src/etc/testcases/taskdefs/optional/";↵
|
|
|
2 | /**↵ | | 2 | /**↵
|
3 | * Constructor↵ | | 3 | * Constructor↵
|
4 | *↵ | | 4 | *↵
|
5 | * @param name testname↵ | | 5 | * @param name testname↵
|
6 | */↵ | | 6 | */↵
|
7 | public XmlValidateCatalogTest(String name) {↵ | | 7 | public XsltTest(String name) {↵
|
8 | super(name);↵ | | 8 | super(name);↵
|
9 | }↵ | | 9 | }↵
|
|
|
10 | /**↵ | | 10 | /**↵
|
11 | * The JUnit setup method↵ | | 11 | * The JUnit setup method↵
|
12 | */↵ | | 12 | */↵
|
13 | public void setUp() {↵ | | 13 | public void setUp() {↵
|
14 | configureProject(TASKDEFS_DIR + "xmlvalidate.xml"); | | 14 | configureProject(TASKDEFS_DIR + "xslt.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 |