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