Home | History | Annotate | Download | only in collect
      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 {
     18 @Override public String getModuleName() {
     19   return "com.google.common.collect.testModule";
     20 }
     21 public void testAllEqual() throws Exception {
     22   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     23   testCase.testAllEqual();
     24 }
     25 
     26 public void testArbitrary_withCollisions() throws Exception {
     27   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     28   testCase.testArbitrary_withCollisions();
     29 }
     30 
     31 public void testArbitrary_withoutCollisions() throws Exception {
     32   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     33   testCase.testArbitrary_withoutCollisions();
     34 }
     35 
     36 public void testBinarySearch() throws Exception {
     37   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     38   testCase.testBinarySearch();
     39 }
     40 
     41 public void testCombinationsExhaustively_startingFromNatural() throws Exception {
     42   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     43   testCase.testCombinationsExhaustively_startingFromNatural();
     44 }
     45 
     46 public void testCompound_instance() throws Exception {
     47   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     48   testCase.testCompound_instance();
     49 }
     50 
     51 public 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 
     56 public void testCompound_static() throws Exception {
     57   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     58   testCase.testCompound_static();
     59 }
     60 
     61 public void testExplicit_none() throws Exception {
     62   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     63   testCase.testExplicit_none();
     64 }
     65 
     66 public void testExplicit_one() throws Exception {
     67   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     68   testCase.testExplicit_one();
     69 }
     70 
     71 public void testExplicit_sortingExample() throws Exception {
     72   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     73   testCase.testExplicit_sortingExample();
     74 }
     75 
     76 public void testExplicit_two() throws Exception {
     77   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     78   testCase.testExplicit_two();
     79 }
     80 
     81 public void testExplicit_withDuplicates() throws Exception {
     82   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     83   testCase.testExplicit_withDuplicates();
     84 }
     85 
     86 public void testFrom() throws Exception {
     87   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     88   testCase.testFrom();
     89 }
     90 
     91 public void testGreatestOfIterable_simple() throws Exception {
     92   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     93   testCase.testGreatestOfIterable_simple();
     94 }
     95 
     96 public void testGreatestOfIterator_simple() throws Exception {
     97   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
     98   testCase.testGreatestOfIterator_simple();
     99 }
    100 
    101 public void testImmutableSortedCopy() throws Exception {
    102   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    103   testCase.testImmutableSortedCopy();
    104 }
    105 
    106 public void testIsOrdered() throws Exception {
    107   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    108   testCase.testIsOrdered();
    109 }
    110 
    111 public void testIsStrictlyOrdered() throws Exception {
    112   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    113   testCase.testIsStrictlyOrdered();
    114 }
    115 
    116 public void testIterableMinAndMax() throws Exception {
    117   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    118   testCase.testIterableMinAndMax();
    119 }
    120 
    121 public void testIteratorMaxExhaustsIterator() throws Exception {
    122   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    123   testCase.testIteratorMaxExhaustsIterator();
    124 }
    125 
    126 public void testIteratorMinAndMax() throws Exception {
    127   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    128   testCase.testIteratorMinAndMax();
    129 }
    130 
    131 public void testIteratorMinExhaustsIterator() throws Exception {
    132   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    133   testCase.testIteratorMinExhaustsIterator();
    134 }
    135 
    136 public void testLeastOfIterableLargeK() throws Exception {
    137   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    138   testCase.testLeastOfIterableLargeK();
    139 }
    140 
    141 public 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 
    146 public 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 
    151 public 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 
    156 public 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 
    161 public 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 
    166 public 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 
    171 public 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 
    176 public 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 
    181 public 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 
    186 public 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 
    191 public 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 
    196 public void testLeastOfIterable_ties() throws Exception {
    197   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    198   testCase.testLeastOfIterable_ties();
    199 }
    200 
    201 public void testLeastOfIteratorLargeK() throws Exception {
    202   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    203   testCase.testLeastOfIteratorLargeK();
    204 }
    205 
    206 public 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 
    211 public 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 
    216 public 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 
    221 public 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 
    226 public 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 
    231 public 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 
    236 public 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 
    241 public 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 
    246 public 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 
    251 public 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 
    256 public 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 
    261 public void testLeastOfIterator_ties() throws Exception {
    262   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    263   testCase.testLeastOfIterator_ties();
    264 }
    265 
    266 public void testLeastOf_reconcileAgainstSortAndSublistSmall() throws Exception {
    267   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    268   testCase.testLeastOf_reconcileAgainstSortAndSublistSmall();
    269 }
    270 
    271 public void testLexicographical() throws Exception {
    272   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    273   testCase.testLexicographical();
    274 }
    275 
    276 public void testNatural() throws Exception {
    277   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    278   testCase.testNatural();
    279 }
    280 
    281 public void testNullsFirst() throws Exception {
    282   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    283   testCase.testNullsFirst();
    284 }
    285 
    286 public void testNullsLast() throws Exception {
    287   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    288   testCase.testNullsLast();
    289 }
    290 
    291 public void testOnResultOf_chained() throws Exception {
    292   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    293   testCase.testOnResultOf_chained();
    294 }
    295 
    296 public void testOnResultOf_natural() throws Exception {
    297   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    298   testCase.testOnResultOf_natural();
    299 }
    300 
    301 public void testParameterMinAndMax() throws Exception {
    302   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    303   testCase.testParameterMinAndMax();
    304 }
    305 
    306 public void testReverse() throws Exception {
    307   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    308   testCase.testReverse();
    309 }
    310 
    311 public void testReverseOfReverseSameAsForward() throws Exception {
    312   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    313   testCase.testReverseOfReverseSameAsForward();
    314 }
    315 
    316 public void testSortedCopy() throws Exception {
    317   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    318   testCase.testSortedCopy();
    319 }
    320 
    321 public void testUsingToString() throws Exception {
    322   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    323   testCase.testUsingToString();
    324 }
    325 
    326 public void testVarargsMinAndMax() throws Exception {
    327   com.google.common.collect.OrderingTest testCase = new com.google.common.collect.OrderingTest();
    328   testCase.testVarargsMinAndMax();
    329 }
    330 }
    331