10888a09821a98ac0680fad765217302858e70fa4Paul Duffin/*
20888a09821a98ac0680fad765217302858e70fa4Paul Duffin * Copyright (C) 2008 The Guava Authors
30888a09821a98ac0680fad765217302858e70fa4Paul Duffin *
40888a09821a98ac0680fad765217302858e70fa4Paul Duffin * Licensed under the Apache License, Version 2.0 (the "License");
50888a09821a98ac0680fad765217302858e70fa4Paul Duffin * you may not use this file except in compliance with the License.
60888a09821a98ac0680fad765217302858e70fa4Paul Duffin * You may obtain a copy of the License at
70888a09821a98ac0680fad765217302858e70fa4Paul Duffin *
80888a09821a98ac0680fad765217302858e70fa4Paul Duffin * http://www.apache.org/licenses/LICENSE-2.0
90888a09821a98ac0680fad765217302858e70fa4Paul Duffin *
100888a09821a98ac0680fad765217302858e70fa4Paul Duffin * Unless required by applicable law or agreed to in writing, software
110888a09821a98ac0680fad765217302858e70fa4Paul Duffin * distributed under the License is distributed on an "AS IS" BASIS,
120888a09821a98ac0680fad765217302858e70fa4Paul Duffin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
130888a09821a98ac0680fad765217302858e70fa4Paul Duffin * See the License for the specific language governing permissions and
140888a09821a98ac0680fad765217302858e70fa4Paul Duffin * limitations under the License.
150888a09821a98ac0680fad765217302858e70fa4Paul Duffin */
160888a09821a98ac0680fad765217302858e70fa4Paul Duffinpackage com.google.common.base;
170888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic class ConverterTest_gwt extends com.google.gwt.junit.client.GWTTestCase {
180888a09821a98ac0680fad765217302858e70fa4Paul Duffin@Override public String getModuleName() {
190888a09821a98ac0680fad765217302858e70fa4Paul Duffin  return "com.google.common.base.testModule";
200888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
210888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testAndThen() throws Exception {
220888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
230888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testAndThen();
240888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
250888a09821a98ac0680fad765217302858e70fa4Paul Duffin
260888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testApply() throws Exception {
270888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
280888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testApply();
290888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
300888a09821a98ac0680fad765217302858e70fa4Paul Duffin
310888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testConvertAllIsView() throws Exception {
320888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
330888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testConvertAllIsView();
340888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
350888a09821a98ac0680fad765217302858e70fa4Paul Duffin
360888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testConverter() throws Exception {
370888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
380888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testConverter();
390888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
400888a09821a98ac0680fad765217302858e70fa4Paul Duffin
410888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testFrom() throws Exception {
420888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
430888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testFrom();
440888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
450888a09821a98ac0680fad765217302858e70fa4Paul Duffin
460888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testIdentityConverter() throws Exception {
470888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
480888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testIdentityConverter();
490888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
500888a09821a98ac0680fad765217302858e70fa4Paul Duffin
510888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testNullIsNotPassedThrough() throws Exception {
520888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
530888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testNullIsNotPassedThrough();
540888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
550888a09821a98ac0680fad765217302858e70fa4Paul Duffin
560888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testNullIsPassedThrough() throws Exception {
570888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
580888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testNullIsPassedThrough();
590888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
600888a09821a98ac0680fad765217302858e70fa4Paul Duffin
610888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testReverse() throws Exception {
620888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
630888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testReverse();
640888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
650888a09821a98ac0680fad765217302858e70fa4Paul Duffin
660888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testReverseReverse() throws Exception {
670888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
680888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testReverseReverse();
690888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
700888a09821a98ac0680fad765217302858e70fa4Paul Duffin
710888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSerialization_andThen() throws Exception {
720888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
730888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testSerialization_andThen();
740888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
750888a09821a98ac0680fad765217302858e70fa4Paul Duffin
760888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSerialization_from() throws Exception {
770888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
780888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testSerialization_from();
790888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
800888a09821a98ac0680fad765217302858e70fa4Paul Duffin
810888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSerialization_identity() throws Exception {
820888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
830888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testSerialization_identity();
840888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
850888a09821a98ac0680fad765217302858e70fa4Paul Duffin
860888a09821a98ac0680fad765217302858e70fa4Paul Duffinpublic void testSerialization_reverse() throws Exception {
870888a09821a98ac0680fad765217302858e70fa4Paul Duffin  com.google.common.base.ConverterTest testCase = new com.google.common.base.ConverterTest();
880888a09821a98ac0680fad765217302858e70fa4Paul Duffin  testCase.testSerialization_reverse();
890888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
900888a09821a98ac0680fad765217302858e70fa4Paul Duffin}
91