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