Commit | Line | Data |
---|---|---|
d18dd09b | 1 | /******************************************************************************* |
ed902a2b | 2 | * Copyright (c) 2009, 2014 Ericsson |
54a7a54c | 3 | * |
4c564a2d FC |
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 | |
d18dd09b ASL |
6 | * accompanies this distribution, and is available at |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
54a7a54c | 8 | * |
4c564a2d | 9 | * Contributors: Francois Chouinard - Initial API and implementation |
d18dd09b ASL |
10 | *******************************************************************************/ |
11 | ||
2bdf0193 | 12 | package org.eclipse.tracecompass.tmf.tests.stubs.event; |
6c13869b | 13 | |
2bdf0193 AM |
14 | import org.eclipse.tracecompass.tmf.core.event.ITmfEventField; |
15 | import org.eclipse.tracecompass.tmf.core.event.TmfEventField; | |
16 | import org.eclipse.tracecompass.tmf.core.event.TmfEventType; | |
d18dd09b ASL |
17 | |
18 | /** | |
19 | * <b><u>TmfEventTypeStub</u></b> | |
d18dd09b | 20 | */ |
cad06250 | 21 | @SuppressWarnings("javadoc") |
d18dd09b ASL |
22 | public class TmfEventTypeStub extends TmfEventType { |
23 | ||
214cc822 AM |
24 | private static final ITmfEventField FIELD_1 = new TmfEventField("Field1", null, null); |
25 | private static final ITmfEventField FIELD_2 = new TmfEventField("Field2", null, null); | |
26 | private static final ITmfEventField FIELD_3 = new TmfEventField("Field3", null, null); | |
27 | private static final ITmfEventField FIELD_4 = new TmfEventField("Field4", null, null); | |
28 | private static final ITmfEventField FIELD_5 = new TmfEventField("Field5", null, null); | |
cbbcc354 | 29 | |
4c564a2d FC |
30 | private static final ITmfEventField[] FIELDS = new ITmfEventField[] { |
31 | FIELD_1, FIELD_2, FIELD_3, FIELD_4, FIELD_5 }; | |
32 | ||
214cc822 | 33 | private static ITmfEventField ROOT = new TmfEventField(ITmfEventField.ROOT_FIELD_ID, null, FIELDS); |
4c564a2d FC |
34 | |
35 | public TmfEventTypeStub() { | |
e600c338 | 36 | super("TmfEventTypeStub", ROOT); |
d18dd09b ASL |
37 | } |
38 | } |