source: trunk/EventBenchCore/src/de/ugoe/cs/eventbench/assertions/AssertEvent.java @ 136

Last change on this file since 136 was 136, checked in by jhall, 13 years ago

Some classes to deal with assertions:

  • Property svn:mime-type set to text/plain
File size: 898 bytes
Line 
1package de.ugoe.cs.eventbench.assertions;
2
3import de.ugoe.cs.eventbench.data.Event;
4import de.ugoe.cs.eventbench.data.IReplayable;
5import de.ugoe.cs.eventbench.data.ReplayableEvent;
6
7
8/**
9 * <p>
10 * Subclass of {@link ReplayableEvent} for assertions
11 * </p>
12 *
13 * @author  Jeffrey Hall
14 * @version 1.0
15 *
16 * @param <T>
17 *          Allows only types that extend {@link IReplayable} and is used to
18 *          define whether it's TextEquals or FileEquals
19 *
20 */
21public class AssertEvent<T extends IReplayable> extends ReplayableEvent<T> {
22       
23        /**
24         * Id for object serialization.
25         */
26        private static final long serialVersionUID = 1L;
27       
28        /**
29         * <p>
30         * Constructor. Creates a new event with the given type.
31         * <p>
32         *
33         * @param type
34         *            type of the event
35         * @see Event#Event(String)
36         */
37        public AssertEvent(String type) {
38                super(type);
39        }
40}
Note: See TracBrowser for help on using the repository browser.