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 */ 16package com.google.common.base; 17public class ConverterTest_gwt extends com.google.gwt.junit.client.GWTTestCase { 18@Override public String getModuleName() { 19 return "com.google.common.base.testModule"; 20} 21public void testAndThen() throws Exception { 22 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 23 testCase.testAndThen(); 24} 25 26public void testApply() throws Exception { 27 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 28 testCase.testApply(); 29} 30 31public void testConvertAllIsView() throws Exception { 32 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 33 testCase.testConvertAllIsView(); 34} 35 36public void testConverter() throws Exception { 37 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 38 testCase.testConverter(); 39} 40 41public void testFrom() throws Exception { 42 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 43 testCase.testFrom(); 44} 45 46public void testIdentityConverter() throws Exception { 47 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 48 testCase.testIdentityConverter(); 49} 50 51public void testNullIsNotPassedThrough() throws Exception { 52 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 53 testCase.testNullIsNotPassedThrough(); 54} 55 56public void testNullIsPassedThrough() throws Exception { 57 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 58 testCase.testNullIsPassedThrough(); 59} 60 61public void testReverse() throws Exception { 62 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 63 testCase.testReverse(); 64} 65 66public void testReverseReverse() throws Exception { 67 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 68 testCase.testReverseReverse(); 69} 70 71public void testSerialization_andThen() throws Exception { 72 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 73 testCase.testSerialization_andThen(); 74} 75 76public void testSerialization_from() throws Exception { 77 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 78 testCase.testSerialization_from(); 79} 80 81public void testSerialization_identity() throws Exception { 82 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 83 testCase.testSerialization_identity(); 84} 85 86public void testSerialization_reverse() throws Exception { 87 com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest(); 88 testCase.testSerialization_reverse(); 89} 90} 91