@Test public void testGetConfigPaths() { String[] configPaths = KDEPathFinder.getConfigPaths(); Assert.assertTrue("Expected the KDE Path Finder to find at " + "least one path where configuration is stored.", configPaths.length > 0); for (String configPath : configPaths) { Assert.assertTrue("Expected all paths to have non-zero " + "length.", configPath.length() > 0); File configPathFile = new File(configPath); Assert.assertTrue("Expected all paths to actually " + "exist.", configPathFile.exists()); Assert.assertTrue("Expected all paths to be a " + "directory.", configPathFile.isDirectory()); Output.print(configPath); } }
public static String[] getConfigPaths() { return runKDE4Config("config"); }
KDEPathFinder { public static String[] getConfigPaths() { return runKDE4Config("config"); } }
KDEPathFinder { public static String[] getConfigPaths() { return runKDE4Config("config"); }  }
KDEPathFinder { public static String[] getConfigPaths() { return runKDE4Config("config"); }  static String[] getConfigPaths(); static String[] getIconPaths(); }
KDEPathFinder { public static String[] getConfigPaths() { return runKDE4Config("config"); }  static String[] getConfigPaths(); static String[] getIconPaths();  }