Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tm.te.tests/src/org/eclipse/tm/te/tests/CoreTestCase.java')
-rw-r--r--target_explorer/plugins/org.eclipse.tm.te.tests/src/org/eclipse/tm/te/tests/CoreTestCase.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tm.te.tests/src/org/eclipse/tm/te/tests/CoreTestCase.java b/target_explorer/plugins/org.eclipse.tm.te.tests/src/org/eclipse/tm/te/tests/CoreTestCase.java
index 772dccf76..87922ef8d 100644
--- a/target_explorer/plugins/org.eclipse.tm.te.tests/src/org/eclipse/tm/te/tests/CoreTestCase.java
+++ b/target_explorer/plugins/org.eclipse.tm.te.tests/src/org/eclipse/tm/te/tests/CoreTestCase.java
@@ -72,12 +72,14 @@ public class CoreTestCase extends TestCase {
/* (non-Javadoc)
* @see junit.framework.TestListener#startTest(junit.framework.Test)
*/
+ @Override
public void startTest(Test test) {
}
/* (non-Javadoc)
* @see junit.framework.TestListener#addError(junit.framework.Test, java.lang.Throwable)
*/
+ @Override
public synchronized void addError(Test test, Throwable error) {
if (test != null && error != null) {
// Log the error to the error log.
@@ -94,6 +96,7 @@ public class CoreTestCase extends TestCase {
/* (non-Javadoc)
* @see junit.framework.TestListener#addFailure(junit.framework.Test, junit.framework.AssertionFailedError)
*/
+ @Override
public synchronized void addFailure(Test test, AssertionFailedError failure) {
if (test != null && failure != null) {
// Log the failure to the error log.
@@ -110,6 +113,7 @@ public class CoreTestCase extends TestCase {
/* (non-Javadoc)
* @see junit.framework.TestListener#endTest(junit.framework.Test)
*/
+ @Override
public void endTest(Test test) {
// nothing to do on end test
}
@@ -325,6 +329,7 @@ public class CoreTestCase extends TestCase {
final Exception[] ex = new Exception[1];
display = Display.getDefault();
display.syncExec(new Runnable() {
+ @Override
public void run() {
try {
flushEventQueue();

Back to the top