void test3() {
executeTarget("test3");
}
public void test4() {
executeTarget("test4");
}
public void test5() {
executeTarget("test5");
}
public void test6() {
expectBuildException("test6", "Failed executing: /never/heard/of/a/directory/structure/like/this/pcli lvf -z -aw -pr//ct4serv2/pvcs/monitor /. Exception: /never/heard/of/a/directory/structure/like/this/pcli: not found");
}
void testTestTarTask() throws java.io.IOException {
testLogoExtraction("testTarTask");
}
public void testTestGzipTarTask() throws java.io.IOException {
testLogoExtraction("testGzipTarTask");
}
public void testTestBzip2TarTask() throws java.io.IOException {
testLogoExtraction("testBzip2TarTask");
}
public void testSrcDirTest() {
expectBuildException("srcDirTest", "Src cannot be a directory.");
}
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/PvcsTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/UntarTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void test3() {↵ | | 1 | void test↵
|
2 | executeTarget("test3");↵ | | |
|
3 | }↵ | | |
|
|
4 | public void test4() {↵ | | |
|
5 | executeTarget("test4");↵ | | |
|
6 | }↵ | | |
|
|
7 | public void test5() {↵ | | |
|
8 | executeTarget("test5↵ | | 2 | TestTarTask() throws java.io.IOException {↵
|
| | | 3 | testLogoExtraction("testTarTask");↵
|
| | | 4 | }↵
|
|
| | | 5 | public void testTestGzipTarTask() throws java.io.IOException {↵
|
| | | 6 | testLogoExtraction("testGzipTarTask");↵
|
| | | 7 | }↵
|
|
| | | 8 | public void testTestBzip2TarTask() throws java.io.IOException {↵
|
9 | ");↵ | | 9 | testLogoExtraction("testBzip2TarTask");↵
|
10 | }↵ | | 10 | }↵
|
|
11 | public void test6() {↵ | | 11 | public void testSrcDirTest() {↵
|
12 | expectBuildException("test6", "Failed executing: /never/heard/of/a/directory/structure/like/this/pcli lvf -z -aw -pr//ct4serv2/pvcs/monitor /. Exception: /never/heard/of/a/directory/structure/like/this/pcli: not found");↵ | | 12 | expectBuildException("srcDirTest", "Src cannot be a directory.");↵
|
13 | } | | 13 | }
|
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 |