org.databene.commons.iterator
Class IteratorTestCase

java.lang.Object
  extended by org.databene.commons.iterator.IteratorTestCase

public abstract class IteratorTestCase
extends java.lang.Object


Nested Class Summary
static class IteratorTestCase.NextHelper<T>
           
 
Constructor Summary
IteratorTestCase()
           
 
Method Summary
static
<T> void
checkUniqueIteration(java.util.Iterator<T> iterator, int count)
           
static
<T> IteratorTestCase.NextHelper<T>
expectNextElements(java.util.Iterator<T> iterator, T... elements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorTestCase

public IteratorTestCase()
Method Detail

checkUniqueIteration

public static <T> void checkUniqueIteration(java.util.Iterator<T> iterator,
                                            int count)

expectNextElements

public static <T> IteratorTestCase.NextHelper<T> expectNextElements(java.util.Iterator<T> iterator,
                                                                    T... elements)


Copyright © 2010. All Rights Reserved.