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 ToStringHelperTest_gwt extends com.google.gwt.junit.client.GWTTestCase { 18 @Override public String getModuleName() { 19 return "com.google.common.base.testModule"; 20 } 21 public void testConstructorLenient_anonymousClass() throws Exception { 22 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 23 testCase.testConstructorLenient_anonymousClass(); 24 } 25 26 public void testConstructorLenient_classObject() throws Exception { 27 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 28 testCase.testConstructorLenient_classObject(); 29 } 30 31 public void testConstructorLenient_innerClass() throws Exception { 32 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 33 testCase.testConstructorLenient_innerClass(); 34 } 35 36 public void testConstructorLenient_instance() throws Exception { 37 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 38 testCase.testConstructorLenient_instance(); 39 } 40 41 public void testConstructor_stringObject() throws Exception { 42 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 43 testCase.testConstructor_stringObject(); 44 } 45 46 public void testToStringHelperLenient_localInnerClass() throws Exception { 47 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 48 testCase.testToStringHelperLenient_localInnerClass(); 49 } 50 51 public void testToStringHelperLenient_localInnerNestedClass() throws Exception { 52 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 53 testCase.testToStringHelperLenient_localInnerNestedClass(); 54 } 55 56 public void testToStringHelperLenient_moreThanNineAnonymousClasses() throws Exception { 57 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 58 testCase.testToStringHelperLenient_moreThanNineAnonymousClasses(); 59 } 60 61 public void testToStringLenient_addValue() throws Exception { 62 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 63 testCase.testToStringLenient_addValue(); 64 } 65 66 public void testToStringLenient_addValueWithNullValue() throws Exception { 67 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 68 testCase.testToStringLenient_addValueWithNullValue(); 69 } 70 71 public void testToStringLenient_addWithNullValue() throws Exception { 72 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 73 testCase.testToStringLenient_addWithNullValue(); 74 } 75 76 public void testToStringLenient_complexFields() throws Exception { 77 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 78 testCase.testToStringLenient_complexFields(); 79 } 80 81 public void testToStringLenient_nullInteger() throws Exception { 82 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 83 testCase.testToStringLenient_nullInteger(); 84 } 85 86 public void testToStringLenient_oneField() throws Exception { 87 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 88 testCase.testToStringLenient_oneField(); 89 } 90 91 public void testToStringLenient_oneIntegerField() throws Exception { 92 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 93 testCase.testToStringLenient_oneIntegerField(); 94 } 95 96 public void testToString_addWithNullName() throws Exception { 97 com.google.common.base.ToStringHelperTest testCase = new com.google.common.base.ToStringHelperTest(); 98 testCase.testToString_addWithNullName(); 99 } 100 } 101