919293949596979899100101
assertTrue("mkdir " + tempDir, tempDir.mkdir()); System.setProperty("jboss.server.temp.dir", tempDir.getCanonicalPath()); VFSCache cache = new LRUVFSCache(2, 5); cache.start(); VFSCacheFactory.setInstance(cache); } catch (Exception e) { tearDown();
6364656667686970717273
public void setUp() throws Exception { super.setUp(); LRUVFSCache cache = new LRUVFSCache(50, 100); cache.start(); VFSCacheFactory.setInstance(cache); } public void tearDown() throws Exception {