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 ImmutableMultisetTest_gwt extends com.google.gwt.junit.client.GWTTestCase { 18@Override public String getModuleName() { 19 return "com.google.common.collect.testModule"; 20} 21public void testAsList() throws Exception { 22 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 23 testCase.testAsList(); 24} 25 26public void testBuilderAdd() throws Exception { 27 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 28 testCase.testBuilderAdd(); 29} 30 31public void testBuilderAddAll() throws Exception { 32 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 33 testCase.testBuilderAddAll(); 34} 35 36public void testBuilderAddAllHandlesNullsCorrectly() throws Exception { 37 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 38 testCase.testBuilderAddAllHandlesNullsCorrectly(); 39} 40 41public void testBuilderAddAllIterator() throws Exception { 42 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 43 testCase.testBuilderAddAllIterator(); 44} 45 46public void testBuilderAddAllMultiset() throws Exception { 47 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 48 testCase.testBuilderAddAllMultiset(); 49} 50 51public void testBuilderAddCopies() throws Exception { 52 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 53 testCase.testBuilderAddCopies(); 54} 55 56public void testBuilderAddCopiesHandlesNullsCorrectly() throws Exception { 57 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 58 testCase.testBuilderAddCopiesHandlesNullsCorrectly(); 59} 60 61public void testBuilderAddCopiesIllegal() throws Exception { 62 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 63 testCase.testBuilderAddCopiesIllegal(); 64} 65 66public void testBuilderAddHandlesNullsCorrectly() throws Exception { 67 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 68 testCase.testBuilderAddHandlesNullsCorrectly(); 69} 70 71public void testBuilderSetCount() throws Exception { 72 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 73 testCase.testBuilderSetCount(); 74} 75 76public void testBuilderSetCountHandlesNullsCorrectly() throws Exception { 77 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 78 testCase.testBuilderSetCountHandlesNullsCorrectly(); 79} 80 81public void testBuilderSetCountIllegal() throws Exception { 82 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 83 testCase.testBuilderSetCountIllegal(); 84} 85 86public void testCopyOf_collectionContainingNull() throws Exception { 87 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 88 testCase.testCopyOf_collectionContainingNull(); 89} 90 91public void testCopyOf_collection_empty() throws Exception { 92 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 93 testCase.testCopyOf_collection_empty(); 94} 95 96public void testCopyOf_collection_general() throws Exception { 97 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 98 testCase.testCopyOf_collection_general(); 99} 100 101public void testCopyOf_collection_oneElement() throws Exception { 102 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 103 testCase.testCopyOf_collection_oneElement(); 104} 105 106public void testCopyOf_iteratorContainingNull() throws Exception { 107 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 108 testCase.testCopyOf_iteratorContainingNull(); 109} 110 111public void testCopyOf_iterator_empty() throws Exception { 112 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 113 testCase.testCopyOf_iterator_empty(); 114} 115 116public void testCopyOf_iterator_general() throws Exception { 117 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 118 testCase.testCopyOf_iterator_general(); 119} 120 121public void testCopyOf_iterator_oneElement() throws Exception { 122 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 123 testCase.testCopyOf_iterator_oneElement(); 124} 125 126public void testCopyOf_multisetContainingNull() throws Exception { 127 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 128 testCase.testCopyOf_multisetContainingNull(); 129} 130 131public void testCopyOf_multiset_empty() throws Exception { 132 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 133 testCase.testCopyOf_multiset_empty(); 134} 135 136public void testCopyOf_multiset_general() throws Exception { 137 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 138 testCase.testCopyOf_multiset_general(); 139} 140 141public void testCopyOf_multiset_oneElement() throws Exception { 142 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 143 testCase.testCopyOf_multiset_oneElement(); 144} 145 146public void testCopyOf_plainIterable() throws Exception { 147 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 148 testCase.testCopyOf_plainIterable(); 149} 150 151public void testCopyOf_shortcut_empty() throws Exception { 152 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 153 testCase.testCopyOf_shortcut_empty(); 154} 155 156public void testCopyOf_shortcut_immutableMultiset() throws Exception { 157 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 158 testCase.testCopyOf_shortcut_immutableMultiset(); 159} 160 161public void testCopyOf_shortcut_singleton() throws Exception { 162 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 163 testCase.testCopyOf_shortcut_singleton(); 164} 165 166public void testCreation_arrayContainingOnlyNull() throws Exception { 167 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 168 testCase.testCreation_arrayContainingOnlyNull(); 169} 170 171public void testCreation_arrayOfArray() throws Exception { 172 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 173 testCase.testCreation_arrayOfArray(); 174} 175 176public void testCreation_arrayOfOneElement() throws Exception { 177 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 178 testCase.testCreation_arrayOfOneElement(); 179} 180 181public void testCreation_emptyArray() throws Exception { 182 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 183 testCase.testCreation_emptyArray(); 184} 185 186public void testCreation_fiveElements() throws Exception { 187 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 188 testCase.testCreation_fiveElements(); 189} 190 191public void testCreation_fourElements() throws Exception { 192 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 193 testCase.testCreation_fourElements(); 194} 195 196public void testCreation_noArgs() throws Exception { 197 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 198 testCase.testCreation_noArgs(); 199} 200 201public void testCreation_oneElement() throws Exception { 202 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 203 testCase.testCreation_oneElement(); 204} 205 206public void testCreation_sevenElements() throws Exception { 207 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 208 testCase.testCreation_sevenElements(); 209} 210 211public void testCreation_sixElements() throws Exception { 212 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 213 testCase.testCreation_sixElements(); 214} 215 216public void testCreation_threeElements() throws Exception { 217 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 218 testCase.testCreation_threeElements(); 219} 220 221public void testCreation_twoElements() throws Exception { 222 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 223 testCase.testCreation_twoElements(); 224} 225 226public void testEquals() throws Exception { 227 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 228 testCase.testEquals(); 229} 230 231public void testEquals_immutableMultiset() throws Exception { 232 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 233 testCase.testEquals_immutableMultiset(); 234} 235 236public void testIterationOrder() throws Exception { 237 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 238 testCase.testIterationOrder(); 239} 240 241public void testMultisetWrites() throws Exception { 242 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 243 testCase.testMultisetWrites(); 244} 245} 246