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