1 /* 2 * Copyright (C) 2008 The Guava Authors 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package com.google.common.cache; 17 public class CacheBuilderGwtTest_gwt extends com.google.gwt.junit.client.GWTTestCase { getModuleName()18@Override public String getModuleName() { 19 return "com.google.common.cache.testModule"; 20 } testAsMapEntrySet()21public void testAsMapEntrySet() throws Exception { 22 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 23 testCase.setUp(); 24 testCase.testAsMapEntrySet(); 25 } 26 testAsMapKeySet()27public void testAsMapKeySet() throws Exception { 28 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 29 testCase.setUp(); 30 testCase.testAsMapKeySet(); 31 } 32 testAsMapKeySet_contains()33public void testAsMapKeySet_contains() throws Exception { 34 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 35 testCase.setUp(); 36 testCase.testAsMapKeySet_contains(); 37 } 38 testAsMapValues_contains()39public void testAsMapValues_contains() throws Exception { 40 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 41 testCase.setUp(); 42 testCase.testAsMapValues_contains(); 43 } 44 testAsMapValues_iteratorRemove()45public void testAsMapValues_iteratorRemove() throws Exception { 46 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 47 testCase.setUp(); 48 testCase.testAsMapValues_iteratorRemove(); 49 } 50 testAsMap_containsKey()51public void testAsMap_containsKey() throws Exception { 52 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 53 testCase.setUp(); 54 testCase.testAsMap_containsKey(); 55 } 56 testAsMap_containsValue()57public void testAsMap_containsValue() throws Exception { 58 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 59 testCase.setUp(); 60 testCase.testAsMap_containsValue(); 61 } 62 testExpireAfterAccess()63public void testExpireAfterAccess() throws Exception { 64 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 65 testCase.setUp(); 66 testCase.testExpireAfterAccess(); 67 } 68 testExpireAfterWrite()69public void testExpireAfterWrite() throws Exception { 70 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 71 testCase.setUp(); 72 testCase.testExpireAfterWrite(); 73 } 74 testExpireAfterWriteAndAccess()75public void testExpireAfterWriteAndAccess() throws Exception { 76 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 77 testCase.setUp(); 78 testCase.testExpireAfterWriteAndAccess(); 79 } 80 testInvalidate()81public void testInvalidate() throws Exception { 82 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 83 testCase.setUp(); 84 testCase.testInvalidate(); 85 } 86 testInvalidateAll()87public void testInvalidateAll() throws Exception { 88 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 89 testCase.setUp(); 90 testCase.testInvalidateAll(); 91 } 92 testLoader()93public void testLoader() throws Exception { 94 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 95 testCase.setUp(); 96 testCase.testLoader(); 97 } 98 testLoadingCache()99public void testLoadingCache() throws Exception { 100 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 101 testCase.setUp(); 102 testCase.testLoadingCache(); 103 } 104 testMapMethods()105public void testMapMethods() throws Exception { 106 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 107 testCase.setUp(); 108 testCase.testMapMethods(); 109 } 110 testPutAll()111public void testPutAll() throws Exception { 112 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 113 testCase.setUp(); 114 testCase.testPutAll(); 115 } 116 testRemovalListener()117public void testRemovalListener() throws Exception { 118 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 119 testCase.setUp(); 120 testCase.testRemovalListener(); 121 } 122 testSizeConstraint()123public void testSizeConstraint() throws Exception { 124 com.google.common.cache.CacheBuilderGwtTest testCase = new com.google.common.cache.CacheBuilderGwtTest(); 125 testCase.setUp(); 126 testCase.testSizeConstraint(); 127 } 128 } 129