Commit | Line | Data |
---|---|---|
73005152 BH |
1 | /******************************************************************************* |
2 | * Copyright (c) 2011 Ericsson | |
3 | * | |
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 | |
8 | * | |
9 | * Contributors: | |
10 | * Bernd Hufmann - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | package org.eclipse.linuxtools.tmf.ui.tests.views.uml2sd.impl; | |
13 | ||
6c13869b FC |
14 | import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange; |
15 | import org.eclipse.linuxtools.tmf.core.event.TmfTimestamp; | |
73005152 BH |
16 | |
17 | /** | |
18 | * Interface for testing signal handling within TmfUml2SD | |
19 | */ | |
20 | public interface IUml2SdSignalValidator { | |
21 | public boolean isSignalReceived(); | |
22 | public void setSignalReceived(boolean received); | |
23 | ||
24 | public boolean isSourceError(); | |
25 | public void setSourceError(boolean fIsSourceError); | |
26 | ||
27 | public boolean isCurrentTimeError(); | |
28 | public void setCurrentTimeError(boolean fIsCurrentTimeError); | |
29 | ||
30 | public boolean isRangeError(); | |
31 | public void setRangeError(boolean fIsRangeError); | |
32 | ||
33 | public boolean isSignalError(); | |
34 | public void setSignalError(boolean fIsSignalError); | |
35 | ||
36 | public Object getSource(); | |
37 | public void setSource(Object source); | |
38 | ||
39 | public TmfTimestamp getCurrentTime(); | |
40 | public void setCurrentTime(TmfTimestamp currentTime); | |
41 | ||
42 | public TmfTimeRange getCurrentRange(); | |
43 | public void setCurrentRange(TmfTimeRange currentRange); | |
44 | ||
45 | } |