jimm.datavision.test
Class SubreportRunTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
jimm.datavision.test.SubreportRunTest
- All Implemented Interfaces:
- junit.framework.Test
public class SubreportRunTest
- extends junit.framework.TestCase
Reads a report from an XML file, runs it, and verifies the output. Uses
the CharSepLE layout engine to produce a tab-delimited output file.
These tests are tightly coupled with the contents of the file
test_sub.xml and the contents of the test database generated
by the files in jimm/datavision/testdata.
- Author:
- Jim Menard, jimm@io.com
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| 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, wait, wait, wait |
EXAMPLE_REPORT
protected static final java.io.File EXAMPLE_REPORT
OUT_FILE
protected static final java.io.File OUT_FILE
REPORT_DATE_FORMAT
protected static final java.lang.String REPORT_DATE_FORMAT
- See Also:
- Constant Field Values
OFFICES
protected static final java.lang.String[] OFFICES
STRING_PARAM_VALUE
protected static final java.lang.String STRING_PARAM_VALUE
- See Also:
- Constant Field Values
REPORT_TITLE
protected static final java.lang.String REPORT_TITLE
- See Also:
- Constant Field Values
report
protected Report report
SubreportRunTest
public SubreportRunTest(java.lang.String name)
suite
public static junit.framework.Test suite()
setUp
public void setUp()
throws java.lang.Exception
- Overrides:
setUp in class junit.framework.TestCase
- Throws:
java.lang.Exception
tearDown
public void tearDown()
- Overrides:
tearDown in class junit.framework.TestCase
testReportRun
public void testReportRun()
throws java.io.IOException,
java.io.FileNotFoundException
- Throws:
java.io.IOException
java.io.FileNotFoundException
testMultipleJoins
public void testMultipleJoins()
throws java.io.IOException,
java.io.FileNotFoundException
- Throws:
java.io.IOException
java.io.FileNotFoundException
main
public static void main(java.lang.String[] args)