Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 71704e276feb1d9a715f110a6d98a966eb8d9d9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*******************************************************************************
 * Copyright (c) 2009, 2012 Ericsson
 *
 * All rights reserved. This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors: Francois Chouinard - Initial API and implementation
 *******************************************************************************/

package org.eclipse.linuxtools.tmf.tests.stubs.event;

import org.eclipse.linuxtools.tmf.core.event.ITmfEventField;
import org.eclipse.linuxtools.tmf.core.event.TmfEventField;
import org.eclipse.linuxtools.tmf.core.event.TmfEventType;

/**
 * <b><u>TmfEventTypeStub</u></b>
 * <p>
 * TODO: Implement me. Please.
 */
@SuppressWarnings({"nls","javadoc"})
public class TmfEventTypeStub extends TmfEventType {

    private static final ITmfEventField FIELD_1 = new TmfEventField("Field1", null);
    private static final ITmfEventField FIELD_2 = new TmfEventField("Field2", null);
    private static final ITmfEventField FIELD_3 = new TmfEventField("Field3", null);
    private static final ITmfEventField FIELD_4 = new TmfEventField("Field4", null);
    private static final ITmfEventField FIELD_5 = new TmfEventField("Field5", null);

    private static final ITmfEventField[] FIELDS = new ITmfEventField[] {
        FIELD_1, FIELD_2, FIELD_3, FIELD_4, FIELD_5 };

    private static ITmfEventField ROOT = new TmfEventField(ITmfEventField.ROOT_FIELD_ID, FIELDS);

    public TmfEventTypeStub() {
        super("UnitTest", "TmfEventTypeStub", ROOT);
    }
}

Back to the top