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 ImmutableMultisetTest_gwt extends com.google.gwt.junit.client.GWTTestCase { getModuleName()18@Override public String getModuleName() { 19 return "com.google.common.collect.testModule"; 20 } testAsList()21public void testAsList() throws Exception { 22 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 23 testCase.testAsList(); 24 } 25 testBuilderAdd()26public void testBuilderAdd() throws Exception { 27 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 28 testCase.testBuilderAdd(); 29 } 30 testBuilderAddAll()31public void testBuilderAddAll() throws Exception { 32 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 33 testCase.testBuilderAddAll(); 34 } 35 testBuilderAddAllHandlesNullsCorrectly()36public void testBuilderAddAllHandlesNullsCorrectly() throws Exception { 37 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 38 testCase.testBuilderAddAllHandlesNullsCorrectly(); 39 } 40 testBuilderAddAllIterator()41public void testBuilderAddAllIterator() throws Exception { 42 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 43 testCase.testBuilderAddAllIterator(); 44 } 45 testBuilderAddAllMultiset()46public void testBuilderAddAllMultiset() throws Exception { 47 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 48 testCase.testBuilderAddAllMultiset(); 49 } 50 testBuilderAddCopies()51public void testBuilderAddCopies() throws Exception { 52 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 53 testCase.testBuilderAddCopies(); 54 } 55 testBuilderAddCopiesHandlesNullsCorrectly()56public void testBuilderAddCopiesHandlesNullsCorrectly() throws Exception { 57 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 58 testCase.testBuilderAddCopiesHandlesNullsCorrectly(); 59 } 60 testBuilderAddCopiesIllegal()61public void testBuilderAddCopiesIllegal() throws Exception { 62 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 63 testCase.testBuilderAddCopiesIllegal(); 64 } 65 testBuilderAddHandlesNullsCorrectly()66public void testBuilderAddHandlesNullsCorrectly() throws Exception { 67 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 68 testCase.testBuilderAddHandlesNullsCorrectly(); 69 } 70 testBuilderSetCount()71public void testBuilderSetCount() throws Exception { 72 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 73 testCase.testBuilderSetCount(); 74 } 75 testBuilderSetCountHandlesNullsCorrectly()76public void testBuilderSetCountHandlesNullsCorrectly() throws Exception { 77 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 78 testCase.testBuilderSetCountHandlesNullsCorrectly(); 79 } 80 testBuilderSetCountIllegal()81public void testBuilderSetCountIllegal() throws Exception { 82 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 83 testCase.testBuilderSetCountIllegal(); 84 } 85 testCopyOf_collectionContainingNull()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 testCopyOf_collection_empty()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 testCopyOf_collection_general()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 testCopyOf_collection_oneElement()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 testCopyOf_iteratorContainingNull()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 testCopyOf_iterator_empty()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 testCopyOf_iterator_general()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 testCopyOf_iterator_oneElement()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 testCopyOf_multisetContainingNull()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 testCopyOf_multiset_empty()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 testCopyOf_multiset_general()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 testCopyOf_multiset_oneElement()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 testCopyOf_plainIterable()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 testCopyOf_shortcut_empty()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 testCopyOf_shortcut_immutableMultiset()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 testCopyOf_shortcut_singleton()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 testCreation_arrayContainingOnlyNull()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 testCreation_arrayOfArray()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 testCreation_arrayOfOneElement()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 testCreation_emptyArray()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 testCreation_fiveElements()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 testCreation_fourElements()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 testCreation_noArgs()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 testCreation_oneElement()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 testCreation_sevenElements()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 testCreation_sixElements()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 testCreation_threeElements()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 testCreation_twoElements()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 testEquals()226public void testEquals() throws Exception { 227 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 228 testCase.testEquals(); 229 } 230 testEquals_immutableMultiset()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 testIterationOrder()236public void testIterationOrder() throws Exception { 237 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 238 testCase.testIterationOrder(); 239 } 240 testMultisetWrites()241public void testMultisetWrites() throws Exception { 242 com.google.common.collect.ImmutableMultisetTest testCase = new com.google.common.collect.ImmutableMultisetTest(); 243 testCase.testMultisetWrites(); 244 } 245 } 246