void testFilesmatchDifferentOnemissing() {
expectPropertyUnset("filesmatch-different-onemissing",
"filesmatch-different-onemissing");
}
public void testFilesmatchDifferentEol() {
executeTarget("filesmatch-different-eol");
}
public void testFilesmatchSameEol() {
executeTarget("filesmatch-same-eol");
}
public void testFilesmatchNeitherExist() {
executeTarget("filesmatch-neitherexist");
void test1() {
expectBuildException("test1", "required argument not specified");
}
public void test2() {
executeTarget("test2");
}
//where oh where has my test case 3 gone?
public void test4() {
executeTarget("test4");
}
public void test5() {
executeTarget("test5");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConditionTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/DeleteTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void testFilesmatchDifferentOnemissing() {↵ | | 1 | void test↵
|
2 | expectPropertyUnset("filesmatch-different-onemissing",↵ | | |
|
3 | "filesmatch-different-onemissing↵ | | 2 | 1() {↵
|
4 | ");↵ | | 3 | expectBuildException("test1", "required argument not specified");↵
|
5 | }↵ | | 4 | }↵
|
|
6 | public void testFilesmatchDifferentEol() {↵ | | 5 | public void test2() {↵
|
7 | executeTarget("filesmatch-different-eol");↵ | | 6 | executeTarget("↵
|
8 | }↵ | | |
|
| | | 7 | test2");↵
|
| | | 8 | }↵
|
| | | 9 | //where oh where has my test case 3 gone?↵
|
9 | public void testFilesmatchSameEol() {↵ | | 10 | public void test4() {↵
|
10 | executeTarget("filesmatch-same-eol");↵ | | 11 | executeTarget("test4");↵
|
11 | }↵ | | 12 | }↵
|
|
12 | public void testFilesmatchNeitherExist() {↵ | | 13 | public void test5() {↵
|
13 | executeTarget("filesmatch-neitherexist");↵ | | 14 | executeTarget("test5");↵
|
14 | | | 15 |
|
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 |