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