Merge branch 'master' into lttng-luna
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / tests / stubs / event / TmfSyncEventStub.java
1 /*******************************************************************************
2 * Copyright (c) 2013 École Polytechnique de Montréal
3 *
4 * All rights reserved. This program and the accompanying materials are made
5 * available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Geneviève Bastien - Initial implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.tests.stubs.event;
14
15 import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
16 import org.eclipse.linuxtools.tmf.core.event.TmfEvent;
17 import org.eclipse.linuxtools.tmf.core.event.TmfEventField;
18 import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
19
20 /**
21 * Event stub used by the synchronization tests
22 *
23 * @author Geneviève Bastien
24 */
25 public class TmfSyncEventStub extends TmfEvent {
26
27 private static final String stub = "stub"; //$NON-NLS-1$
28
29 /**
30 * Constructor
31 *
32 * @param trace
33 * The trace of this event
34 * @param timestamp
35 * The timestamp
36 */
37 public TmfSyncEventStub(final ITmfTrace trace, final ITmfTimestamp timestamp) {
38 super(trace,
39 timestamp,
40 stub,
41 new TmfEventTypeStub(),
42 new TmfEventField(stub, stub, null),
43 stub);
44 }
45 }
This page took 0.032135 seconds and 6 git commands to generate.