Commit | Line | Data |
---|---|---|
d18dd09b ASL |
1 | /******************************************************************************* |
2 | * Copyright (c) 2009 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 | ||
4918b8f2 | 12 | package org.eclipse.linuxtools.tmf.tests.stubs.event; |
6c13869b | 13 | |
4c564a2d FC |
14 | import org.eclipse.linuxtools.tmf.core.event.ITmfEventField; |
15 | import org.eclipse.linuxtools.tmf.core.event.TmfEventField; | |
6c13869b | 16 | import org.eclipse.linuxtools.tmf.core.event.TmfEventType; |
d18dd09b ASL |
17 | |
18 | /** | |
19 | * <b><u>TmfEventTypeStub</u></b> | |
20 | * <p> | |
21 | * TODO: Implement me. Please. | |
22 | */ | |
54a7a54c | 23 | @SuppressWarnings({"nls","javadoc"}) |
d18dd09b ASL |
24 | public class TmfEventTypeStub extends TmfEventType { |
25 | ||
4c564a2d FC |
26 | private static final ITmfEventField FIELD_1 = new TmfEventField("Field1", null); |
27 | private static final ITmfEventField FIELD_2 = new TmfEventField("Field2", null); | |
28 | private static final ITmfEventField FIELD_3 = new TmfEventField("Field3", null); | |
29 | private static final ITmfEventField FIELD_4 = new TmfEventField("Field4", null); | |
30 | private static final ITmfEventField FIELD_5 = new TmfEventField("Field5", null); | |
cbbcc354 | 31 | |
4c564a2d FC |
32 | private static final ITmfEventField[] FIELDS = new ITmfEventField[] { |
33 | FIELD_1, FIELD_2, FIELD_3, FIELD_4, FIELD_5 }; | |
34 | ||
a4115405 | 35 | private static ITmfEventField ROOT = new TmfEventField(ITmfEventField.ROOT_FIELD_ID, FIELDS); |
4c564a2d FC |
36 | |
37 | public TmfEventTypeStub() { | |
38 | super("UnitTest", "TmfEventTypeStub", ROOT); | |
d18dd09b ASL |
39 | } |
40 | } |