void testRecreateZipfilesetWithoutUpdateAdditionalFiles() {
testRecreate("test4",
"testRecreateZipfilesetWithoutUpdateAdditionalFiles");
}
public void testRecreateZipfilesetWithUpdateAdditionalFiles() {
testRecreate("test4",
"testRecreateZipfilesetWithUpdateAdditionalFiles");
}
public void testRecreateZipfilesetWithoutUpdateNewerFile() {
testRecreate("testRecreateNewerFileSetup",
"testRecreateZipfilesetWithoutUpdateNewerFile");
void testEscape() {
expectLog(
"escape",
"a@b or a@b is avalue@bvalue");
}
public void testAttributeDescription() {
expectLog(
"attribute.description",
"description is hello world");
}
public void testOverrideDefault() {
expectLog(
"override.default",
"value is new");
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/MacroDefTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void testRecreateZipfilesetWithoutUpdateAdditionalFiles() {↵ | | 1 | void test↵
|
2 | testRecreate("test4",↵ | | |
|
3 | "testRecreateZipfilesetWithoutUpdateAdditionalFiles↵ | | 2 | Escape() {↵
|
| | | 3 | expectLog(↵
|
| | | 4 | "escape",↵
|
4 | ");↵ | | 5 | "a@b or a@b is avalue@bvalue");↵
|
5 | }↵ | | 6 | }↵
|
|
6 | public void testRecreateZipfilesetWithUpdateAdditionalFiles() {↵ | | 7 | public void test↵
|
7 | testRecreate("test4",↵ | | |
|
8 | "testRecreateZipfilesetWithUpdateAdditionalFiles↵ | | 8 | AttributeDescription() {↵
|
| | | 9 | expectLog(↵
|
| | | 10 | "attribute.description",↵
|
9 | ");↵ | | 11 | "description is hello world");↵
|
10 | }↵ | | 12 | }↵
|
|
11 | public void testRecreateZipfilesetWithoutUpdateNewerFile() {↵ | | 13 | public void test↵
|
12 | testRecreate("testRecreateNewerFileSetup",↵ | | |
|
13 | "testRecreateZipfilesetWithoutUpdateNewerFile↵ | | 14 | OverrideDefault() {↵
|
| | | 15 | expectLog(↵
|
| | | 16 | "override.default",↵
|
14 | ");↵ | | 17 | "value is new");↵
|
15 | | | 18 |
|
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 |