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 OrderingTest_gwt extends com.google.gwt.junit.client.GWTTestCase { getModuleName()18@Override public String getModuleName() { 19 return "com.google.common.collect.testModule"; 20 } testAllEqual()21public void testAllEqual() throws Exception { 22 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 23 testCase.testAllEqual(); 24 } 25 testArbitrary_withCollisions()26public void testArbitrary_withCollisions() throws Exception { 27 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 28 testCase.testArbitrary_withCollisions(); 29 } 30 testArbitrary_withoutCollisions()31public void testArbitrary_withoutCollisions() throws Exception { 32 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 33 testCase.testArbitrary_withoutCollisions(); 34 } 35 testBinarySearch()36public void testBinarySearch() throws Exception { 37 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 38 testCase.testBinarySearch(); 39 } 40 testCombinationsExhaustively_startingFromNatural()41public void testCombinationsExhaustively_startingFromNatural() throws Exception { 42 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 43 testCase.testCombinationsExhaustively_startingFromNatural(); 44 } 45 testCompound_instance()46public void testCompound_instance() throws Exception { 47 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 48 testCase.testCompound_instance(); 49 } 50 testCompound_instance_generics()51public void testCompound_instance_generics() throws Exception { 52 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 53 testCase.testCompound_instance_generics(); 54 } 55 testCompound_static()56public void testCompound_static() throws Exception { 57 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 58 testCase.testCompound_static(); 59 } 60 testExplicit_none()61public void testExplicit_none() throws Exception { 62 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 63 testCase.testExplicit_none(); 64 } 65 testExplicit_one()66public void testExplicit_one() throws Exception { 67 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 68 testCase.testExplicit_one(); 69 } 70 testExplicit_sortingExample()71public void testExplicit_sortingExample() throws Exception { 72 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 73 testCase.testExplicit_sortingExample(); 74 } 75 testExplicit_two()76public void testExplicit_two() throws Exception { 77 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 78 testCase.testExplicit_two(); 79 } 80 testExplicit_withDuplicates()81public void testExplicit_withDuplicates() throws Exception { 82 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 83 testCase.testExplicit_withDuplicates(); 84 } 85 testFrom()86public void testFrom() throws Exception { 87 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 88 testCase.testFrom(); 89 } 90 testGreatestOfIterable_simple()91public void testGreatestOfIterable_simple() throws Exception { 92 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 93 testCase.testGreatestOfIterable_simple(); 94 } 95 testGreatestOfIterator_simple()96public void testGreatestOfIterator_simple() throws Exception { 97 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 98 testCase.testGreatestOfIterator_simple(); 99 } 100 testImmutableSortedCopy()101public void testImmutableSortedCopy() throws Exception { 102 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 103 testCase.testImmutableSortedCopy(); 104 } 105 testIsOrdered()106public void testIsOrdered() throws Exception { 107 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 108 testCase.testIsOrdered(); 109 } 110 testIsStrictlyOrdered()111public void testIsStrictlyOrdered() throws Exception { 112 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 113 testCase.testIsStrictlyOrdered(); 114 } 115 testIterableMinAndMax()116public void testIterableMinAndMax() throws Exception { 117 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 118 testCase.testIterableMinAndMax(); 119 } 120 testIteratorMaxExhaustsIterator()121public void testIteratorMaxExhaustsIterator() throws Exception { 122 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 123 testCase.testIteratorMaxExhaustsIterator(); 124 } 125 testIteratorMinAndMax()126public void testIteratorMinAndMax() throws Exception { 127 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 128 testCase.testIteratorMinAndMax(); 129 } 130 testIteratorMinExhaustsIterator()131public void testIteratorMinExhaustsIterator() throws Exception { 132 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 133 testCase.testIteratorMinExhaustsIterator(); 134 } 135 testLeastOfIterableLargeK()136public void testLeastOfIterableLargeK() throws Exception { 137 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 138 testCase.testLeastOfIterableLargeK(); 139 } 140 testLeastOfIterable_empty_0()141public void testLeastOfIterable_empty_0() throws Exception { 142 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 143 testCase.testLeastOfIterable_empty_0(); 144 } 145 testLeastOfIterable_empty_1()146public void testLeastOfIterable_empty_1() throws Exception { 147 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 148 testCase.testLeastOfIterable_empty_1(); 149 } 150 testLeastOfIterable_simple_0()151public void testLeastOfIterable_simple_0() throws Exception { 152 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 153 testCase.testLeastOfIterable_simple_0(); 154 } 155 testLeastOfIterable_simple_1()156public void testLeastOfIterable_simple_1() throws Exception { 157 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 158 testCase.testLeastOfIterable_simple_1(); 159 } 160 testLeastOfIterable_simple_n()161public void testLeastOfIterable_simple_n() throws Exception { 162 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 163 testCase.testLeastOfIterable_simple_n(); 164 } 165 testLeastOfIterable_simple_nMinusOne()166public void testLeastOfIterable_simple_nMinusOne() throws Exception { 167 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 168 testCase.testLeastOfIterable_simple_nMinusOne(); 169 } 170 testLeastOfIterable_simple_nMinusOne_withNullElement()171public void testLeastOfIterable_simple_nMinusOne_withNullElement() throws Exception { 172 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 173 testCase.testLeastOfIterable_simple_nMinusOne_withNullElement(); 174 } 175 testLeastOfIterable_simple_nPlusOne()176public void testLeastOfIterable_simple_nPlusOne() throws Exception { 177 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 178 testCase.testLeastOfIterable_simple_nPlusOne(); 179 } 180 testLeastOfIterable_simple_n_withNullElement()181public void testLeastOfIterable_simple_n_withNullElement() throws Exception { 182 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 183 testCase.testLeastOfIterable_simple_n_withNullElement(); 184 } 185 testLeastOfIterable_simple_negativeOne()186public void testLeastOfIterable_simple_negativeOne() throws Exception { 187 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 188 testCase.testLeastOfIterable_simple_negativeOne(); 189 } 190 testLeastOfIterable_singleton_0()191public void testLeastOfIterable_singleton_0() throws Exception { 192 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 193 testCase.testLeastOfIterable_singleton_0(); 194 } 195 testLeastOfIterable_ties()196public void testLeastOfIterable_ties() throws Exception { 197 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 198 testCase.testLeastOfIterable_ties(); 199 } 200 testLeastOfIteratorLargeK()201public void testLeastOfIteratorLargeK() throws Exception { 202 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 203 testCase.testLeastOfIteratorLargeK(); 204 } 205 testLeastOfIterator_empty_0()206public void testLeastOfIterator_empty_0() throws Exception { 207 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 208 testCase.testLeastOfIterator_empty_0(); 209 } 210 testLeastOfIterator_empty_1()211public void testLeastOfIterator_empty_1() throws Exception { 212 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 213 testCase.testLeastOfIterator_empty_1(); 214 } 215 testLeastOfIterator_simple_0()216public void testLeastOfIterator_simple_0() throws Exception { 217 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 218 testCase.testLeastOfIterator_simple_0(); 219 } 220 testLeastOfIterator_simple_1()221public void testLeastOfIterator_simple_1() throws Exception { 222 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 223 testCase.testLeastOfIterator_simple_1(); 224 } 225 testLeastOfIterator_simple_n()226public void testLeastOfIterator_simple_n() throws Exception { 227 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 228 testCase.testLeastOfIterator_simple_n(); 229 } 230 testLeastOfIterator_simple_nMinusOne()231public void testLeastOfIterator_simple_nMinusOne() throws Exception { 232 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 233 testCase.testLeastOfIterator_simple_nMinusOne(); 234 } 235 testLeastOfIterator_simple_nMinusOne_withNullElement()236public void testLeastOfIterator_simple_nMinusOne_withNullElement() throws Exception { 237 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 238 testCase.testLeastOfIterator_simple_nMinusOne_withNullElement(); 239 } 240 testLeastOfIterator_simple_nPlusOne()241public void testLeastOfIterator_simple_nPlusOne() throws Exception { 242 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 243 testCase.testLeastOfIterator_simple_nPlusOne(); 244 } 245 testLeastOfIterator_simple_n_withNullElement()246public void testLeastOfIterator_simple_n_withNullElement() throws Exception { 247 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 248 testCase.testLeastOfIterator_simple_n_withNullElement(); 249 } 250 testLeastOfIterator_simple_negativeOne()251public void testLeastOfIterator_simple_negativeOne() throws Exception { 252 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 253 testCase.testLeastOfIterator_simple_negativeOne(); 254 } 255 testLeastOfIterator_singleton_0()256public void testLeastOfIterator_singleton_0() throws Exception { 257 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 258 testCase.testLeastOfIterator_singleton_0(); 259 } 260 testLeastOfIterator_ties()261public void testLeastOfIterator_ties() throws Exception { 262 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 263 testCase.testLeastOfIterator_ties(); 264 } 265 testLeastOf_reconcileAgainstSortAndSublistSmall()266public void testLeastOf_reconcileAgainstSortAndSublistSmall() throws Exception { 267 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 268 testCase.testLeastOf_reconcileAgainstSortAndSublistSmall(); 269 } 270 testLexicographical()271public void testLexicographical() throws Exception { 272 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 273 testCase.testLexicographical(); 274 } 275 testNatural()276public void testNatural() throws Exception { 277 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 278 testCase.testNatural(); 279 } 280 testNullsFirst()281public void testNullsFirst() throws Exception { 282 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 283 testCase.testNullsFirst(); 284 } 285 testNullsLast()286public void testNullsLast() throws Exception { 287 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 288 testCase.testNullsLast(); 289 } 290 testOnResultOf_chained()291public void testOnResultOf_chained() throws Exception { 292 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 293 testCase.testOnResultOf_chained(); 294 } 295 testOnResultOf_natural()296public void testOnResultOf_natural() throws Exception { 297 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 298 testCase.testOnResultOf_natural(); 299 } 300 testParameterMinAndMax()301public void testParameterMinAndMax() throws Exception { 302 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 303 testCase.testParameterMinAndMax(); 304 } 305 testReverse()306public void testReverse() throws Exception { 307 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 308 testCase.testReverse(); 309 } 310 testReverseOfReverseSameAsForward()311public void testReverseOfReverseSameAsForward() throws Exception { 312 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 313 testCase.testReverseOfReverseSameAsForward(); 314 } 315 testSortedCopy()316public void testSortedCopy() throws Exception { 317 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 318 testCase.testSortedCopy(); 319 } 320 testUsingToString()321public void testUsingToString() throws Exception { 322 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 323 testCase.testUsingToString(); 324 } 325 testVarargsMinAndMax()326public void testVarargsMinAndMax() throws Exception { 327 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 328 testCase.testVarargsMinAndMax(); 329 } 330 } 331