tmf: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core.tests / stubs / org / eclipse / tracecompass / tmf / tests / stubs / event / TmfSyncEventStub.java
1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 É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.tracecompass.tmf.tests.stubs.event;
14
15 import org.eclipse.tracecompass.tmf.core.event.TmfEvent;
16 import org.eclipse.tracecompass.tmf.core.event.TmfEventField;
17 import org.eclipse.tracecompass.tmf.core.timestamp.ITmfTimestamp;
18 import org.eclipse.tracecompass.tmf.core.trace.ITmfContext;
19 import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
20
21 /**
22 * Event stub used by the synchronization tests
23 *
24 * @author Geneviève Bastien
25 */
26 public class TmfSyncEventStub extends TmfEvent {
27
28 private static final String stub = "stub"; //$NON-NLS-1$
29
30 /**
31 * Constructor
32 *
33 * @param trace
34 * The trace of this event
35 * @param timestamp
36 * The timestamp
37 */
38 public TmfSyncEventStub(final ITmfTrace trace, final ITmfTimestamp timestamp) {
39 super(trace,
40 ITmfContext.UNKNOWN_RANK,
41 timestamp,
42 new TmfEventTypeStub(),
43 new TmfEventField(stub, stub, null));
44 }
45 }
This page took 0.031948 seconds and 5 git commands to generate.