Merge branch 'develop' into trialMerge
[jalview.git] / test / jalview / io / cache / AppCacheTest.java
index ef75869..5638028 100644 (file)
@@ -48,26 +48,14 @@ public class AppCacheTest
   @Test(groups = { "Functional" })
   public void appCacheLimitTest()
   {
-    String limit = appCache.getCacheLmit(TEST_CACHE_KEY);
+    String limit = appCache.getCacheLimit(TEST_CACHE_KEY);
     Assert.assertEquals(limit, "99");
-    limit = String.valueOf(appCache.updateCacheLimit(TEST_CACHE_KEY, "20"));
+    limit = String.valueOf(appCache.updateCacheLimit(TEST_CACHE_KEY, 20));
     Assert.assertEquals(limit, "20");
-    limit = appCache.getCacheLmit(TEST_CACHE_KEY);
+    limit = appCache.getCacheLimit(TEST_CACHE_KEY);
     Assert.assertEquals(limit, "20");
-    appCache.updateCacheLimit(TEST_CACHE_KEY, "99");
+    appCache.updateCacheLimit(TEST_CACHE_KEY, 99);
   }
 
-  @Test(groups = { "Functional" })
-  public void initCacheTest()
-  {
-    appCache.initCache(TEST_CACHE_KEY);
-    Assert.assertTrue(appCache.getCacheItems().containsKey(TEST_CACHE_KEY));
-    generateTestCacheItems();
-    // appCache.
-    appCache.initCache(TEST_CACHE_KEY);
-    //
-    Assert.assertTrue(appCache.getCacheItems().containsKey(TEST_CACHE_KEY));
-    appCache.deleteCacheItems(TEST_CACHE_KEY);
-  }
 
 }