org.itracker
Class Assert

java.lang.Object
  extended by junit.framework.Assert
      extended by org.itracker.Assert

public class Assert
extends junit.framework.Assert

Itracker specific assertions for include static to test-classes.


Constructor Summary
Assert()
           
 
Method Summary
static void assertEntityComparator(String message, Comparator comparator, org.itracker.model.Entity lhs, org.itracker.model.Entity rhs)
          asserts true when comparator compares for lhs being < rhs and rhs > lhs.
static void assertEntityComparatorEquals(String message, Comparator comparator, org.itracker.model.Entity lhs, org.itracker.model.Entity rhs)
          asserts true when comparator compares for lhs being equal to rhs and rhs equal lhs.
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assert

public Assert()
Method Detail

assertEntityComparator

public static void assertEntityComparator(String message,
                                          Comparator comparator,
                                          org.itracker.model.Entity lhs,
                                          org.itracker.model.Entity rhs)
asserts true when comparator compares for lhs being < rhs and rhs > lhs.


assertEntityComparatorEquals

public static void assertEntityComparatorEquals(String message,
                                                Comparator comparator,
                                                org.itracker.model.Entity lhs,
                                                org.itracker.model.Entity rhs)
asserts true when comparator compares for lhs being equal to rhs and rhs equal lhs.



Copyright © 2002-2013 itracker. All Rights Reserved.