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 GeneralRangeTest_gwt extends com.google.gwt.junit.client.GWTTestCase { 18 @Override public String getModuleName() { 19 return "com.google.common.collect.testModule"; 20 } 21 public void testCreateEmptyRangeClosedOpenSucceeds() throws Exception { 22 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 23 testCase.testCreateEmptyRangeClosedOpenSucceeds(); 24 } 25 26 public void testCreateEmptyRangeFails() throws Exception { 27 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 28 testCase.testCreateEmptyRangeFails(); 29 } 30 31 public void testCreateEmptyRangeOpenClosedSucceeds() throws Exception { 32 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 33 testCase.testCreateEmptyRangeOpenClosedSucceeds(); 34 } 35 36 public void testCreateEmptyRangeOpenOpenFails() throws Exception { 37 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 38 testCase.testCreateEmptyRangeOpenOpenFails(); 39 } 40 41 public void testCreateSingletonRangeSucceeds() throws Exception { 42 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 43 testCase.testCreateSingletonRangeSucceeds(); 44 } 45 46 public void testDoublyBoundedAgainstRange() throws Exception { 47 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 48 testCase.testDoublyBoundedAgainstRange(); 49 } 50 51 public void testFromRangeAll() throws Exception { 52 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 53 testCase.testFromRangeAll(); 54 } 55 56 public void testFromRangeOneEnd() throws Exception { 57 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 58 testCase.testFromRangeOneEnd(); 59 } 60 61 public void testFromRangeTwoEnds() throws Exception { 62 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 63 testCase.testFromRangeTwoEnds(); 64 } 65 66 public void testIntersectAgainstBiggerRange() throws Exception { 67 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 68 testCase.testIntersectAgainstBiggerRange(); 69 } 70 71 public void testIntersectAgainstMatchingEndpointsRange() throws Exception { 72 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 73 testCase.testIntersectAgainstMatchingEndpointsRange(); 74 } 75 76 public void testIntersectAgainstSmallerRange() throws Exception { 77 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 78 testCase.testIntersectAgainstSmallerRange(); 79 } 80 81 public void testIntersectNonOverlappingRange() throws Exception { 82 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 83 testCase.testIntersectNonOverlappingRange(); 84 } 85 86 public void testIntersectOverlappingRange() throws Exception { 87 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 88 testCase.testIntersectOverlappingRange(); 89 } 90 91 public void testLowerRange() throws Exception { 92 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 93 testCase.testLowerRange(); 94 } 95 96 public void testReverse() throws Exception { 97 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 98 testCase.testReverse(); 99 } 100 101 public void testSingletonRange() throws Exception { 102 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 103 testCase.testSingletonRange(); 104 } 105 106 public void testUpperRange() throws Exception { 107 com.google.common.collect.GeneralRangeTest testCase = new com.google.common.collect.GeneralRangeTest(); 108 testCase.testUpperRange(); 109 } 110 } 111