@@ -0,0 +1,528 @@
+package net.kotek.jdbm;%0A%0Aimport java.io.IOException;%0A%0Apublic class DBCacheMRUTest extends TestCaseWithTestFile %7B%0A%0A    public void testPurgeEntryClearsCache() throws IOException %7B%0A        DBCacheMRU d = (DBCacheMRU) newDBCache();%0A        %0A        for(long i = 0;i%3C1e3;i++)%0A            d.addEntry(newEntry(i));%0A%0A        for(long i = 0;i%3C1e3;i++)%0A            d.purgeEntry();%0A%0A        assertEquals(d._hash.size(),0);%0A    %7D%0A    %0A    %0A    DBCacheMRU.CacheEntry newEntry(long i)%7B%0A        return new DBCacheMRU.CacheEntry(i,i);%0A    %7D%0A%7D%0A

Add new testCase