void testAddFilter() {
executeTarget("addfilter");
}
public void testAddSelector() {
executeTarget("addselector");
}
public void testNestedA() {
expectLogContaining("nested.a", "add A called");
}
public void testNestedB() {
expectLogContaining("nested.b", "add B called");
void testNoRecreateZipfilesetExcludesWithUpdate() {
testNoRecreate("testNoRecreateZipfilesetExcludesWithUpdate");
}
public void testNoRecreateZipfilesetExcludesWithoutUpdate() {
testNoRecreate("testNoRecreateZipfilesetExcludesWithoutUpdate");
}
public void testRecreateZipfilesetWithoutUpdateAdditionalFiles() {
testRecreate("test4",
"testRecreateZipfilesetWithoutUpdateAdditionalFiles");
}
public void testRecreateZipfilesetWithUpdateAdditionalFiles() {
testRecreate("test4",
"testRecreateZipfilesetWithUpdateAdditionalFiles");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/types/AddTypeTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/JarTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void testAddFilter() {↵ | | 1 | void testNoRecreateZipfilesetExcludesWithUpdate() {↵
|
2 | executeTarget("addfilter");↵ | | 2 | ↵
|
3 | }↵ | | |
|
|
4 | public void testAddSelector() {↵ | | |
|
5 | executeTarget("addselector");↵ | | |
|
6 | }↵ | | |
|
|
7 | public void testNestedA() {↵ | | |
|
8 | expectLogContaining↵ | | 3 | testNoRecreate("testNoRecreateZipfilesetExcludesWithUpdate");↵
|
| | | 4 | }↵
|
|
| | | 5 | public void testNoRecreateZipfilesetExcludesWithoutUpdate() {↵
|
| | | 6 | testNoRecreate("testNoRecreateZipfilesetExcludesWithoutUpdate");↵
|
| | | 7 | }↵
|
|
| | | 8 | public void testRecreateZipfilesetWithoutUpdateAdditionalFiles() {↵
|
9 | ("nested.a", "add A cal↵ | | 9 | testRecreate("test4",↵
|
10 | led");↵ | | 10 | "testRecreateZipfilesetWithoutUpdateAdditionalFiles");↵
|
11 | }↵ | | 11 | }↵
|
|
12 | public void testNestedB() {↵ | | 12 | public void test↵
|
13 | expectLogContaining↵ | | 13 | RecreateZipfilesetWithUpdateAdditionalFiles() {↵
|
14 | ("nested.b", "add B cal↵ | | 14 | testRecreate("test4",↵
|
15 | led");↵ | | 15 | "testRecreateZipfilesetWithUpdateAdditionalFiles");↵
|
16 | | | 16 |
|
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 |