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 MultisetsTest_gwt extends com.google.gwt.junit.client.GWTTestCase { getModuleName()18@Override public String getModuleName() { 19 return "com.google.common.collect.testModule"; 20 } testContainsOccurrences()21public void testContainsOccurrences() throws Exception { 22 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 23 testCase.testContainsOccurrences(); 24 } 25 testContainsOccurrencesEmpty()26public void testContainsOccurrencesEmpty() throws Exception { 27 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 28 testCase.testContainsOccurrencesEmpty(); 29 } 30 testDifferenceEmptyNonempty()31public void testDifferenceEmptyNonempty() throws Exception { 32 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 33 testCase.testDifferenceEmptyNonempty(); 34 } 35 testDifferenceNonemptyEmpty()36public void testDifferenceNonemptyEmpty() throws Exception { 37 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 38 testCase.testDifferenceNonemptyEmpty(); 39 } 40 testDifferenceWithMoreElementsInSecondMultiset()41public void testDifferenceWithMoreElementsInSecondMultiset() throws Exception { 42 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 43 testCase.testDifferenceWithMoreElementsInSecondMultiset(); 44 } 45 testDifferenceWithNoRemovedElements()46public void testDifferenceWithNoRemovedElements() throws Exception { 47 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 48 testCase.testDifferenceWithNoRemovedElements(); 49 } 50 testDifferenceWithRemovedElement()51public void testDifferenceWithRemovedElement() throws Exception { 52 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 53 testCase.testDifferenceWithRemovedElement(); 54 } 55 testHighestCountFirst()56public void testHighestCountFirst() throws Exception { 57 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 58 testCase.testHighestCountFirst(); 59 } 60 testIntersectEmptyNonempty()61public void testIntersectEmptyNonempty() throws Exception { 62 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 63 testCase.testIntersectEmptyNonempty(); 64 } 65 testIntersectNonemptyEmpty()66public void testIntersectNonemptyEmpty() throws Exception { 67 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 68 testCase.testIntersectNonemptyEmpty(); 69 } 70 testNewTreeMultisetComparator()71public void testNewTreeMultisetComparator() throws Exception { 72 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 73 testCase.testNewTreeMultisetComparator(); 74 } 75 testNewTreeMultisetDerived()76public void testNewTreeMultisetDerived() throws Exception { 77 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 78 testCase.testNewTreeMultisetDerived(); 79 } 80 testNewTreeMultisetNonGeneric()81public void testNewTreeMultisetNonGeneric() throws Exception { 82 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 83 testCase.testNewTreeMultisetNonGeneric(); 84 } 85 testRemoveEmptyOccurrencesIterable()86public void testRemoveEmptyOccurrencesIterable() throws Exception { 87 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 88 testCase.testRemoveEmptyOccurrencesIterable(); 89 } 90 testRemoveEmptyOccurrencesMultiset()91public void testRemoveEmptyOccurrencesMultiset() throws Exception { 92 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 93 testCase.testRemoveEmptyOccurrencesMultiset(); 94 } 95 testRemoveOccurrencesIterableEmpty()96public void testRemoveOccurrencesIterableEmpty() throws Exception { 97 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 98 testCase.testRemoveOccurrencesIterableEmpty(); 99 } 100 testRemoveOccurrencesMultiset()101public void testRemoveOccurrencesMultiset() throws Exception { 102 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 103 testCase.testRemoveOccurrencesMultiset(); 104 } 105 testRemoveOccurrencesMultisetEmpty()106public void testRemoveOccurrencesMultisetEmpty() throws Exception { 107 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 108 testCase.testRemoveOccurrencesMultisetEmpty(); 109 } 110 testRemoveOccurrencesMultisetIterable()111public void testRemoveOccurrencesMultisetIterable() throws Exception { 112 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 113 testCase.testRemoveOccurrencesMultisetIterable(); 114 } 115 testRetainEmptyOccurrences()116public void testRetainEmptyOccurrences() throws Exception { 117 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 118 testCase.testRetainEmptyOccurrences(); 119 } 120 testRetainOccurrences()121public void testRetainOccurrences() throws Exception { 122 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 123 testCase.testRetainOccurrences(); 124 } 125 testRetainOccurrencesEmpty()126public void testRetainOccurrencesEmpty() throws Exception { 127 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 128 testCase.testRetainOccurrencesEmpty(); 129 } 130 testSum()131public void testSum() throws Exception { 132 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 133 testCase.testSum(); 134 } 135 testSumEmptyNonempty()136public void testSumEmptyNonempty() throws Exception { 137 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 138 testCase.testSumEmptyNonempty(); 139 } 140 testSumNonemptyEmpty()141public void testSumNonemptyEmpty() throws Exception { 142 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 143 testCase.testSumNonemptyEmpty(); 144 } 145 testUnion()146public void testUnion() throws Exception { 147 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 148 testCase.testUnion(); 149 } 150 testUnionEmptyNonempty()151public void testUnionEmptyNonempty() throws Exception { 152 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 153 testCase.testUnionEmptyNonempty(); 154 } 155 testUnionEqualMultisets()156public void testUnionEqualMultisets() throws Exception { 157 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 158 testCase.testUnionEqualMultisets(); 159 } 160 testUnionNonemptyEmpty()161public void testUnionNonemptyEmpty() throws Exception { 162 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 163 testCase.testUnionNonemptyEmpty(); 164 } 165 testUnmodifiableMultisetShortCircuit()166public void testUnmodifiableMultisetShortCircuit() throws Exception { 167 com.google.common.collect.MultisetsTest testCase = new com.google.common.collect.MultisetsTest(); 168 testCase.testUnmodifiableMultisetShortCircuit(); 169 } 170 } 171