@Test public void testConstructor1 () throws IOException { Cache cache = new Cache("../temp/"); assertEquals("../temp/", cache.getPath()); assertEquals(true, new File("../temp/").exists()); }
public String getPath () { return CACHE_PATH; }
Cache { public String getPath () { return CACHE_PATH; } }
Cache { public String getPath () { return CACHE_PATH; } protected  Cache(String path); }
Cache { public String getPath () { return CACHE_PATH; } protected  Cache(String path); static void init(String path); static Cache getInstance(); String getPath(); void createDirIfAbsent(String dirName); String getCachePath(String dirName); String getCacheFilePath(String filePath); void clear(); }
Cache { public String getPath () { return CACHE_PATH; } protected  Cache(String path); static void init(String path); static Cache getInstance(); String getPath(); void createDirIfAbsent(String dirName); String getCachePath(String dirName); String getCacheFilePath(String filePath); void clear();  }