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 BytesTest_gwt extends com.google.gwt.junit.client.GWTTestCase { 18 @Override public String getModuleName() { 19 return "com.google.common.primitives.testModule"; 20 } 21 public void testAsListEmpty() throws Exception { 22 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 23 testCase.testAsListEmpty(); 24 } 25 26 public void testAsList_isAView() throws Exception { 27 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 28 testCase.testAsList_isAView(); 29 } 30 31 public void testAsList_subList_toArray_roundTrip() throws Exception { 32 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 33 testCase.testAsList_subList_toArray_roundTrip(); 34 } 35 36 public void testAsList_toArray_roundTrip() throws Exception { 37 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 38 testCase.testAsList_toArray_roundTrip(); 39 } 40 41 public void testConcat() throws Exception { 42 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 43 testCase.testConcat(); 44 } 45 46 public void testContains() throws Exception { 47 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 48 testCase.testContains(); 49 } 50 51 public void testEnsureCapacity() throws Exception { 52 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 53 testCase.testEnsureCapacity(); 54 } 55 56 public void testEnsureCapacity_fail() throws Exception { 57 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 58 testCase.testEnsureCapacity_fail(); 59 } 60 61 public void testHashCode() throws Exception { 62 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 63 testCase.testHashCode(); 64 } 65 66 public void testIndexOf() throws Exception { 67 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 68 testCase.testIndexOf(); 69 } 70 71 public void testIndexOf_arrayTarget() throws Exception { 72 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 73 testCase.testIndexOf_arrayTarget(); 74 } 75 76 public void testLastIndexOf() throws Exception { 77 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 78 testCase.testLastIndexOf(); 79 } 80 81 public void testToArray() throws Exception { 82 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 83 testCase.testToArray(); 84 } 85 86 public void testToArray_threadSafe() throws Exception { 87 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 88 testCase.testToArray_threadSafe(); 89 } 90 91 public void testToArray_withConversion() throws Exception { 92 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 93 testCase.testToArray_withConversion(); 94 } 95 96 public void testToArray_withNull() throws Exception { 97 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 98 testCase.testToArray_withNull(); 99 } 100 } 101