01: /*
02: * Conditions Of Use
03: *
04: * This software was developed by employees of the National Institute of
05: * Standards and Technology (NIST), and others.
06: * This software is has been contributed to the public domain.
07: * As a result, a formal license is not needed to use the software.
08: *
09: * This software is provided "AS IS."
10: * NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
11: * OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
12: * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
13: * AND DATA ACCURACY. NIST does not warrant or make any representations
14: * regarding the use of the software or the results thereof, including but
15: * not limited to the correctness, accuracy, reliability or usefulness of
16: * the software.
17: *
18: *
19: */
20: package test.torture;
21:
22: import junit.framework.TestCase;
23:
24: public class TortureTest extends TestCase {
25:
26: public void setUp() {
27:
28: }
29:
30: public void testParser() throws Exception {
31: Torture torture = new Torture();
32:
33: torture.doTests();
34: if (torture.failureFlag) {
35: fail(torture.failureReason);
36: } else {
37: System.out.println("Torture tests passed!");
38: }
39: }
40:
41: }
|