|
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.csvexport.ExporterTest
public class ExporterTest
JUnit Testcase used to test the Exporter class
Field Summary | |
---|---|
private nl.cwi.sen1.relationstores.Factory |
m_factory
|
Constructor Summary | |
---|---|
ExporterTest()
|
Method Summary | |
---|---|
private java.lang.String |
rTupleToCsv(nl.cwi.sen1.relationstores.types.RTuple rTuple,
Exporter.ExportSelection selection)
Converts a RTuple to CSV formatted text by calling: Exporter.export(rTuple, csvWriter) |
protected void |
setUp()
This method is executed before the start of a test |
protected void |
tearDown()
This method is executed after the end of a test |
void |
testExportFromRTupleStrInt()
Export from a RTuple with "String Integer"-relation |
void |
testExportFromRTupleStrStr()
Export from a RTuple with "String String"-relation |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private nl.cwi.sen1.relationstores.Factory m_factory
Constructor Detail |
---|
public ExporterTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testExportFromRTupleStrStr()
public void testExportFromRTupleStrInt()
private java.lang.String rTupleToCsv(nl.cwi.sen1.relationstores.types.RTuple rTuple, Exporter.ExportSelection selection)
rTuple
- The RTuple to export
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |