void testFilesmatchDifferentSizes() {
expectPropertyUnset("filesmatch-different-sizes",
"filesmatch-different-sizes");
}
public void testFilesmatchDifferentOnemissing() {
expectPropertyUnset("filesmatch-different-onemissing",
"filesmatch-different-onemissing");
}
public void testFilesmatchDifferentEol() {
executeTarget("filesmatch-different-eol");
}
public void testFilesmatchSameEol() {
executeTarget("filesmatch-same-eol");
}
void test4() {
expectBuildException("test4", "target attribute must not be empty");
}
public void test4b() {
expectBuildException("test4b", "target doesn't exist");
}
public void test5() {
executeTarget("test5");
}
public void test6() {
executeTarget("test6");
}
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/AntTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void testFilesmatchDifferentSizes() {↵ | | 1 | void test↵
|
2 | expectPropertyUnset("filesmatch-different-sizes",↵ | | |
|
3 | "filesmatch-different-sizes↵ | | 2 | 4() {↵
|
4 | ");↵ | | 3 | expectBuildException("test4", "target attribute must not be empty");↵
|
5 | }↵ | | 4 | }↵
|
|
6 | public void testFilesmatchDifferentOnemissing() {↵ | | 5 | public void test↵
|
7 | expectPropertyUnset("filesmatch-different-onemissing",↵ | | |
|
8 | "filesmatch-different-onemissing↵ | | 6 | 4b() {↵
|
9 | ");↵ | | 7 | expectBuildException("test4b", "target doesn't exist");↵
|
10 | }↵ | | 8 | }↵
|
|
11 | public void testFilesmatchDifferentEol() {↵ | | 9 | public void test5() {↵
|
12 | executeTarget("filesmatch-different-eol");↵ | | 10 | executeTarget("test5");↵
|
13 | }↵ | | 11 | }↵
|
|
14 | public void testFilesmatchSameEol() {↵ | | 12 | public void test6() {↵
|
15 | executeTarget("filesmatch-same-eol");↵ | | 13 | executeTarget("test6");↵
|
16 | } | | 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 |