status = client.getSingleStatus(unversionedDir); assertEquals("Wrong text status", SVNStatusKind.UNVERSIONED, status.getTextStatus()); assertEquals("Wrong prop status", SVNStatusKind.NONE, status.getPropStatus()); assertEquals("Wrong revision", null, status.getRevision()); assertEquals("Wrong path", unversionedDir, status.getFile());  status = client.getSingleStatus(unversionedFile); assertEquals("Wrong text status", SVNStatusKind.UNVERSIONED, status.getTextStatus()); assertEquals("Wrong prop status", SVNStatusKind.NONE, status.getPropStatus()); assertEquals("Wrong revision", null, status.getRevision()); assertEquals("Wrong path", unversionedFile, status.getFile());  status = client.getSingleStatus(unversionedSubDir); assertEquals("Wrong text status", SVNStatusKind.UNVERSIONED, status.getTextStatus()); assertEquals("Wrong prop status", SVNStatusKind.NONE, status.getPropStatus()); assertEquals("Wrong revision", null, status.getRevision()); assertEquals("Wrong path", unversionedSubDir, status.getFile());  status = client.getSingleStatus(nonExistentFile); assertEquals("Wrong text status", SVNStatusKind.UNVERSIONED, status.getTextStatus()); assertEquals("Wrong prop status", SVNStatusKind.NONE, status.getPropStatus()); assertEquals("Wrong revision", null, status.getRevision()); assertEquals("Wrong path", nonExistentFile, status.getFile());  status = client.getSingleStatus(thisTest.getWorkingCopy()); assertEquals("Wrong text status", SVNStatusKind.NORMAL, status.getTextStatus()); assertEquals("Wrong prop status", SVNStatusKind.NONE, status.getPropStatus()); assertEquals("Wrong revision", SVNRevision.getRevision("1"), status.getRevision()); assertEquals("Wrong last changed revision", SVNRevision.getRevision("1"), status.getLastChangedRevision()); assertEquals("Wrong nodeKind", SVNNodeKind.DIR, status.getNodeKind()); assertEquals("Wrong path", thisTest.getWorkingCopy(), status.getFile());
    public void testSingleStatus() throws Throwable    {        // build the test setup        OneTest thisTest = new OneTest("singleStatus",getGreekTestConfig());        File mu = new File(thisTest.getWorkingCopy(), "A/mu");        File g = new File(thisTest.getWorkingCopy(), "A/D/G");        ISVNStatus status;        status = client.getSingleStatus(mu);               assertEquals("Wrong text status", SVNStatusKind.NORMAL, status.getTextStatus());        assertEquals("Wrong prop status", SVNStatusKind.NONE, status.getPropStatus());        assertEquals("Wrong revision", SVNRevision.getRevision("1"), status.getRevision());        assertEquals("Wrong last changed revision", SVNRevision.getRevision("1"), status.getLastChangedRevision());        assertEquals("Wrong nodeKind", SVNNodeKind.FILE, status.getNodeKind());        assertEquals("Wrong path", mu, status.getFile());        status = client.getSingleStatus(g);               assertEquals("Wrong text status", SVNStatusKind.NORMAL, status.getTextStatus());        assertEquals("Wrong prop status", SVNStatusKind.NONE, status.getPropStatus());        assertEquals("Wrong revision", SVNRevision.getRevision("1"), status.getRevision());        assertEquals("Wrong last changed revision", SVNRevision.getRevision("1"), status.getLastChangedRevision());        assertEquals("Wrong nodeKind", SVNNodeKind.DIR, status.getNodeKind());        assertEquals("Wrong path", g, status.getFile());    }