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.base; 17 public class StringsTest_gwt extends com.google.gwt.junit.client.GWTTestCase { getModuleName()18@Override public String getModuleName() { 19 return "com.google.common.base.testModule"; 20 } testCommonPrefix()21public void testCommonPrefix() throws Exception { 22 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 23 testCase.testCommonPrefix(); 24 } 25 testCommonSuffix()26public void testCommonSuffix() throws Exception { 27 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 28 testCase.testCommonSuffix(); 29 } 30 testEmptyToNull()31public void testEmptyToNull() throws Exception { 32 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 33 testCase.testEmptyToNull(); 34 } 35 testIsNullOrEmpty()36public void testIsNullOrEmpty() throws Exception { 37 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 38 testCase.testIsNullOrEmpty(); 39 } 40 testLenientFormat()41public void testLenientFormat() throws Exception { 42 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 43 testCase.testLenientFormat(); 44 } 45 testLenientFormat_badArgumentToString_gwtFriendly()46public void testLenientFormat_badArgumentToString_gwtFriendly() throws Exception { 47 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 48 testCase.testLenientFormat_badArgumentToString_gwtFriendly(); 49 } 50 testNullToEmpty()51public void testNullToEmpty() throws Exception { 52 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 53 testCase.testNullToEmpty(); 54 } 55 testPadEnd_negativeMinLength()56public void testPadEnd_negativeMinLength() throws Exception { 57 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 58 testCase.testPadEnd_negativeMinLength(); 59 } 60 testPadEnd_noPadding()61public void testPadEnd_noPadding() throws Exception { 62 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 63 testCase.testPadEnd_noPadding(); 64 } 65 testPadEnd_null()66public void testPadEnd_null() throws Exception { 67 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 68 testCase.testPadEnd_null(); 69 } 70 testPadEnd_somePadding()71public void testPadEnd_somePadding() throws Exception { 72 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 73 testCase.testPadEnd_somePadding(); 74 } 75 testPadStart_negativeMinLength()76public void testPadStart_negativeMinLength() throws Exception { 77 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 78 testCase.testPadStart_negativeMinLength(); 79 } 80 testPadStart_noPadding()81public void testPadStart_noPadding() throws Exception { 82 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 83 testCase.testPadStart_noPadding(); 84 } 85 testPadStart_null()86public void testPadStart_null() throws Exception { 87 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 88 testCase.testPadStart_null(); 89 } 90 testPadStart_somePadding()91public void testPadStart_somePadding() throws Exception { 92 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 93 testCase.testPadStart_somePadding(); 94 } 95 testRepeat()96public void testRepeat() throws Exception { 97 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 98 testCase.testRepeat(); 99 } 100 testRepeat_null()101public void testRepeat_null() throws Exception { 102 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 103 testCase.testRepeat_null(); 104 } 105 testValidSurrogatePairAt()106public void testValidSurrogatePairAt() throws Exception { 107 com.google.common.base.StringsTest testCase = new com.google.common.base.StringsTest(); 108 testCase.testValidSurrogatePairAt(); 109 } 110 } 111