File () { File svnBinDir = new File(myPluginRoot, getTestDataDir() + "/svn/bin"); String executablePath = SystemInfo.isWindows ? "windows/svn.exe" : SystemInfo.isLinux ? "linux/svn" : SystemInfo.isMac ? "mac/svn" : null; assertNotNull("No Subversion executable was found " + SystemInfo.OS_NAME, executablePath); File svnExecutable = new File(svnBinDir, executablePath); assertTrue(svnExecutable + " is not executable", svnExecutable.canExecute()); return svnExecutable.getParentFile(); }