All pastes #784474 Raw Edit

Unnamed

public java v1 · immutable
·published 2007-11-19 18:36 UTC
rendered paste body
                /* Testing diff when svn:eol-style=native  */                client.propertyCreate(iotaPath, "svn:eol-style", "native", false);        addExpectedCommitItem(thisTest.getWCPath(),                thisTest.getUrl(), "iota",NodeKind.file,                CommitItemStateFlags.TextMods + CommitItemStateFlags.PropMods);        String[] paths = new String[] {iotaPath};        client.commit(paths, "Set svn:eol-style to native", false);                wcPath = fileToSVNPath(new File(thisTest.getWCPath()),                false);        expectedDiffOutput = "Index: iota" + NL + sepLine +            "--- iota\t(revision 1)" + NL +            "+++ iota\t(working copy)" + NL +            expectedDiffBody;        client.diff(iotaPath, Revision.BASE, iotaPath, Revision.WORKING,                    wcPath, diffOutput.getPath(), Depth.infinity, true, true,                    false);        assertFileContentsEquals("Unexpected diff output in file '" +                                 diffOutput.getPath() + '\'',                                 expectedDiffOutput, diffOutput);