void testRecreateZipfilesetWithoutUpdateAdditionalFiles() {
testRecreate("test4",
"testRecreateZipfilesetWithoutUpdateAdditionalFiles");
}
public void testRecreateZipfilesetWithUpdateAdditionalFiles() {
testRecreate("test4",
"testRecreateZipfilesetWithUpdateAdditionalFiles");
}
public void testRecreateZipfilesetWithoutUpdateNewerFile() {
testRecreate("testRecreateNewerFileSetup",
"testRecreateZipfilesetWithoutUpdateNewerFile");
void testTextOptional() {
expectLog("text.optional", "MyTextoverride text");
}
public void testElementOrder() {
expectLog("element.order", "Line 1Line 2");
}
public void testElementOrder2() {
expectLog("element.order2", "Line 1Line 2Line 3");
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/taskdefs/PreSetDefTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void testRecreateZipfilesetWithoutUpdateAdditionalFiles() {↵ | | 1 | void testTextOptional() {↵
|
2 | testRecreate("test4",↵ | | 2 | ↵
|
3 | "testRecreateZipfilesetWithoutUpdateAdditionalFiles");↵ | | 3 | expectLog("text.optional", "MyTextoverride text");↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public void testRecreateZipfilesetWithUpdateAdditionalFiles() {↵ | | 5 | public void testElementOrder() {↵
|
6 | testRecreate("test4",↵ | | 6 | ↵
|
7 | "testRecreateZipfilesetWithUpdateAdditionalFiles");↵ | | 7 | expectLog("element.order", "Line 1Line 2");↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public void testRecreateZipfilesetWithoutUpdateNewerFile() {↵ | | 9 | public void testElementOrder2() {↵
|
10 | testRecreate("testRecreateNewerFileSetup",↵ | | 10 | ↵
|
11 | "testRecreateZipfilesetWithoutUpdateNewerFile");↵ | | 11 | expectLog("element.order2", "Line 1Line 2Line 3");↵
|
12 | | | 12 |
|
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 |