1 19 package org.fjank.jcache; 20 21 import java.lang.ref.ReferenceQueue ; 22 import junit.framework.TestCase; 23 24 27 public class CacheGroupTest extends TestCase { 28 29 public static void main(String [] args) { 30 junit.textui.TestRunner.run(CacheGroupTest.class); 31 } 32 35 public final void testGet() { 36 } 38 39 43 public final void testPutObjectCacheObjectObject() { 44 } 46 47 50 public final void testPutCacheGroup() { 51 } 53 57 public final void testGetAttributes() { 58 } 60 61 64 public final void testReplaceObjectCacheObject() { 65 } 67 68 71 public final void testReplaceObjectStringCacheObject() { 72 } 74 78 public final void testInvalidate() { 79 } 81 85 public final void testDestroy() { 86 } 88 92 public final void testContains() throws Exception { 93 ReferenceQueue q = new ReferenceQueue (); 94 CacheGroup group = new CacheGroup("testGroup", new AttributesImpl()); 95 Object obj = new Object (); 96 group.put("testName", new CacheObject("testName", obj, group, null, q), obj); 97 assertEquals(true, group.contains("testName")); 98 assertEquals(false, group.contains("testName1")); 99 } 100 104 public final void testRemoveMe() { 105 } 107 111 public final void testGetCurrentSize() { 112 } 114 118 public final void testGetGroup() { 119 } 121 125 public final void testGetName() { 126 } 128 132 public final void testGetObjectCount() { 133 } 135 139 public final void testContainsValue() { 140 } 142 146 public final void testKeySet() { 147 } 149 153 public final void testValues() { 154 } 156 160 public final void testEntrySet() { 161 } 163 164 } 165 | Popular Tags |