1 /*******************************************************************************
2 * Copyright (c) 2013 École Polytechnique de Montréal
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 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ctf
.core
.tests
.stubs
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfSignalManager
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfTraceOpenedSignal
;
17 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfTraceSelectedSignal
;
18 import org
.eclipse
.linuxtools
.tmf
.ctf
.core
.CtfTmfTrace
;
21 * Dummy test ctf trace
23 public class CtfTmfTraceStub
extends CtfTmfTrace
{
26 * Simulate trace opening, to be called by tests who need an actively opened
29 public void openTrace() {
30 TmfSignalManager
.dispatchSignal(new TmfTraceOpenedSignal(this, this, null));
35 * Simulate selecting the trace
37 public void selectTrace() {
38 TmfSignalManager
.dispatchSignal(new TmfTraceSelectedSignal(this, this));
This page took 0.031196 seconds and 5 git commands to generate.