public void testTranscoding() throws IOException {
executeTarget("testTranscoding");
File f1 = getProject().resolveFile("copy/expected/utf-8");
File f2 = getProject().resolveFile("concat.utf8");
assertTrue(FILE_UTILS.contentEquals(f1, f2));
public void testTranscoding() throws IOException {
executeTarget("testTranscoding");
File f1 = getProject().resolveFile("copy/expected/utf-8");
File f2 = getProject().resolveFile("copytest1.tmp");
assertTrue(FILE_UTILS.contentEquals(f1, f2));
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/CopyTest.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void testTranscoding() throws IOException {↵ | | 1 | public void testTranscoding() throws IOException {↵
|
2 | executeTarget("testTranscoding");↵ | | 2 | executeTarget("testTranscoding");↵
|
3 | File f1 = getProject().resolveFile("copy/expected/utf-8");↵ | | 3 | File f1 = getProject().resolveFile("copy/expected/utf-8");↵
|
4 | File f2 = getProject().resolveFile("concat.utf8");↵ | | 4 | File f2 = getProject().resolveFile("copytest1.tmp");↵
|
5 | assertTrue(FILE_UTILS.contentEquals(f1, f2));↵ | | 5 | assertTrue(FILE_UTILS.contentEquals(f1, f2));↵
|
6 | | | 6 |
|
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 |