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.primitives; 17 public class ShortsTest_gwt extends com.google.gwt.junit.client.GWTTestCase { getModuleName()18@Override public String getModuleName() { 19 return "com.google.common.primitives.testModule"; 20 } testAsListEmpty()21public void testAsListEmpty() throws Exception { 22 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 23 testCase.testAsListEmpty(); 24 } 25 testAsList_isAView()26public void testAsList_isAView() throws Exception { 27 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 28 testCase.testAsList_isAView(); 29 } 30 testAsList_subList_toArray_roundTrip()31public void testAsList_subList_toArray_roundTrip() throws Exception { 32 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 33 testCase.testAsList_subList_toArray_roundTrip(); 34 } 35 testAsList_toArray_roundTrip()36public void testAsList_toArray_roundTrip() throws Exception { 37 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 38 testCase.testAsList_toArray_roundTrip(); 39 } 40 testCheckedCast()41public void testCheckedCast() throws Exception { 42 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 43 testCase.testCheckedCast(); 44 } 45 testCompare()46public void testCompare() throws Exception { 47 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 48 testCase.testCompare(); 49 } 50 testConcat()51public void testConcat() throws Exception { 52 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 53 testCase.testConcat(); 54 } 55 testConstrainToRange()56public void testConstrainToRange() throws Exception { 57 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 58 testCase.testConstrainToRange(); 59 } 60 testContains()61public void testContains() throws Exception { 62 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 63 testCase.testContains(); 64 } 65 testEnsureCapacity()66public void testEnsureCapacity() throws Exception { 67 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 68 testCase.testEnsureCapacity(); 69 } 70 testEnsureCapacity_fail()71public void testEnsureCapacity_fail() throws Exception { 72 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 73 testCase.testEnsureCapacity_fail(); 74 } 75 testHashCode()76public void testHashCode() throws Exception { 77 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 78 testCase.testHashCode(); 79 } 80 testIndexOf()81public void testIndexOf() throws Exception { 82 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 83 testCase.testIndexOf(); 84 } 85 testIndexOf_arrayTarget()86public void testIndexOf_arrayTarget() throws Exception { 87 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 88 testCase.testIndexOf_arrayTarget(); 89 } 90 testJoin()91public void testJoin() throws Exception { 92 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 93 testCase.testJoin(); 94 } 95 testLastIndexOf()96public void testLastIndexOf() throws Exception { 97 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 98 testCase.testLastIndexOf(); 99 } 100 testLexicographicalComparator()101public void testLexicographicalComparator() throws Exception { 102 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 103 testCase.testLexicographicalComparator(); 104 } 105 testMax()106public void testMax() throws Exception { 107 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 108 testCase.testMax(); 109 } 110 testMax_noArgs()111public void testMax_noArgs() throws Exception { 112 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 113 testCase.testMax_noArgs(); 114 } 115 testMin()116public void testMin() throws Exception { 117 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 118 testCase.testMin(); 119 } 120 testMin_noArgs()121public void testMin_noArgs() throws Exception { 122 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 123 testCase.testMin_noArgs(); 124 } 125 testReverse()126public void testReverse() throws Exception { 127 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 128 testCase.testReverse(); 129 } 130 testReverseIndexed()131public void testReverseIndexed() throws Exception { 132 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 133 testCase.testReverseIndexed(); 134 } 135 testSaturatedCast()136public void testSaturatedCast() throws Exception { 137 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 138 testCase.testSaturatedCast(); 139 } 140 testSortDescending()141public void testSortDescending() throws Exception { 142 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 143 testCase.testSortDescending(); 144 } 145 testSortDescendingIndexed()146public void testSortDescendingIndexed() throws Exception { 147 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 148 testCase.testSortDescendingIndexed(); 149 } 150 testStringConverter_convert()151public void testStringConverter_convert() throws Exception { 152 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 153 testCase.testStringConverter_convert(); 154 } 155 testStringConverter_convertError()156public void testStringConverter_convertError() throws Exception { 157 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 158 testCase.testStringConverter_convertError(); 159 } 160 testStringConverter_nullConversions()161public void testStringConverter_nullConversions() throws Exception { 162 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 163 testCase.testStringConverter_nullConversions(); 164 } 165 testStringConverter_reverse()166public void testStringConverter_reverse() throws Exception { 167 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 168 testCase.testStringConverter_reverse(); 169 } 170 testToArray()171public void testToArray() throws Exception { 172 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 173 testCase.testToArray(); 174 } 175 testToArray_threadSafe()176public void testToArray_threadSafe() throws Exception { 177 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 178 testCase.testToArray_threadSafe(); 179 } 180 testToArray_withConversion()181public void testToArray_withConversion() throws Exception { 182 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 183 testCase.testToArray_withConversion(); 184 } 185 testToArray_withNull()186public void testToArray_withNull() throws Exception { 187 com.google.common.primitives.ShortsTest testCase = new com.google.common.primitives.ShortsTest(); 188 testCase.testToArray_withNull(); 189 } 190 } 191