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 CacheBuilderTest_gwt extends com.google.gwt.junit.client.GWTTestCase {
getModuleName()18 @Override public String getModuleName() {
19   return "com.google.common.cache.testModule";
20 }
testConcurrencyLevel_large()21 public void testConcurrencyLevel_large() throws Exception {
22   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
23   testCase.testConcurrencyLevel_large();
24 }
25 
testConcurrencyLevel_setTwice()26 public void testConcurrencyLevel_setTwice() throws Exception {
27   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
28   testCase.testConcurrencyLevel_setTwice();
29 }
30 
testConcurrencyLevel_zero()31 public void testConcurrencyLevel_zero() throws Exception {
32   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
33   testCase.testConcurrencyLevel_zero();
34 }
35 
testInitialCapacity_large()36 public void testInitialCapacity_large() throws Exception {
37   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
38   testCase.testInitialCapacity_large();
39 }
40 
testInitialCapacity_negative()41 public void testInitialCapacity_negative() throws Exception {
42   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
43   testCase.testInitialCapacity_negative();
44 }
45 
testInitialCapacity_setTwice()46 public void testInitialCapacity_setTwice() throws Exception {
47   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
48   testCase.testInitialCapacity_setTwice();
49 }
50 
testMaximumSize_negative()51 public void testMaximumSize_negative() throws Exception {
52   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
53   testCase.testMaximumSize_negative();
54 }
55 
testMaximumSize_setTwice()56 public void testMaximumSize_setTwice() throws Exception {
57   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
58   testCase.testMaximumSize_setTwice();
59 }
60 
testNewBuilder()61 public void testNewBuilder() throws Exception {
62   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
63   testCase.testNewBuilder();
64 }
65 
testRemovalListener_setTwice()66 public void testRemovalListener_setTwice() throws Exception {
67   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
68   testCase.testRemovalListener_setTwice();
69 }
70 
testTicker_setTwice()71 public void testTicker_setTwice() throws Exception {
72   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
73   testCase.testTicker_setTwice();
74 }
75 
testTimeToIdleAndToLive()76 public void testTimeToIdleAndToLive() throws Exception {
77   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
78   testCase.testTimeToIdleAndToLive();
79 }
80 
testTimeToIdle_negative()81 public void testTimeToIdle_negative() throws Exception {
82   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
83   testCase.testTimeToIdle_negative();
84 }
85 
testTimeToIdle_setTwice()86 public void testTimeToIdle_setTwice() throws Exception {
87   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
88   testCase.testTimeToIdle_setTwice();
89 }
90 
testTimeToIdle_small()91 public void testTimeToIdle_small() throws Exception {
92   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
93   testCase.testTimeToIdle_small();
94 }
95 
testTimeToLive_negative()96 public void testTimeToLive_negative() throws Exception {
97   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
98   testCase.testTimeToLive_negative();
99 }
100 
testTimeToLive_setTwice()101 public void testTimeToLive_setTwice() throws Exception {
102   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
103   testCase.testTimeToLive_setTwice();
104 }
105 
testTimeToLive_small()106 public void testTimeToLive_small() throws Exception {
107   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
108   testCase.testTimeToLive_small();
109 }
110 }
111