| 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2009 Ericsson |
| 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: Francois Chouinard - Initial API and implementation |
| 10 | *******************************************************************************/ |
| 11 | |
| 12 | package org.eclipse.linuxtools.tmf.tests.stubs.event; |
| 13 | |
| 14 | import org.eclipse.linuxtools.tmf.core.event.ITmfEventField; |
| 15 | import org.eclipse.linuxtools.tmf.core.event.TmfEventField; |
| 16 | import org.eclipse.linuxtools.tmf.core.event.TmfEventType; |
| 17 | |
| 18 | /** |
| 19 | * <b><u>TmfEventTypeStub</u></b> |
| 20 | * <p> |
| 21 | * TODO: Implement me. Please. |
| 22 | */ |
| 23 | @SuppressWarnings({"nls","javadoc"}) |
| 24 | public class TmfEventTypeStub extends TmfEventType { |
| 25 | |
| 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); |
| 31 | |
| 32 | private static final ITmfEventField[] FIELDS = new ITmfEventField[] { |
| 33 | FIELD_1, FIELD_2, FIELD_3, FIELD_4, FIELD_5 }; |
| 34 | |
| 35 | private static ITmfEventField ROOT = new TmfEventField(ITmfEventField.ROOT_FIELD_ID, FIELDS); |
| 36 | |
| 37 | public TmfEventTypeStub() { |
| 38 | super("UnitTest", "TmfEventTypeStub", ROOT); |
| 39 | } |
| 40 | } |