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.io;
17 public class BaseEncodingTest_gwt extends com.google.gwt.junit.client.GWTTestCase {
18 @Override public String getModuleName() {
19   return "com.google.common.io.testModule";
20 }
21 public void testAtMostOneSeparator() throws Exception {
22   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
23   testCase.testAtMostOneSeparator();
24 }
25 
26 public void testBase16() throws Exception {
27   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
28   testCase.testBase16();
29 }
30 
31 public void testBase16UpperCaseIsNoOp() throws Exception {
32   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
33   testCase.testBase16UpperCaseIsNoOp();
34 }
35 
36 public void testBase32() throws Exception {
37   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
38   testCase.testBase32();
39 }
40 
41 public void testBase32AlternatePadding() throws Exception {
42   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
43   testCase.testBase32AlternatePadding();
44 }
45 
46 public void testBase32Hex() throws Exception {
47   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
48   testCase.testBase32Hex();
49 }
50 
51 public void testBase32HexInvalidDecodings() throws Exception {
52   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
53   testCase.testBase32HexInvalidDecodings();
54 }
55 
56 public void testBase32HexLenientPadding() throws Exception {
57   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
58   testCase.testBase32HexLenientPadding();
59 }
60 
61 public void testBase32HexUpperCaseIsNoOp() throws Exception {
62   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
63   testCase.testBase32HexUpperCaseIsNoOp();
64 }
65 
66 public void testBase32InvalidDecodings() throws Exception {
67   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
68   testCase.testBase32InvalidDecodings();
69 }
70 
71 public void testBase32LenientPadding() throws Exception {
72   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
73   testCase.testBase32LenientPadding();
74 }
75 
76 public void testBase32UpperCaseIsNoOp() throws Exception {
77   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
78   testCase.testBase32UpperCaseIsNoOp();
79 }
80 
81 public void testBase64() throws Exception {
82   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
83   testCase.testBase64();
84 }
85 
86 public void testBase64AlternatePadding() throws Exception {
87   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
88   testCase.testBase64AlternatePadding();
89 }
90 
91 public void testBase64CannotLowerCase() throws Exception {
92   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
93   testCase.testBase64CannotLowerCase();
94 }
95 
96 public void testBase64CannotUpperCase() throws Exception {
97   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
98   testCase.testBase64CannotUpperCase();
99 }
100 
101 public void testBase64InvalidDecodings() throws Exception {
102   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
103   testCase.testBase64InvalidDecodings();
104 }
105 
106 public void testBase64LenientPadding() throws Exception {
107   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
108   testCase.testBase64LenientPadding();
109 }
110 
111 public void testBase64OmitPadding() throws Exception {
112   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
113   testCase.testBase64OmitPadding();
114 }
115 
116 public void testSeparatorSameAsPadChar() throws Exception {
117   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
118   testCase.testSeparatorSameAsPadChar();
119 }
120 
121 public void testSeparatorsExplicitly() throws Exception {
122   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
123   testCase.testSeparatorsExplicitly();
124 }
125 
126 public void testToString() throws Exception {
127   com.google.common.io.BaseEncodingTest testCase = new com.google.common.io.BaseEncodingTest();
128   testCase.testToString();
129 }
130 }
131