void test4() {
expectBuildException("test4", "src invalid");
}
public void test5() {
expectBuildException("test5", "dest invalid (or no http-server on local machine)");
}
public void test6() {
executeTarget("test6");
}
public void testUseTimestamp() {
executeTarget("testUseTimestamp");
void test4() {
expectBuildException("test4", "target attribute must not be empty");
}
public void test4b() {
expectBuildException("test4b", "target doesn't exist");
}
public void test5() {
executeTarget("test5");
}
public void test6() {
executeTarget("test6");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/GetTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/AntTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void test4() {↵ | | 1 | void test4() {↵
|
2 | expectBuildException("test4", "src invalid");↵ | | 2 | expectBuildException("test4", "target attribute must not be empty");↵
|
3 | }↵ | | 3 | }↵
|
|
4 | public void test5() {↵ | | 4 | public void test4b() {↵
|
5 | expectBuildException("test5", "dest invalid (or no http-server on local machine)");↵ | | 5 | expectBuildException("test4b", "target doesn't exist");↵
|
6 | }↵ | | 6 | }↵
|
|
7 | public void test6() {↵ | | 7 | public void test5() {↵
|
8 | executeTarget("test6");↵ | | 8 | executeTarget("test5");↵
|
9 | }↵ | | 9 | }↵
|
|
10 | public void testUseTimestamp() {↵ | | 10 | public void test6() {↵
|
11 | executeTarget("testUseTimestamp");↵ | | 11 | executeTarget("test6");↵
|
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 |