private class TaskdefForCopyTest extends BuildFileTest {
TaskdefForCopyTest(String name) {
super(name);
}
public void setUp() {
configureProject("src/etc/testcases/types/mapper.xml");
}
public void tearDown() {
executeTarget("cleanup");
}
public void test1() {
executeTarget("test1");
public class RegexpPatternMapperTest extends BuildFileTest {
public RegexpPatternMapperTest(String name) {
super(name);
}
public void setUp() {
configureProject("src/etc/testcases/types/mappers/regexpmapper.xml");
}
public void testIgnoreCase() {
executeTarget("ignore.case");
}
public void testHandleDirSep() {
executeTarget("handle.dirsep");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/MapperTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/mappers/RegexpPatternMapperTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | private class TaskdefForCopyTest extends BuildFileTest {↵ | | 1 | public class RegexpPatternMapperTest extends BuildFileTest {↵
|
2 | TaskdefForCopyTest(String name) {↵ | | 2 | public RegexpPatternMapperTest(String name) {↵
|
3 | super(name);↵ | | 3 | super(name);↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public void setUp() {↵ | | 5 | public void setUp() {↵
|
6 | configureProject("src/etc/testcases/types/mapper.xml");↵ | | 6 | configureProject("src/etc/testcases/types/mappers/regexpmapper.xml");↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void tearDown() {↵ | | 8 | public void testIgnoreCase() {↵
|
9 | executeTarget("cleanup");↵ | | 9 | executeTarget("↵
|
10 | ↵ | | 10 | ignore.case");↵
|
11 | }↵ | | 11 | }↵
|
|
12 | public void test1() {↵ | | 12 | public void testHandleDirSep() {↵
|
13 | executeTarget("test1");↵ | | 13 | executeTarget("handle.dirsep");↵
|
14 | | | 14 |
|
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 |