Changeset 406 for trunk


Ignore:
Timestamp:
04/03/12 10:16:15 (13 years ago)
Author:
sherbold
Message:
  • updated JUnit tests for de.ugoe.cs.eventbench.data.ReplayEvent? (reason: see previous commit)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchCoreTest/src/de/ugoe/cs/eventbench/data/ReplayableEventTest.java

    r341 r406  
    77import de.ugoe.cs.eventbench.IReplayDecorator; 
    88import de.ugoe.cs.eventbench.data.mock.MockReplayable; 
    9 import nl.jqno.equalsverifier.EqualsVerifier; 
    10 import nl.jqno.equalsverifier.Warning; 
    119 
    1210import org.junit.*; 
     
    265263                boolean result = fixture.equals(other); 
    266264 
    267                 assertEquals(false, result); 
     265                assertEquals(true, result); 
    268266        } 
    269267         
     
    306304                boolean result = fixture.equals(other); 
    307305 
    308                 assertEquals(false, result); 
     306                assertEquals(true, result); 
    309307        } 
    310308         
     
    347345                boolean result = fixture.equals(other); 
    348346 
    349                 assertEquals(false, result); 
     347                assertEquals(true, result); 
    350348        } 
    351349         
     
    372370 
    373371                assertEquals(true, result); 
    374         } 
    375          
    376         @Test  
    377         public void testEqualsContract() throws Exception { 
    378                 EqualsVerifier.forClass(ReplayableEvent.class) 
    379                 .suppress(Warning.STRICT_INHERITANCE, Warning.NONFINAL_FIELDS).withRedefinedSuperclass() 
    380                 .verify(); 
    381372        } 
    382373 
Note: See TracChangeset for help on using the changeset viewer.