X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=trunk%2Fsupport%2Ftest%2Forg%2Fwamblee%2Ftest%2FEventTracker.java;h=7e66da803741796fb7ef1be355e2b16d5e2ce508;hb=aaeb9d34678ca1f5166db2bce8fc2efc19854d87;hp=e49e671ce2ff765099d1c8f0e5d2bb02db238b88;hpb=ff16964fa97a003539194ac0c8ab1a95c89024ae;p=utils diff --git a/trunk/support/test/org/wamblee/test/EventTracker.java b/trunk/support/test/org/wamblee/test/EventTracker.java index e49e671c..7e66da80 100644 --- a/trunk/support/test/org/wamblee/test/EventTracker.java +++ b/trunk/support/test/org/wamblee/test/EventTracker.java @@ -27,14 +27,16 @@ import org.apache.commons.logging.LogFactory; /** * Tracks the occurence of certain events in a test environment. Threads in a * test environment tell the event tracker of the occurrence of certain events - * using {@link #eventOccurred(String)}. Test code inspects the events sent by - * a thread using {@link #isEventSent(Thread, String)}. + * using {@link #eventOccurred(Event)}. Test code inspects the events sent by a + * thread using {@link #isEventSent(Thread, Event)}. * - * A record is kept of every event which is sent. Therefore, the occurence of a + * A record is kept of every event which is sent. Therefore, the occurrence of a * new event does not erase a previously sent event. * - * @param Type of event sent from test code. Usually String will be sufficient. - * The event type must provide a sensible implementation of {@link java.lang.Object#equals(java.lang.Object)}. + * @param + * Type of event sent from test code. Usually String will be + * sufficient. The event type must provide a sensible implementation + * of {@link java.lang.Object#equals(java.lang.Object)}. */ public class EventTracker {