1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 02:06:01 +02:00

fix indentation; no functional change

This commit is contained in:
John Cortell 2010-03-04 15:30:35 +00:00
parent 9089a47156
commit f642b20a88

View file

@ -144,14 +144,13 @@ public class MIRunControlTest extends BaseTestCase {
IExecutionDMContext[] ctxts = (IExecutionDMContext[])wait.getReturnInfo(); IExecutionDMContext[] ctxts = (IExecutionDMContext[])wait.getReturnInfo();
// Context can not be null // Context can not be null
if(ctxts == null) if (ctxts == null)
Assert.fail("Context returned is null. At least one context should have been returned"); Assert.fail("Context returned is null. At least one context should have been returned");
else { else { // Only one Context in this case
// Only one Context in this case if (ctxts.length > 1)
if(ctxts.length > 1)
Assert.fail("Context returned can not be more than 1. This test case is for single context application."); Assert.fail("Context returned can not be more than 1. This test case is for single context application.");
IMIExecutionDMContext dmc = (IMIExecutionDMContext)ctxts[0]; IMIExecutionDMContext dmc = (IMIExecutionDMContext) ctxts[0];
// Thread id for the main thread should be one // Thread id for the main thread should be one
Assert.assertEquals(1, dmc.getThreadId()); Assert.assertEquals(1, dmc.getThreadId());
} }