1 /*******************************************************************************
2 * Copyright (c) 2011, 2012 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 * Bernd Hufmann - Initial API and implementation
11 *******************************************************************************/
12 package org
.eclipse
.linuxtools
.tmf
.ui
.tests
.views
.uml2sd
.loader
;
14 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfTimeRange
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfTimestamp
;
18 * Interface for testing signal handling within TmfUml2SD
20 public interface IUml2SdSignalValidator
{
21 public boolean isSignalReceived();
22 public void setSignalReceived(boolean received
);
24 public boolean isSourceError();
25 public void setSourceError(boolean fIsSourceError
);
27 public boolean isCurrentTimeError();
28 public void setCurrentTimeError(boolean fIsCurrentTimeError
);
30 public boolean isRangeError();
31 public void setRangeError(boolean fIsRangeError
);
33 public boolean isSignalError();
34 public void setSignalError(boolean fIsSignalError
);
36 public Object
getSource();
37 public void setSource(Object source
);
39 public TmfTimestamp
getCurrentTime();
40 public void setCurrentTime(TmfTimestamp currentTime
);
42 public TmfTimeRange
getCurrentRange();
43 public void setCurrentRange(TmfTimeRange currentRange
);