• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.base;
17 public class SplitterTest_gwt extends com.google.gwt.junit.client.GWTTestCase {
getModuleName()18 @Override public String getModuleName() {
19   return "com.google.common.base.testModule";
20 }
testCharacterSimpleSplit()21 public void testCharacterSimpleSplit() throws Exception {
22   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
23   testCase.testCharacterSimpleSplit();
24 }
25 
testCharacterSimpleSplitToList()26 public void testCharacterSimpleSplitToList() throws Exception {
27   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
28   testCase.testCharacterSimpleSplitToList();
29 }
30 
testCharacterSimpleSplitWithNoDelimiter()31 public void testCharacterSimpleSplitWithNoDelimiter() throws Exception {
32   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
33   testCase.testCharacterSimpleSplitWithNoDelimiter();
34 }
35 
testCharacterSplitEmptyToken()36 public void testCharacterSplitEmptyToken() throws Exception {
37   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
38   testCase.testCharacterSplitEmptyToken();
39 }
40 
testCharacterSplitEmptyTokenOmitEmptyStrings()41 public void testCharacterSplitEmptyTokenOmitEmptyStrings() throws Exception {
42   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
43   testCase.testCharacterSplitEmptyTokenOmitEmptyStrings();
44 }
45 
testCharacterSplitOnEmptyString()46 public void testCharacterSplitOnEmptyString() throws Exception {
47   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
48   testCase.testCharacterSplitOnEmptyString();
49 }
50 
testCharacterSplitOnEmptyStringOmitEmptyStrings()51 public void testCharacterSplitOnEmptyStringOmitEmptyStrings() throws Exception {
52   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
53   testCase.testCharacterSplitOnEmptyStringOmitEmptyStrings();
54 }
55 
testCharacterSplitOnOnlyDelimiter()56 public void testCharacterSplitOnOnlyDelimiter() throws Exception {
57   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
58   testCase.testCharacterSplitOnOnlyDelimiter();
59 }
60 
testCharacterSplitOnOnlyDelimitersOmitEmptyStrings()61 public void testCharacterSplitOnOnlyDelimitersOmitEmptyStrings() throws Exception {
62   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
63   testCase.testCharacterSplitOnOnlyDelimitersOmitEmptyStrings();
64 }
65 
testCharacterSplitWithDoubleDelimiter()66 public void testCharacterSplitWithDoubleDelimiter() throws Exception {
67   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
68   testCase.testCharacterSplitWithDoubleDelimiter();
69 }
70 
testCharacterSplitWithDoubleDelimiterAndSpace()71 public void testCharacterSplitWithDoubleDelimiterAndSpace() throws Exception {
72   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
73   testCase.testCharacterSplitWithDoubleDelimiterAndSpace();
74 }
75 
testCharacterSplitWithDoubleDelimiterOmitEmptyStrings()76 public void testCharacterSplitWithDoubleDelimiterOmitEmptyStrings() throws Exception {
77   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
78   testCase.testCharacterSplitWithDoubleDelimiterOmitEmptyStrings();
79 }
80 
testCharacterSplitWithLeadingDelimiter()81 public void testCharacterSplitWithLeadingDelimiter() throws Exception {
82   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
83   testCase.testCharacterSplitWithLeadingDelimiter();
84 }
85 
testCharacterSplitWithMatcherDelimiter()86 public void testCharacterSplitWithMatcherDelimiter() throws Exception {
87   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
88   testCase.testCharacterSplitWithMatcherDelimiter();
89 }
90 
testCharacterSplitWithMultipleLetters()91 public void testCharacterSplitWithMultipleLetters() throws Exception {
92   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
93   testCase.testCharacterSplitWithMultipleLetters();
94 }
95 
testCharacterSplitWithTrailingDelimiter()96 public void testCharacterSplitWithTrailingDelimiter() throws Exception {
97   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
98   testCase.testCharacterSplitWithTrailingDelimiter();
99 }
100 
testCharacterSplitWithTrim()101 public void testCharacterSplitWithTrim() throws Exception {
102   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
103   testCase.testCharacterSplitWithTrim();
104 }
105 
testFixedLengthSimpleSplit()106 public void testFixedLengthSimpleSplit() throws Exception {
107   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
108   testCase.testFixedLengthSimpleSplit();
109 }
110 
testFixedLengthSplitEmptyString()111 public void testFixedLengthSplitEmptyString() throws Exception {
112   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
113   testCase.testFixedLengthSplitEmptyString();
114 }
115 
testFixedLengthSplitEmptyStringWithOmitEmptyStrings()116 public void testFixedLengthSplitEmptyStringWithOmitEmptyStrings() throws Exception {
117   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
118   testCase.testFixedLengthSplitEmptyStringWithOmitEmptyStrings();
119 }
120 
testFixedLengthSplitEqualChunkLength()121 public void testFixedLengthSplitEqualChunkLength() throws Exception {
122   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
123   testCase.testFixedLengthSplitEqualChunkLength();
124 }
125 
testFixedLengthSplitIntoChars()126 public void testFixedLengthSplitIntoChars() throws Exception {
127   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
128   testCase.testFixedLengthSplitIntoChars();
129 }
130 
testFixedLengthSplitNegativeChunkLen()131 public void testFixedLengthSplitNegativeChunkLen() throws Exception {
132   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
133   testCase.testFixedLengthSplitNegativeChunkLen();
134 }
135 
testFixedLengthSplitOnlyOneChunk()136 public void testFixedLengthSplitOnlyOneChunk() throws Exception {
137   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
138   testCase.testFixedLengthSplitOnlyOneChunk();
139 }
140 
testFixedLengthSplitSmallerString()141 public void testFixedLengthSplitSmallerString() throws Exception {
142   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
143   testCase.testFixedLengthSplitSmallerString();
144 }
145 
testFixedLengthSplitZeroChunkLen()146 public void testFixedLengthSplitZeroChunkLen() throws Exception {
147   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
148   testCase.testFixedLengthSplitZeroChunkLen();
149 }
150 
testInvalidZeroLimit()151 public void testInvalidZeroLimit() throws Exception {
152   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
153   testCase.testInvalidZeroLimit();
154 }
155 
testLimit1Separator()156 public void testLimit1Separator() throws Exception {
157   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
158   testCase.testLimit1Separator();
159 }
160 
testLimitExtraSeparators()161 public void testLimitExtraSeparators() throws Exception {
162   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
163   testCase.testLimitExtraSeparators();
164 }
165 
testLimitExtraSeparatorsOmitEmpty()166 public void testLimitExtraSeparatorsOmitEmpty() throws Exception {
167   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
168   testCase.testLimitExtraSeparatorsOmitEmpty();
169 }
170 
testLimitExtraSeparatorsOmitEmpty3()171 public void testLimitExtraSeparatorsOmitEmpty3() throws Exception {
172   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
173   testCase.testLimitExtraSeparatorsOmitEmpty3();
174 }
175 
testLimitExtraSeparatorsTrim()176 public void testLimitExtraSeparatorsTrim() throws Exception {
177   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
178   testCase.testLimitExtraSeparatorsTrim();
179 }
180 
testLimitExtraSeparatorsTrim1()181 public void testLimitExtraSeparatorsTrim1() throws Exception {
182   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
183   testCase.testLimitExtraSeparatorsTrim1();
184 }
185 
testLimitExtraSeparatorsTrim1Empty()186 public void testLimitExtraSeparatorsTrim1Empty() throws Exception {
187   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
188   testCase.testLimitExtraSeparatorsTrim1Empty();
189 }
190 
testLimitExtraSeparatorsTrim1EmptyOmit()191 public void testLimitExtraSeparatorsTrim1EmptyOmit() throws Exception {
192   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
193   testCase.testLimitExtraSeparatorsTrim1EmptyOmit();
194 }
195 
testLimitExtraSeparatorsTrim1NoOmit()196 public void testLimitExtraSeparatorsTrim1NoOmit() throws Exception {
197   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
198   testCase.testLimitExtraSeparatorsTrim1NoOmit();
199 }
200 
testLimitExtraSeparatorsTrim3()201 public void testLimitExtraSeparatorsTrim3() throws Exception {
202   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
203   testCase.testLimitExtraSeparatorsTrim3();
204 }
205 
testLimitFixedLength()206 public void testLimitFixedLength() throws Exception {
207   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
208   testCase.testLimitFixedLength();
209 }
210 
testLimitLarge()211 public void testLimitLarge() throws Exception {
212   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
213   testCase.testLimitLarge();
214 }
215 
testLimitOne()216 public void testLimitOne() throws Exception {
217   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
218   testCase.testLimitOne();
219 }
220 
testLimitSeparator()221 public void testLimitSeparator() throws Exception {
222   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
223   testCase.testLimitSeparator();
224 }
225 
testMapSplitter_CharacterSeparator()226 public void testMapSplitter_CharacterSeparator() throws Exception {
227   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
228   testCase.testMapSplitter_CharacterSeparator();
229 }
230 
testMapSplitter_duplicateKeys()231 public void testMapSplitter_duplicateKeys() throws Exception {
232   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
233   testCase.testMapSplitter_duplicateKeys();
234 }
235 
testMapSplitter_emptySeparator()236 public void testMapSplitter_emptySeparator() throws Exception {
237   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
238   testCase.testMapSplitter_emptySeparator();
239 }
240 
testMapSplitter_malformedEntry()241 public void testMapSplitter_malformedEntry() throws Exception {
242   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
243   testCase.testMapSplitter_malformedEntry();
244 }
245 
testMapSplitter_multiCharacterSeparator()246 public void testMapSplitter_multiCharacterSeparator() throws Exception {
247   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
248   testCase.testMapSplitter_multiCharacterSeparator();
249 }
250 
testMapSplitter_notTrimmed()251 public void testMapSplitter_notTrimmed() throws Exception {
252   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
253   testCase.testMapSplitter_notTrimmed();
254 }
255 
testMapSplitter_orderedResults()256 public void testMapSplitter_orderedResults() throws Exception {
257   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
258   testCase.testMapSplitter_orderedResults();
259 }
260 
testMapSplitter_trimmedBoth()261 public void testMapSplitter_trimmedBoth() throws Exception {
262   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
263   testCase.testMapSplitter_trimmedBoth();
264 }
265 
testMapSplitter_trimmedEntries()266 public void testMapSplitter_trimmedEntries() throws Exception {
267   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
268   testCase.testMapSplitter_trimmedEntries();
269 }
270 
testMapSplitter_trimmedKeyValue()271 public void testMapSplitter_trimmedKeyValue() throws Exception {
272   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
273   testCase.testMapSplitter_trimmedKeyValue();
274 }
275 
testMapSplitter_varyingTrimLevels()276 public void testMapSplitter_varyingTrimLevels() throws Exception {
277   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
278   testCase.testMapSplitter_varyingTrimLevels();
279 }
280 
testSplitNullString()281 public void testSplitNullString() throws Exception {
282   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
283   testCase.testSplitNullString();
284 }
285 
testSplitterIterableIsLazy_char()286 public void testSplitterIterableIsLazy_char() throws Exception {
287   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
288   testCase.testSplitterIterableIsLazy_char();
289 }
290 
testSplitterIterableIsLazy_string()291 public void testSplitterIterableIsLazy_string() throws Exception {
292   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
293   testCase.testSplitterIterableIsLazy_string();
294 }
295 
testSplitterIterableIsUnmodifiable_char()296 public void testSplitterIterableIsUnmodifiable_char() throws Exception {
297   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
298   testCase.testSplitterIterableIsUnmodifiable_char();
299 }
300 
testSplitterIterableIsUnmodifiable_string()301 public void testSplitterIterableIsUnmodifiable_string() throws Exception {
302   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
303   testCase.testSplitterIterableIsUnmodifiable_string();
304 }
305 
testStringSimpleSplit()306 public void testStringSimpleSplit() throws Exception {
307   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
308   testCase.testStringSimpleSplit();
309 }
310 
testStringSimpleSplitWithNoDelimiter()311 public void testStringSimpleSplitWithNoDelimiter() throws Exception {
312   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
313   testCase.testStringSimpleSplitWithNoDelimiter();
314 }
315 
testStringSplitEmptyToken()316 public void testStringSplitEmptyToken() throws Exception {
317   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
318   testCase.testStringSplitEmptyToken();
319 }
320 
testStringSplitEmptyTokenOmitEmptyStrings()321 public void testStringSplitEmptyTokenOmitEmptyStrings() throws Exception {
322   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
323   testCase.testStringSplitEmptyTokenOmitEmptyStrings();
324 }
325 
testStringSplitOnEmptyString()326 public void testStringSplitOnEmptyString() throws Exception {
327   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
328   testCase.testStringSplitOnEmptyString();
329 }
330 
testStringSplitOnEmptyStringOmitEmptyString()331 public void testStringSplitOnEmptyStringOmitEmptyString() throws Exception {
332   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
333   testCase.testStringSplitOnEmptyStringOmitEmptyString();
334 }
335 
testStringSplitOnOnlyDelimiter()336 public void testStringSplitOnOnlyDelimiter() throws Exception {
337   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
338   testCase.testStringSplitOnOnlyDelimiter();
339 }
340 
testStringSplitOnOnlyDelimitersOmitEmptyStrings()341 public void testStringSplitOnOnlyDelimitersOmitEmptyStrings() throws Exception {
342   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
343   testCase.testStringSplitOnOnlyDelimitersOmitEmptyStrings();
344 }
345 
testStringSplitWithDelimiterSubstringInValue()346 public void testStringSplitWithDelimiterSubstringInValue() throws Exception {
347   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
348   testCase.testStringSplitWithDelimiterSubstringInValue();
349 }
350 
testStringSplitWithDoubleDelimiter()351 public void testStringSplitWithDoubleDelimiter() throws Exception {
352   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
353   testCase.testStringSplitWithDoubleDelimiter();
354 }
355 
testStringSplitWithDoubleDelimiterAndSpace()356 public void testStringSplitWithDoubleDelimiterAndSpace() throws Exception {
357   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
358   testCase.testStringSplitWithDoubleDelimiterAndSpace();
359 }
360 
testStringSplitWithDoubleDelimiterOmitEmptyStrings()361 public void testStringSplitWithDoubleDelimiterOmitEmptyStrings() throws Exception {
362   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
363   testCase.testStringSplitWithDoubleDelimiterOmitEmptyStrings();
364 }
365 
testStringSplitWithEmptyString()366 public void testStringSplitWithEmptyString() throws Exception {
367   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
368   testCase.testStringSplitWithEmptyString();
369 }
370 
testStringSplitWithLeadingDelimiter()371 public void testStringSplitWithLeadingDelimiter() throws Exception {
372   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
373   testCase.testStringSplitWithLeadingDelimiter();
374 }
375 
testStringSplitWithLongDelimiter()376 public void testStringSplitWithLongDelimiter() throws Exception {
377   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
378   testCase.testStringSplitWithLongDelimiter();
379 }
380 
testStringSplitWithLongLeadingDelimiter()381 public void testStringSplitWithLongLeadingDelimiter() throws Exception {
382   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
383   testCase.testStringSplitWithLongLeadingDelimiter();
384 }
385 
testStringSplitWithLongTrailingDelimiter()386 public void testStringSplitWithLongTrailingDelimiter() throws Exception {
387   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
388   testCase.testStringSplitWithLongTrailingDelimiter();
389 }
390 
testStringSplitWithMultipleLetters()391 public void testStringSplitWithMultipleLetters() throws Exception {
392   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
393   testCase.testStringSplitWithMultipleLetters();
394 }
395 
testStringSplitWithTrailingDelimiter()396 public void testStringSplitWithTrailingDelimiter() throws Exception {
397   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
398   testCase.testStringSplitWithTrailingDelimiter();
399 }
400 
testStringSplitWithTrim()401 public void testStringSplitWithTrim() throws Exception {
402   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
403   testCase.testStringSplitWithTrim();
404 }
405 
testToString()406 public void testToString() throws Exception {
407   com.google.common.base.SplitterTest testCase = new com.google.common.base.SplitterTest();
408   testCase.testToString();
409 }
410 }
411