1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-08 17:45:24 +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 { public void runBare() throws Throwable {
// If PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN is set to true, // If PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN is set to true,
// print the timing information including the tests setUp and tearDown methods. // print the timing information including the tests setUp and tearDown methods.
if (isProperty(IRSECoreTestCaseProperties.PROP_FORCE_BACKGROUND_EXECUTION, false) if (isProperty(IRSECoreTestCaseProperties.PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN, true)) {
|| !RSEWaitAndDispatchUtil.isDispatchThread()) {
// Print timing information here // Print timing information here
long start = printTestStartInformation(getName()); long start = printTestStartInformation(getName());
try { try {
@ -295,8 +294,7 @@ public class RSECoreTestCase extends TestCase {
protected void runTest() throws Throwable { protected void runTest() throws Throwable {
// If PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN is set to false (default), // If PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN is set to false (default),
// print the timing information only the test method itself. // print the timing information only the test method itself.
if (isProperty(IRSECoreTestCaseProperties.PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN, false) if (isProperty(IRSECoreTestCaseProperties.PROP_PERFORMANCE_TIMING_INCLUDE_SETUP_TEARDOWN, false)) {
|| !RSEWaitAndDispatchUtil.isDispatchThread()) {
// Print timing information here and run the test. // Print timing information here and run the test.
long start = printTestStartInformation(getName()); long start = printTestStartInformation(getName());
try { try {