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 CharMatcherTest_gwt extends com.google.gwt.junit.client.GWTTestCase { 18@Override public String getModuleName() { 19 return "com.google.common.base.testModule"; 20} 21public void testAllMatches() throws Exception { 22 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 23 testCase.testAllMatches(); 24} 25 26public void testAnyAndNone_logicalOps() throws Exception { 27 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 28 testCase.testAnyAndNone_logicalOps(); 29} 30 31public void testCollapse() throws Exception { 32 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 33 testCase.testCollapse(); 34} 35 36public void testCollapse_any() throws Exception { 37 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 38 testCase.testCollapse_any(); 39} 40 41public void testEmpty() throws Exception { 42 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 43 testCase.testEmpty(); 44} 45 46public void testGeneral() throws Exception { 47 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 48 testCase.testGeneral(); 49} 50 51public void testNoMatches() throws Exception { 52 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 53 testCase.testNoMatches(); 54} 55 56public void testPrecomputedOptimizations() throws Exception { 57 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 58 testCase.testPrecomputedOptimizations(); 59} 60 61public void testReplaceFrom() throws Exception { 62 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 63 testCase.testReplaceFrom(); 64} 65 66public void testToString() throws Exception { 67 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 68 testCase.testToString(); 69} 70 71public void testTrimAndCollapse() throws Exception { 72 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 73 testCase.testTrimAndCollapse(); 74} 75 76public void testTrimFrom() throws Exception { 77 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 78 testCase.testTrimFrom(); 79} 80 81public void testTrimLeadingFrom() throws Exception { 82 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 83 testCase.testTrimLeadingFrom(); 84} 85 86public void testTrimTrailingFrom() throws Exception { 87 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 88 testCase.testTrimTrailingFrom(); 89} 90 91public void testWhitespaceBreakingWhitespaceSubset() throws Exception { 92 com.google.common.base.CharMatcherTest testCase = new com.google.common.base.CharMatcherTest(); 93 testCase.testWhitespaceBreakingWhitespaceSubset(); 94} 95} 96