Home | History | Annotate | Download | only in collect
      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.collect;
     17 public class SetsTest_gwt extends com.google.gwt.junit.client.GWTTestCase {
     18 @Override public String getModuleName() {
     19   return "com.google.common.collect.testModule";
     20 }
     21 
     22 public void testCartesianProductTooBig() throws Exception {
     23   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     24   testCase.testCartesianProductTooBig();
     25 }
     26 
     27 public void testCartesianProduct_2x2x2() throws Exception {
     28   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     29   testCase.testCartesianProduct_2x2x2();
     30 }
     31 
     32 public void testCartesianProduct_binary0x0() throws Exception {
     33   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     34   testCase.testCartesianProduct_binary0x0();
     35 }
     36 
     37 public void testCartesianProduct_binary0x1() throws Exception {
     38   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     39   testCase.testCartesianProduct_binary0x1();
     40 }
     41 
     42 public void testCartesianProduct_binary1x0() throws Exception {
     43   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     44   testCase.testCartesianProduct_binary1x0();
     45 }
     46 
     47 public void testCartesianProduct_binary1x1() throws Exception {
     48   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     49   testCase.testCartesianProduct_binary1x1();
     50 }
     51 
     52 public void testCartesianProduct_binary1x2() throws Exception {
     53   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     54   testCase.testCartesianProduct_binary1x2();
     55 }
     56 
     57 public void testCartesianProduct_binary2x2() throws Exception {
     58   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     59   testCase.testCartesianProduct_binary2x2();
     60 }
     61 
     62 public void testCartesianProduct_contains() throws Exception {
     63   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     64   testCase.testCartesianProduct_contains();
     65 }
     66 
     67 public void testCartesianProduct_hashCode() throws Exception {
     68   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     69   testCase.testCartesianProduct_hashCode();
     70 }
     71 
     72 public void testCartesianProduct_unary() throws Exception {
     73   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     74   testCase.testCartesianProduct_unary();
     75 }
     76 
     77 public void testCartesianProduct_unrelatedTypes() throws Exception {
     78   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     79   testCase.testCartesianProduct_unrelatedTypes();
     80 }
     81 
     82 public void testCartesianProduct_zeroary() throws Exception {
     83   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     84   testCase.testCartesianProduct_zeroary();
     85 }
     86 
     87 public void testComplementOfEmptyEnumSetWithoutType() throws Exception {
     88   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     89   testCase.testComplementOfEmptyEnumSetWithoutType();
     90 }
     91 
     92 public void testComplementOfEmptySet() throws Exception {
     93   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     94   testCase.testComplementOfEmptySet();
     95 }
     96 
     97 public void testComplementOfEmptySetWithoutTypeDoesntWork() throws Exception {
     98   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
     99   testCase.testComplementOfEmptySetWithoutTypeDoesntWork();
    100 }
    101 
    102 public void testComplementOfEnumSet() throws Exception {
    103   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    104   testCase.testComplementOfEnumSet();
    105 }
    106 
    107 public void testComplementOfEnumSetWithType() throws Exception {
    108   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    109   testCase.testComplementOfEnumSetWithType();
    110 }
    111 
    112 public void testComplementOfFullSet() throws Exception {
    113   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    114   testCase.testComplementOfFullSet();
    115 }
    116 
    117 public void testComplementOfRegularSet() throws Exception {
    118   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    119   testCase.testComplementOfRegularSet();
    120 }
    121 
    122 public void testComplementOfRegularSetWithType() throws Exception {
    123   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    124   testCase.testComplementOfRegularSetWithType();
    125 }
    126 
    127 public void testImmutableEnumSet() throws Exception {
    128   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    129   testCase.testImmutableEnumSet();
    130 }
    131 
    132 public void testImmutableEnumSet_fromIterable() throws Exception {
    133   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    134   testCase.testImmutableEnumSet_fromIterable();
    135 }
    136 
    137 public void testNewConcurrentHashSetEmpty() throws Exception {
    138   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    139   testCase.testNewConcurrentHashSetEmpty();
    140 }
    141 
    142 public void testNewConcurrentHashSetFromCollection() throws Exception {
    143   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    144   testCase.testNewConcurrentHashSetFromCollection();
    145 }
    146 
    147 public void testNewEnumSet_collection() throws Exception {
    148   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    149   testCase.testNewEnumSet_collection();
    150 }
    151 
    152 public void testNewEnumSet_empty() throws Exception {
    153   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    154   testCase.testNewEnumSet_empty();
    155 }
    156 
    157 public void testNewEnumSet_enumSet() throws Exception {
    158   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    159   testCase.testNewEnumSet_enumSet();
    160 }
    161 
    162 public void testNewEnumSet_iterable() throws Exception {
    163   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    164   testCase.testNewEnumSet_iterable();
    165 }
    166 
    167 public void testNewHashSetEmpty() throws Exception {
    168   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    169   testCase.testNewHashSetEmpty();
    170 }
    171 
    172 public void testNewHashSetFromCollection() throws Exception {
    173   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    174   testCase.testNewHashSetFromCollection();
    175 }
    176 
    177 public void testNewHashSetFromIterable() throws Exception {
    178   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    179   testCase.testNewHashSetFromIterable();
    180 }
    181 
    182 public void testNewHashSetFromIterator() throws Exception {
    183   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    184   testCase.testNewHashSetFromIterator();
    185 }
    186 
    187 public void testNewHashSetVarArgs() throws Exception {
    188   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    189   testCase.testNewHashSetVarArgs();
    190 }
    191 
    192 public void testNewHashSetWithExpectedSizeLarge() throws Exception {
    193   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    194   testCase.testNewHashSetWithExpectedSizeLarge();
    195 }
    196 
    197 public void testNewHashSetWithExpectedSizeSmall() throws Exception {
    198   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    199   testCase.testNewHashSetWithExpectedSizeSmall();
    200 }
    201 
    202 public void testNewIdentityHashSet() throws Exception {
    203   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    204   testCase.testNewIdentityHashSet();
    205 }
    206 
    207 public void testNewLinkedHashSetEmpty() throws Exception {
    208   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    209   testCase.testNewLinkedHashSetEmpty();
    210 }
    211 
    212 public void testNewLinkedHashSetFromCollection() throws Exception {
    213   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    214   testCase.testNewLinkedHashSetFromCollection();
    215 }
    216 
    217 public void testNewLinkedHashSetFromIterable() throws Exception {
    218   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    219   testCase.testNewLinkedHashSetFromIterable();
    220 }
    221 
    222 public void testNewLinkedHashSetWithExpectedSizeLarge() throws Exception {
    223   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    224   testCase.testNewLinkedHashSetWithExpectedSizeLarge();
    225 }
    226 
    227 public void testNewLinkedHashSetWithExpectedSizeSmall() throws Exception {
    228   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    229   testCase.testNewLinkedHashSetWithExpectedSizeSmall();
    230 }
    231 
    232 public void testNewSetFromMap() throws Exception {
    233   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    234   testCase.testNewSetFromMap();
    235 }
    236 
    237 public void testNewSetFromMapIllegal() throws Exception {
    238   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    239   testCase.testNewSetFromMapIllegal();
    240 }
    241 
    242 public void testNewTreeSetEmpty() throws Exception {
    243   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    244   testCase.testNewTreeSetEmpty();
    245 }
    246 
    247 public void testNewTreeSetEmptyDerived() throws Exception {
    248   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    249   testCase.testNewTreeSetEmptyDerived();
    250 }
    251 
    252 public void testNewTreeSetEmptyNonGeneric() throws Exception {
    253   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    254   testCase.testNewTreeSetEmptyNonGeneric();
    255 }
    256 
    257 public void testNewTreeSetEmptyWithComparator() throws Exception {
    258   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    259   testCase.testNewTreeSetEmptyWithComparator();
    260 }
    261 
    262 public void testNewTreeSetFromCollection() throws Exception {
    263   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    264   testCase.testNewTreeSetFromCollection();
    265 }
    266 
    267 public void testNewTreeSetFromIterable() throws Exception {
    268   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    269   testCase.testNewTreeSetFromIterable();
    270 }
    271 
    272 public void testNewTreeSetFromIterableDerived() throws Exception {
    273   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    274   testCase.testNewTreeSetFromIterableDerived();
    275 }
    276 
    277 public void testNewTreeSetFromIterableNonGeneric() throws Exception {
    278   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    279   testCase.testNewTreeSetFromIterableNonGeneric();
    280 }
    281 
    282 public void testPowerSetContents() throws Exception {
    283   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    284   testCase.testPowerSetContents();
    285 }
    286 
    287 public void testPowerSetCreationErrors() throws Exception {
    288   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    289   testCase.testPowerSetCreationErrors();
    290 }
    291 
    292 public void testPowerSetEmpty() throws Exception {
    293   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    294   testCase.testPowerSetEmpty();
    295 }
    296 
    297 public void testPowerSetEqualsAndHashCode_verifyAgainstHashSet() throws Exception {
    298   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    299   testCase.testPowerSetEqualsAndHashCode_verifyAgainstHashSet();
    300 }
    301 
    302 public void testPowerSetHashCode_inputHashCodeTimesTooFarValueIsZero() throws Exception {
    303   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    304   testCase.testPowerSetHashCode_inputHashCodeTimesTooFarValueIsZero();
    305 }
    306 
    307 public void testPowerSetIteration_iteratorTester_fast() throws Exception {
    308   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    309   testCase.testPowerSetIteration_iteratorTester_fast();
    310 }
    311 
    312 public void testPowerSetIteration_manual() throws Exception {
    313   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    314   testCase.testPowerSetIteration_manual();
    315 }
    316 
    317 public void testPowerSetShowOff() throws Exception {
    318   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    319   testCase.testPowerSetShowOff();
    320 }
    321 
    322 public void testPowerSetSize() throws Exception {
    323   com.google.common.collect.SetsTest testCase = new com.google.common.collect.SetsTest();
    324   testCase.testPowerSetSize();
    325 }
    326 }
    327