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.collect; 17public class ImmutableMultimapAsMapImplementsMapTest_gwt extends com.google.gwt.junit.client.GWTTestCase { 18@Override public String getModuleName() { 19 return "com.google.common.collect.testModule"; 20} 21public void testClear() throws Exception { 22 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 23 testCase.testClear(); 24} 25 26public void testContainsKey() throws Exception { 27 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 28 testCase.testContainsKey(); 29} 30 31public void testContainsValue() throws Exception { 32 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 33 testCase.testContainsValue(); 34} 35 36public void testEntrySet() throws Exception { 37 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 38 testCase.testEntrySet(); 39} 40 41public void testEntrySetAddAndAddAll() throws Exception { 42 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 43 testCase.testEntrySetAddAndAddAll(); 44} 45 46public void testEntrySetClear() throws Exception { 47 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 48 testCase.testEntrySetClear(); 49} 50 51public void testEntrySetContainsEntryIncompatibleKey() throws Exception { 52 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 53 testCase.testEntrySetContainsEntryIncompatibleKey(); 54} 55 56public void testEntrySetContainsEntryNullKeyMissing() throws Exception { 57 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 58 testCase.testEntrySetContainsEntryNullKeyMissing(); 59} 60 61public void testEntrySetContainsEntryNullKeyPresent() throws Exception { 62 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 63 testCase.testEntrySetContainsEntryNullKeyPresent(); 64} 65 66public void testEntrySetForEmptyMap() throws Exception { 67 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 68 testCase.testEntrySetForEmptyMap(); 69} 70 71public void testEntrySetIteratorRemove() throws Exception { 72 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 73 testCase.testEntrySetIteratorRemove(); 74} 75 76public void testEntrySetRemove() throws Exception { 77 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 78 testCase.testEntrySetRemove(); 79} 80 81public void testEntrySetRemoveAll() throws Exception { 82 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 83 testCase.testEntrySetRemoveAll(); 84} 85 86public void testEntrySetRemoveAllNullFromEmpty() throws Exception { 87 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 88 testCase.testEntrySetRemoveAllNullFromEmpty(); 89} 90 91public void testEntrySetRemoveDifferentValue() throws Exception { 92 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 93 testCase.testEntrySetRemoveDifferentValue(); 94} 95 96public void testEntrySetRemoveMissingKey() throws Exception { 97 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 98 testCase.testEntrySetRemoveMissingKey(); 99} 100 101public void testEntrySetRemoveNullKeyMissing() throws Exception { 102 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 103 testCase.testEntrySetRemoveNullKeyMissing(); 104} 105 106public void testEntrySetRemoveNullKeyPresent() throws Exception { 107 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 108 testCase.testEntrySetRemoveNullKeyPresent(); 109} 110 111public void testEntrySetRetainAll() throws Exception { 112 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 113 testCase.testEntrySetRetainAll(); 114} 115 116public void testEntrySetRetainAllNullFromEmpty() throws Exception { 117 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 118 testCase.testEntrySetRetainAllNullFromEmpty(); 119} 120 121public void testEntrySetSetValue() throws Exception { 122 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 123 testCase.testEntrySetSetValue(); 124} 125 126public void testEntrySetSetValueSameValue() throws Exception { 127 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 128 testCase.testEntrySetSetValueSameValue(); 129} 130 131public void testEqualsForEmptyMap() throws Exception { 132 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 133 testCase.testEqualsForEmptyMap(); 134} 135 136public void testEqualsForEqualMap() throws Exception { 137 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 138 testCase.testEqualsForEqualMap(); 139} 140 141public void testEqualsForLargerMap() throws Exception { 142 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 143 testCase.testEqualsForLargerMap(); 144} 145 146public void testEqualsForSmallerMap() throws Exception { 147 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 148 testCase.testEqualsForSmallerMap(); 149} 150 151public void testGet() throws Exception { 152 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 153 testCase.testGet(); 154} 155 156public void testGetForEmptyMap() throws Exception { 157 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 158 testCase.testGetForEmptyMap(); 159} 160 161public void testGetNull() throws Exception { 162 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 163 testCase.testGetNull(); 164} 165 166public void testHashCode() throws Exception { 167 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 168 testCase.testHashCode(); 169} 170 171public void testHashCodeForEmptyMap() throws Exception { 172 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 173 testCase.testHashCodeForEmptyMap(); 174} 175 176public void testKeySetClear() throws Exception { 177 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 178 testCase.testKeySetClear(); 179} 180 181public void testKeySetRemove() throws Exception { 182 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 183 testCase.testKeySetRemove(); 184} 185 186public void testKeySetRemoveAll() throws Exception { 187 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 188 testCase.testKeySetRemoveAll(); 189} 190 191public void testKeySetRemoveAllNullFromEmpty() throws Exception { 192 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 193 testCase.testKeySetRemoveAllNullFromEmpty(); 194} 195 196public void testKeySetRetainAll() throws Exception { 197 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 198 testCase.testKeySetRetainAll(); 199} 200 201public void testKeySetRetainAllNullFromEmpty() throws Exception { 202 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 203 testCase.testKeySetRetainAllNullFromEmpty(); 204} 205 206public void testPutAllExistingKey() throws Exception { 207 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 208 testCase.testPutAllExistingKey(); 209} 210 211public void testPutAllNewKey() throws Exception { 212 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 213 testCase.testPutAllNewKey(); 214} 215 216public void testPutExistingKey() throws Exception { 217 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 218 testCase.testPutExistingKey(); 219} 220 221public void testPutNewKey() throws Exception { 222 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 223 testCase.testPutNewKey(); 224} 225 226public void testPutNullKey() throws Exception { 227 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 228 testCase.testPutNullKey(); 229} 230 231public void testPutNullValue() throws Exception { 232 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 233 testCase.testPutNullValue(); 234} 235 236public void testPutNullValueForExistingKey() throws Exception { 237 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 238 testCase.testPutNullValueForExistingKey(); 239} 240 241public void testRemove() throws Exception { 242 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 243 testCase.testRemove(); 244} 245 246public void testRemoveMissingKey() throws Exception { 247 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 248 testCase.testRemoveMissingKey(); 249} 250 251public void testSize() throws Exception { 252 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 253 testCase.testSize(); 254} 255 256public void testValues() throws Exception { 257 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 258 testCase.testValues(); 259} 260 261public void testValuesClear() throws Exception { 262 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 263 testCase.testValuesClear(); 264} 265 266public void testValuesIteratorRemove() throws Exception { 267 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 268 testCase.testValuesIteratorRemove(); 269} 270 271public void testValuesRemove() throws Exception { 272 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 273 testCase.testValuesRemove(); 274} 275 276public void testValuesRemoveAll() throws Exception { 277 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 278 testCase.testValuesRemoveAll(); 279} 280 281public void testValuesRemoveAllNullFromEmpty() throws Exception { 282 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 283 testCase.testValuesRemoveAllNullFromEmpty(); 284} 285 286public void testValuesRemoveMissing() throws Exception { 287 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 288 testCase.testValuesRemoveMissing(); 289} 290 291public void testValuesRetainAll() throws Exception { 292 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 293 testCase.testValuesRetainAll(); 294} 295 296public void testValuesRetainAllNullFromEmpty() throws Exception { 297 com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest testCase = new com.google.common.collect.ImmutableMultimapAsMapImplementsMapTest(); 298 testCase.testValuesRetainAllNullFromEmpty(); 299} 300} 301