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