void testRecreateZipfilesetWithUpdateAdditionalFiles() {
testRecreate("test4",
"testRecreateZipfilesetWithUpdateAdditionalFiles");
}
public void testRecreateZipfilesetWithoutUpdateNewerFile() {
testRecreate("testRecreateNewerFileSetup",
"testRecreateZipfilesetWithoutUpdateNewerFile");
}
public void testRecreateZipfilesetWithUpdateNewerFile() {
testRecreate("testRecreateNewerFileSetup",
"testRecreateZipfilesetWithUpdateNewerFile");
void testNestedA() {
expectLogContaining("nested.a", "add A called");
}
public void testNestedB() {
expectLogContaining("nested.b", "add B called");
}
public void testNestedC() {
expectLogContaining("nested.c", "add C 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 testRecreateZipfilesetWithUpdateAdditionalFiles() {↵ | | 1 | void test↵
|
2 | testRecreate↵ | | 2 | NestedA() {↵
|
3 | ("test4",↵ | | 3 | expectLogContaining("nest↵
|
4 | "testRecreateZipfilesetWithUpdateAdditionalFiles");↵ | | 4 | ed.a", "add A called");↵
|
5 | }↵ | | 5 | }↵
|
|
6 | public void testRecreateZipfilesetWithoutUpdateNewerFile() {↵ | | 6 | public void test↵
|
7 | testRecreate↵ | | 7 | NestedB() {↵
|
8 | ("testRecreateNewerFileSetup",↵ | | 8 | expectLogContaining("nest↵
|
9 | "testRecreateZipfilesetWithoutUpdateNewerFile");↵ | | 9 | ed.b", "add B called");↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public void testRecreateZipfilesetWithUpdateNewerFile() {↵ | | 11 | public void test↵
|
12 | testRecreate↵ | | 12 | NestedC() {↵
|
13 | ("testRecreateNewerFileSetup",↵ | | 13 | expectLogContaining("nest↵
|
14 | "testRecreateZipfilesetWithUpdateNewerFile");↵ | | 14 | ed.c", "add C called");↵
|
15 | | | 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 |