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