* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.test;
import java.util.ArrayList;
/**
* 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(Event)}. Test code inspects the events sent by a
- * thread using {@link #isEventSent(Thread, Event)}.
+ * using {@link #eventOccurred(Object)}. Test code inspects the events sent by a
+ * thread using {@link #isEventSent(Thread, Object)}.
*
* A record is kept of every event which is sent. Therefore, the occurrence of a
* new event does not erase a previously sent event.
* @author Erik Brakkee
*/
public class EventTracker<Event> {
- private static final Logger LOG = Logger.getLogger(EventTracker.class.getName());
+ private static final Logger LOG = Logger.getLogger(EventTracker.class
+ .getName());
/**
* Map of Thread object to a list of events.