|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
nl.cwi.sen1.visplugin.table.model.SortableTableModelExporterTest
public class SortableTableModelExporterTest
Tests the SortableTableModelExporter class.
Field Summary | |
---|---|
private SortableTableModelExporter |
m_exporter
|
private nl.cwi.sen1.relationstores.Factory |
m_factory
|
private SortableTableModel |
m_model
|
private static java.lang.String |
m_testFilename
|
private nl.cwi.sen1.relationstores.types.RTuple |
m_testRTuple
|
private nl.cwi.sen1.relationstores.types.RTuple |
m_testRTupleSelection
|
Constructor Summary | |
---|---|
SortableTableModelExporterTest()
|
Method Summary | |
---|---|
private java.lang.String |
readFile(java.lang.String filename)
Reads an entire file and returns the contents as a string. |
void |
setUp()
Set-up code for the unit tests. |
void |
testExportToRStoreEntireTable()
Tests the exportToRStore() function while exporting the entire table. |
void |
testExportToRStoreTableSelection()
Tests the exportToRStore() function while exporting only the first and third row. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static java.lang.String m_testFilename
private nl.cwi.sen1.relationstores.Factory m_factory
private nl.cwi.sen1.relationstores.types.RTuple m_testRTuple
private nl.cwi.sen1.relationstores.types.RTuple m_testRTupleSelection
private SortableTableModel m_model
private SortableTableModelExporter m_exporter
Constructor Detail |
---|
public SortableTableModelExporterTest()
Method Detail |
---|
public void setUp()
setUp
in class junit.framework.TestCase
public void testExportToRStoreEntireTable()
public void testExportToRStoreTableSelection()
private java.lang.String readFile(java.lang.String filename)
filename
- Filename of the file to read.
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |