Changeset 406 for trunk/EventBenchCoreTest/src/de/ugoe
- Timestamp:
- 04/03/12 10:16:15 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCoreTest/src/de/ugoe/cs/eventbench/data/ReplayableEventTest.java
r341 r406 7 7 import de.ugoe.cs.eventbench.IReplayDecorator; 8 8 import de.ugoe.cs.eventbench.data.mock.MockReplayable; 9 import nl.jqno.equalsverifier.EqualsVerifier;10 import nl.jqno.equalsverifier.Warning;11 9 12 10 import org.junit.*; … … 265 263 boolean result = fixture.equals(other); 266 264 267 assertEquals( false, result);265 assertEquals(true, result); 268 266 } 269 267 … … 306 304 boolean result = fixture.equals(other); 307 305 308 assertEquals( false, result);306 assertEquals(true, result); 309 307 } 310 308 … … 347 345 boolean result = fixture.equals(other); 348 346 349 assertEquals( false, result);347 assertEquals(true, result); 350 348 } 351 349 … … 372 370 373 371 assertEquals(true, result); 374 }375 376 @Test377 public void testEqualsContract() throws Exception {378 EqualsVerifier.forClass(ReplayableEvent.class)379 .suppress(Warning.STRICT_INHERITANCE, Warning.NONFINAL_FIELDS).withRedefinedSuperclass()380 .verify();381 372 } 382 373
Note: See TracChangeset
for help on using the changeset viewer.