CPD Results
The following document contains the results of PMD's CPD 7.7.0.
Duplications
File | Line |
---|---|
org/apache/maven/scm/tck/command/branch/BranchCommandTckTest.java | 74 |
org/apache/maven/scm/tck/command/tag/TagCommandTckTest.java | 74 |
commandParameters.setString(CommandParameter.MESSAGE, "commit message"); commandParameters.setString(CommandParameter.SCM_COMMIT_SIGN, "false"); CheckInScmResult checkinResult = getScmManager().checkIn(getScmRepository(), new ScmFileSet(getWorkingCopy()), commandParameters); assertResultIsSuccess(checkinResult); CheckOutScmResult checkoutResult = getScmManager().checkOut(getScmRepository(), new ScmFileSet(getAssertionCopy())); assertResultIsSuccess(checkoutResult); readmeTxt = new File(getAssertionCopy(), "readme.txt"); assertEquals("check readme.txt contents", "changed file", FileUtils.fileRead(readmeTxt)); deleteDirectory(getAssertionCopy()); assertFalse("check previous assertion copy deleted", getAssertionCopy().exists()); checkoutResult = getScmManager() .getProviderByUrl(getScmUrl()) .checkOut(getScmRepository(), new ScmFileSet(getAssertionCopy()), new ScmBranch(branch)); |