|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert org.freehep.util.Assert
Additional assert methods to the junit.framework.Assert class.
Constructor Summary | |
protected |
Assert()
static class only |
Method Summary | |
static void |
assertEquals(File expected,
File actual,
boolean isBinary)
Compares to files. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Assert()
Method Detail |
public static void assertEquals(File expected, File actual, boolean isBinary) throws FileNotFoundException, IOException
expected
- reference fileactual
- file to be testedisBinary
- when true will do byte-by-byte comparison rather than line by line.
FileNotFoundException
- if one of the files cannot be found.
IOException
- if one of the files cannot read.
junit.framework.AssertionFailedError
- if the files are not equal.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |