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 OrderingTest_gwt extends com.google.gwt.junit.client.GWTTestCase { 18@Override public String getModuleName() { 19 return "com.google.common.collect.testModule"; 20} 21public void testAllEqual() throws Exception { 22 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 23 testCase.testAllEqual(); 24} 25 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 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 36public void testBinarySearch() throws Exception { 37 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 38 testCase.testBinarySearch(); 39} 40 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 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 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 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 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 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 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 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 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 86public void testFrom() throws Exception { 87 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 88 testCase.testFrom(); 89} 90 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 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 101public void testImmutableSortedCopy() throws Exception { 102 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 103 testCase.testImmutableSortedCopy(); 104} 105 106public void testIsOrdered() throws Exception { 107 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 108 testCase.testIsOrdered(); 109} 110 111public void testIsStrictlyOrdered() throws Exception { 112 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 113 testCase.testIsStrictlyOrdered(); 114} 115 116public void testIterableMinAndMax() throws Exception { 117 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 118 testCase.testIterableMinAndMax(); 119} 120 121public void testIteratorMaxExhaustsIterator() throws Exception { 122 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 123 testCase.testIteratorMaxExhaustsIterator(); 124} 125 126public void testIteratorMinAndMax() throws Exception { 127 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 128 testCase.testIteratorMinAndMax(); 129} 130 131public void testIteratorMinExhaustsIterator() throws Exception { 132 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 133 testCase.testIteratorMinExhaustsIterator(); 134} 135 136public void testLeastOfIterableLargeK() throws Exception { 137 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 138 testCase.testLeastOfIterableLargeK(); 139} 140 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 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 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 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 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 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 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 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 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 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 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 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 201public void testLeastOfIteratorLargeK() throws Exception { 202 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 203 testCase.testLeastOfIteratorLargeK(); 204} 205 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 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 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 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 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 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 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 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 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 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 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 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 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 271public void testLexicographical() throws Exception { 272 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 273 testCase.testLexicographical(); 274} 275 276public void testNatural() throws Exception { 277 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 278 testCase.testNatural(); 279} 280 281public void testNullsFirst() throws Exception { 282 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 283 testCase.testNullsFirst(); 284} 285 286public void testNullsLast() throws Exception { 287 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 288 testCase.testNullsLast(); 289} 290 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 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 301public void testParameterMinAndMax() throws Exception { 302 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 303 testCase.testParameterMinAndMax(); 304} 305 306public void testReverse() throws Exception { 307 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 308 testCase.testReverse(); 309} 310 311public void testReverseOfReverseSameAsForward() throws Exception { 312 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 313 testCase.testReverseOfReverseSameAsForward(); 314} 315 316public void testSortedCopy() throws Exception { 317 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 318 testCase.testSortedCopy(); 319} 320 321public void testUsingToString() throws Exception { 322 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 323 testCase.testUsingToString(); 324} 325 326public void testVarargsMinAndMax() throws Exception { 327 com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest(); 328 testCase.testVarargsMinAndMax(); 329} 330} 331