Home | History | Annotate | Download | only in cache
      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 {
     18 @Override public String getModuleName() {
     19   return "com.google.common.cache.testModule";
     20 }
     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 
     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 
     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 
     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 
     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 
     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 
     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 
     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 
     61 public void testNewBuilder() throws Exception {
     62   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
     63   testCase.testNewBuilder();
     64 }
     65 
     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 
     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 
     76 public void testTimeToIdleAndToLive() throws Exception {
     77   com.google.common.cache.CacheBuilderTest testCase = new com.google.common.cache.CacheBuilderTest();
     78   testCase.testTimeToIdleAndToLive();
     79 }
     80 
     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 
     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 
     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 
     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 
    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 
    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