From 178ac9380b7804bf4a90d1a89c95e098909dddea Mon Sep 17 00:00:00 2001 From: Uwe Stieber Date: Tue, 26 Dec 2006 19:49:18 +0000 Subject: [PATCH] [fix] Start / Stop information of test cases are printed twice --- .../src/org/eclipse/rse/tests/core/RSECoreTestCase.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rse/tests/org.eclipse.rse.tests/src/org/eclipse/rse/tests/core/RSECoreTestCase.java b/rse/tests/org.eclipse.rse.tests/src/org/eclipse/rse/tests/core/RSECoreTestCase.java index 2ba97172d94..01309044957 100644 --- a/rse/tests/org.eclipse.rse.tests/src/org/eclipse/rse/tests/core/RSECoreTestCase.java +++ b/rse/tests/org.eclipse.rse.tests/src/org/eclipse/rse/tests/core/RSECoreTestCase.java @@ -274,8 +274,7 @@ public class RSECoreTestCase extends TestCase { public void runBare() throws Throwable { // If PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN is set to true, // print the timing information including the tests setUp and tearDown methods. - if (isProperty(IRSECoreTestCaseProperties.PROP_FORCE_BACKGROUND_EXECUTION, false) - || !RSEWaitAndDispatchUtil.isDispatchThread()) { + if (isProperty(IRSECoreTestCaseProperties.PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN, true)) { // Print timing information here long start = printTestStartInformation(getName()); try { @@ -295,8 +294,7 @@ public class RSECoreTestCase extends TestCase { protected void runTest() throws Throwable { // If PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN is set to false (default), // print the timing information only the test method itself. - if (isProperty(IRSECoreTestCaseProperties.PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN, false) - || !RSEWaitAndDispatchUtil.isDispatchThread()) { + if (isProperty(IRSECoreTestCaseProperties.PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN, false)) { // Print timing information here and run the test. long start = printTestStartInformation(getName()); try {