public abstract class BaseDjReportTest
extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
protected DynamicReport |
dr |
protected net.sf.jasperreports.engine.JasperPrint |
jp |
protected net.sf.jasperreports.engine.JasperReport |
jr |
protected static org.apache.commons.logging.Log |
log |
protected Map |
params |
Constructor and Description |
---|
BaseDjReportTest() |
Modifier and Type | Method and Description |
---|---|
abstract DynamicReport |
buildReport() |
static Connection |
createSQLConnection()
Uses a non blocking HSQL DB.
|
protected void |
exportReport() |
protected void |
exportToHTML() |
protected void |
exportToJRXML() |
protected net.sf.jasperreports.engine.JRDataSource |
getDataSource() |
Collection |
getDummyCollectionSorted(List columnlist) |
DynamicReport |
getDynamicReport() |
protected LayoutManager |
getLayoutManager() |
Map |
getParams() |
int |
getYear() |
void |
testReport() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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
protected static final org.apache.commons.logging.Log log
protected net.sf.jasperreports.engine.JasperPrint jp
protected net.sf.jasperreports.engine.JasperReport jr
protected Map params
protected DynamicReport dr
public Map getParams()
public abstract DynamicReport buildReport() throws Exception
Exception
protected LayoutManager getLayoutManager()
protected net.sf.jasperreports.engine.JRDataSource getDataSource()
public Collection getDummyCollectionSorted(List columnlist)
public DynamicReport getDynamicReport()
public static Connection createSQLConnection() throws Exception
Exception
public int getYear()
Copyright © 2006–2015 FDV Solutions. All rights reserved.