public abstract class BaseUADExporterTestCase<T extends BaseModel>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected UADExporter<T> |
uadExporter |
protected User |
user |
Constructor and Description |
---|
BaseUADExporterTestCase() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
addBaseModel(long userId) |
protected void |
assertColumnValue(Document document,
java.lang.String columnName,
java.lang.String expectedColumnValue) |
protected Document |
getExportDocument(T baseModel) |
protected abstract java.lang.String |
getPrimaryKeyName() |
protected abstract UADExporter<T> |
getUADExporter() |
void |
setUp() |
void |
testExport() |
void |
testExportAll() |
void |
testExportByStatusByUserId() |
protected UADExporter<T extends BaseModel> uadExporter
@DeleteAfterTestRun protected User user
public void setUp() throws java.lang.Exception
java.lang.Exception
public void testExport() throws java.lang.Exception
java.lang.Exception
public void testExportAll() throws java.lang.Exception
java.lang.Exception
public void testExportByStatusByUserId() throws java.lang.Exception
java.lang.Exception
protected abstract T addBaseModel(long userId) throws java.lang.Exception
java.lang.Exception
protected void assertColumnValue(Document document, java.lang.String columnName, java.lang.String expectedColumnValue)
protected Document getExportDocument(T baseModel) throws java.lang.Exception
java.lang.Exception
protected abstract java.lang.String getPrimaryKeyName()
protected abstract UADExporter<T> getUADExporter()