The Meta-Environment API

nl.cwi.sen1.visplugin.table
Class TableVisualizationWindowTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by nl.cwi.sen1.visplugin.table.TableVisualizationWindowTest
All Implemented Interfaces:
junit.framework.Test

public class TableVisualizationWindowTest
extends junit.framework.TestCase

Test class for the TableVisualizationWindow.

Author:
Arend van Beelen

Field Summary
private  nl.cwi.sen1.relationstores.Factory m_factory
           
private static java.lang.String m_testFilename
           
private  nl.cwi.sen1.relationstores.types.RTuple m_testRTuple
           
private  TableVisualizationWindow m_window
           
 
Constructor Summary
TableVisualizationWindowTest()
           
 
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 testExportToRStore()
          Tests the exportToRStore() method.
 
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

m_testFilename

private static java.lang.String m_testFilename

m_factory

private nl.cwi.sen1.relationstores.Factory m_factory

m_testRTuple

private nl.cwi.sen1.relationstores.types.RTuple m_testRTuple

m_window

private TableVisualizationWindow m_window
Constructor Detail

TableVisualizationWindowTest

public TableVisualizationWindowTest()
Method Detail

setUp

public void setUp()
Set-up code for the unit tests.

Overrides:
setUp in class junit.framework.TestCase

testExportToRStore

public void testExportToRStore()
Tests the exportToRStore() method. Cannot be tested due to the studioComponent in exportToRstore.


readFile

private java.lang.String readFile(java.lang.String filename)
Reads an entire file and returns the contents as a string.

Parameters:
filename - Filename of the file to read.
Returns:
A string containing the file contents.

The Meta-Environment API