void test3() {
expectLog("test3", "\n"+
" This \n"+
" is\n"+
" a \n"+
" multiline\n"+
" message\n"+
" ");
}
public void testFile() throws Exception {
executeTarget("testFile");
}
public void testAppend() throws Exception {
executeTarget("testAppend");
}
public void testEmptyEncoding() throws Exception {
executeTarget("testEmptyEncoding");
void test1() {
expectBuildException("test1", "Required argument repository not specified");
}
public void test2() {
executeTarget("test2");
}
public void test3() {
executeTarget("test3");
}
public void test4() {
executeTarget("test4");
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/EchoTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/optional/PvcsTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void test3() {↵ | | 1 | void test1() {↵
|
2 | expectLog("test3", "\n"+↵ | | 2 | expectBuildException("test1", "↵
|
3 | " This \n"+↵ | | |
|
4 | " is\n"+↵ | | |
|
5 | " a \n"+↵ | | |
|
6 | " multiline\n"+↵ | | |
|
7 | " message\n"+↵ | | |
|
8 | " ");↵ | | 3 | Required argument repository not specified");↵
|
9 | }↵ | | 4 | }↵
|
|
10 | public void testFile() throws Exception {↵ | | 5 | public void test2() {↵
|
11 | executeTarget("testFile");↵ | | 6 | executeTarget("test2");↵
|
12 | }↵ | | 7 | }↵
|
|
13 | public void testAppend() throws Exception {↵ | | 8 | public void test3() {↵
|
14 | executeTarget("testAppend");↵ | | 9 | executeTarget("test3");↵
|
15 | }↵ | | 10 | }↵
|
|
16 | public void testEmptyEncoding() throws Exception {↵ | | 11 | public void test4() {↵
|
17 | executeTarget("testEmptyEncoding");↵ | | 12 | executeTarget("test4");↵
|
18 | | | 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 |