1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +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

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