UpToDateTest(String name) {
super(name);
}
public void setUp() {
configureProject("src/etc/testcases/taskdefs/uptodate.xml");
}
public void tearDown() {
executeTarget("tearDown");
}
public void testFilesetUpToDate() {
expectPropertySet("testFilesetUpToDate", "foo");
AntStructureTest(String name) {
super(name);
}
public void setUp() {
configureProject("src/etc/testcases/taskdefs/antstructure.xml");
}
public void tearDown() {
executeTarget("tearDown");
}
public void test1() {
expectBuildException("test1", "required argument not specified");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/UpToDateTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/AntStructureTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | UpToDateTest(String name) {↵ | | 1 | AntStructureTest(String name) {↵
|
2 | super(name);↵ | | 2 | super(name);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void setUp() {↵ | | 4 | public void setUp() {↵
|
5 | configureProject("src/etc/testcases/taskdefs/uptodate.xml");↵ | | 5 | configureProject("src/etc/testcases/taskdefs/antstructure.xml");↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void tearDown() {↵ | | 7 | public void tearDown() {↵
|
8 | executeTarget("tearDown");↵ | | 8 | executeTarget("tearDown");↵
|
9 | }↵ | | 9 | }↵
|
|
10 | public void testFilesetUpToDate() {↵ | | 10 | public void test1() {↵
|
11 | expectPropertySet("testFilesetUpToDate", "foo");↵ | | 11 | expectBuildException("test1", "required argument not specified");↵
|
12 | | | 12 |
|
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 |