org.sourceforge.jemm.database
Class EventComparator

java.lang.Object
  extended by org.sourceforge.jemm.database.EventComparator

public class EventComparator
extends java.lang.Object


Constructor Summary
EventComparator()
           
 
Method Summary
 void add(java.lang.Object... values)
           
 void assertMatches(EventComparator seen)
          Compare an expected list of events (this list) with events added to another list In case of multithreaded tests, the method will allow up to 200ms for event sets to coalesce.
 java.util.List<TestEvent> getList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventComparator

public EventComparator()
Method Detail

add

public void add(java.lang.Object... values)

getList

public java.util.List<TestEvent> getList()

assertMatches

public void assertMatches(EventComparator seen)
Compare an expected list of events (this list) with events added to another list In case of multithreaded tests, the method will allow up to 200ms for event sets to coalesce.

Parameters:
seen - The seen event list.


Copyright © 2009. All Rights Reserved.