file = new File("nonExistingFile"); info = svnClient.getInfo(file); assertEquals(null, info.getUrl());    file = new File(WORKINGCOPY_DIR+"/statusTest/nonManaged.dir/statusTest"); info = svnClient.getInfo(file); assertEquals(SVNNodeKind.DIR,info.getNodeKind());
executeTarget("testInfoDirectory");  String[] propNames = new String[] { "svn.info.path", "svn.info.url", "svn.info.repouuid", "svn.info.rev", "svn.info.nodekind", "svn.info.schedule", "svn.info.author", "svn.info.lastRev", "svn.info.lastDate" };  for (int i = 0; i < propNames.length; i++) { assertPropertySet(propNames[i], true); }  propNames = new String[] { "svn.info.name", "svn.info.lastTextUpdate", "svn.info.lastPropUpdate", "svn.info.checksum" };   for (int i = 0; i < propNames.length; i++) { assertPropertyUnset(propNames[i]); }  executeTarget("testInfoFile");  propNames = new String[] { "svn.info.path", "svn.info.name", "svn.info.url", "svn.info.repouuid", "svn.info.rev", "svn.info.nodekind", "svn.info.schedule", "svn.info.author", "svn.info.lastRev", "svn.info.lastDate", "svn.info.lastTextUpdate", "svn.info.lastPropUpdate", "svn.info.checksum" };  for (int i = 0; i < propNames.length; i++) { assertPropertySet(propNames[i], true); }  executeTarget("testInfoCustomPrefix"); assertPropertySet("wc.info.path", true);
    public void testInfo() throws Exception {		executeTarget("testStatus");        File file = new File(WORKINGCOPY_DIR+"/statusTest/added.txt");		ISVNInfo info = svnClient.getInfo(file);		assertEquals(SVNNodeKind.FILE,info.getNodeKind());        assertNull(info.getLastChangedRevision());        assertEquals(SVNScheduleKind.ADD,info.getSchedule());        assertEquals(file.getCanonicalFile(),info.getFile().getCanonicalFile());                file = new File("nonExistingFile");        info = svnClient.getInfo(file);        assertEquals(null, info.getUrl());        // make sure that the top most directory is said to be versionned. It is in a directory where there is no        // .svn directory but it is versionned however.         file = new File(WORKINGCOPY_DIR+"/statusTest/nonManaged.dir/statusTest");        info = svnClient.getInfo(file);        assertEquals(SVNNodeKind.DIR,info.getNodeKind());    }