• 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.collect;
17 public class PeekingIteratorTest_gwt extends com.google.gwt.junit.client.GWTTestCase {
getModuleName()18 @Override public String getModuleName() {
19   return "com.google.common.collect.testModule";
20 }
testCantRemoveAfterPeek()21 public void testCantRemoveAfterPeek() throws Exception {
22   com.google.common.collect.PeekingIteratorTest testCase = new com.google.common.collect.PeekingIteratorTest();
23   testCase.testCantRemoveAfterPeek();
24 }
25 
testPeekDoesntChangeIteration()26 public void testPeekDoesntChangeIteration() throws Exception {
27   com.google.common.collect.PeekingIteratorTest testCase = new com.google.common.collect.PeekingIteratorTest();
28   testCase.testPeekDoesntChangeIteration();
29 }
30 
testPeekOnEmptyList()31 public void testPeekOnEmptyList() throws Exception {
32   com.google.common.collect.PeekingIteratorTest testCase = new com.google.common.collect.PeekingIteratorTest();
33   testCase.testPeekOnEmptyList();
34 }
35 
testPeekingIteratorBehavesLikeIteratorOnEmptyIterable()36 public void testPeekingIteratorBehavesLikeIteratorOnEmptyIterable() throws Exception {
37   com.google.common.collect.PeekingIteratorTest testCase = new com.google.common.collect.PeekingIteratorTest();
38   testCase.testPeekingIteratorBehavesLikeIteratorOnEmptyIterable();
39 }
40 
testPeekingIteratorBehavesLikeIteratorOnSingletonIterable()41 public void testPeekingIteratorBehavesLikeIteratorOnSingletonIterable() throws Exception {
42   com.google.common.collect.PeekingIteratorTest testCase = new com.google.common.collect.PeekingIteratorTest();
43   testCase.testPeekingIteratorBehavesLikeIteratorOnSingletonIterable();
44 }
45 
testPeekingIteratorDoesntAdvancePrematurely()46 public void testPeekingIteratorDoesntAdvancePrematurely() throws Exception {
47   com.google.common.collect.PeekingIteratorTest testCase = new com.google.common.collect.PeekingIteratorTest();
48   testCase.testPeekingIteratorDoesntAdvancePrematurely();
49 }
50 }
51