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