1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 15:15:25 +02:00

[fix] Start / Stop information of test cases are printed twice

This commit is contained in:
Uwe Stieber 2006-12-26 19:49:18 +00:00
parent 966ed36c7c
commit 178ac9380b

View file

@ -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 {