1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made 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
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.tests
.stubs
.trace
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfEvent
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfContext
;
17 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfLocation
;
18 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.TmfContext
;
19 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.TmfLocation
;
22 * <b><u>TmfEmptyTraceStub</u></b>
24 * Dummy test trace. Use in conjunction with TmfEventParserStub.
26 public class TmfEmptyTraceStub
extends TmfTraceStub
{
31 // ------------------------------------------------------------------------
33 // ------------------------------------------------------------------------
38 public TmfEmptyTraceStub() {
40 setParser(new TmfEventParserStub(this));
43 // ------------------------------------------------------------------------
45 // ------------------------------------------------------------------------
48 public TmfContext
seekEvent(final ITmfLocation
<?
> location
) {
49 return new TmfContext();
53 public TmfContext
seekEvent(final double ratio
) {
54 return new TmfContext();
58 public double getLocationRatio(ITmfLocation
<?
> location
) {
63 public TmfLocation
<Long
> getCurrentLocation() {
68 public TmfEvent
parseEvent(final ITmfContext context
) {
This page took 0.036002 seconds and 6 git commands to generate.