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 { 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.BytesTest testCase = new com.google.common.primitives.BytesTest(); 23 testCase.testAsListEmpty(); 24 } 25 testAsList_isAView()26public void testAsList_isAView() throws Exception { 27 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 28 testCase.testAsList_isAView(); 29 } 30 testAsList_subList_toArray_roundTrip()31public 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 testAsList_toArray_roundTrip()36public 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 testConcat()41public void testConcat() throws Exception { 42 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 43 testCase.testConcat(); 44 } 45 testContains()46public void testContains() throws Exception { 47 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 48 testCase.testContains(); 49 } 50 testEnsureCapacity()51public void testEnsureCapacity() throws Exception { 52 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 53 testCase.testEnsureCapacity(); 54 } 55 testEnsureCapacity_fail()56public void testEnsureCapacity_fail() throws Exception { 57 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 58 testCase.testEnsureCapacity_fail(); 59 } 60 testHashCode()61public void testHashCode() throws Exception { 62 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 63 testCase.testHashCode(); 64 } 65 testIndexOf()66public void testIndexOf() throws Exception { 67 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 68 testCase.testIndexOf(); 69 } 70 testIndexOf_arrayTarget()71public void testIndexOf_arrayTarget() throws Exception { 72 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 73 testCase.testIndexOf_arrayTarget(); 74 } 75 testLastIndexOf()76public void testLastIndexOf() throws Exception { 77 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 78 testCase.testLastIndexOf(); 79 } 80 testToArray()81public void testToArray() throws Exception { 82 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 83 testCase.testToArray(); 84 } 85 testToArray_threadSafe()86public void testToArray_threadSafe() throws Exception { 87 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 88 testCase.testToArray_threadSafe(); 89 } 90 testToArray_withConversion()91public void testToArray_withConversion() throws Exception { 92 com.google.common.primitives.BytesTest testCase = new com.google.common.primitives.BytesTest(); 93 testCase.testToArray_withConversion(); 94 } 95 testToArray_withNull()96public 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