mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Changed assertNotEquals to assertFalse to comply with JUnit 4.8.1
Change-Id: I51ece211f04c23c2f654b60ecfd662dfb9717890 Reviewed-on: https://git.eclipse.org/r/17291 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
parent
32b0c2c73c
commit
7445c192ca
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ package org.eclipse.cdt.tests.dsf.gdb.tests;
|
|||
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
|
@ -590,7 +590,7 @@ public class MIRegistersTest extends BaseTestCase {
|
|||
String sp_f1_str = getModelDataForRegisterDataValue(frame1, IFormattedValues.HEX_FORMAT, sp_reg_f1.getRegNo());
|
||||
|
||||
//The stack pointer's are not expected to be the same among frames
|
||||
assertNotEquals("Stack pointers shall be different among frames", sp_f0_str, sp_f1_str);
|
||||
assertFalse("Stack pointers shall be different among frames", sp_f0_str.equals(sp_f1_str));
|
||||
}
|
||||
|
||||
private IRegisterDMContext findStackPointerRegister(String sp_name, IRegisterDMContext[] registerDMCs) throws InterruptedException, ExecutionException {
|
||||
|
|
Loading…
Add table
Reference in a new issue