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

assertEquals should have its first parameter be the expected value.

This commit is contained in:
Marc Khouzam 2010-06-04 15:20:08 +00:00
parent e2b7ee1e1c
commit 6dd4a791d3

View file

@ -549,7 +549,7 @@ public class SyncUtil {
if (isSuccess()) {
IDMContext[] contexts = getData();
Assert.assertNotNull("invalid return value from service", contexts);
Assert.assertEquals("unexpected number of processes", contexts.length, 1);
Assert.assertEquals("unexpected number of processes", 1, contexts.length);
IDMContext context = contexts[0];
Assert.assertNotNull("unexpected process context type ", context);
waitor.setReturnInfo(context);