The Meta-Environment API

nl.cwi.sen1.visplugin.csvexport
Class CsvExportControllerTest

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

public class CsvExportControllerTest
extends junit.framework.TestCase

Test class for the TableVisualization Plugin.

Author:
Srinivasan Tharmarajah, Wasim Alsaqaf, Antoine Savelkoul

Field Summary
private  aterm.pure.PureFactory m_factory
           
private  CsvExportController m_tableVisualizationController
           
 
Constructor Summary
CsvExportControllerTest()
           
 
Method Summary
private  aterm.ATerm makeATerm(java.lang.String type)
          Creates an ATerm
protected  void setUp()
          Fixture setup.
 void testCreateWindow()
          Tests if a visualization window can be created.
 void testGetPluginName()
          Tests if the right plugin name is given when requested.
 void testGetSupportedTypes()
          Tests if there will no list of supported types will be given when asked.
 void testIsTypeSupported()
          Test for the supported types.
 void testTableVisualizationController()
          Tests if the TableVisualizationController has been created succesfully
 
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_tableVisualizationController

private CsvExportController m_tableVisualizationController

m_factory

private aterm.pure.PureFactory m_factory
Constructor Detail

CsvExportControllerTest

public CsvExportControllerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Fixture setup.

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testTableVisualizationController

public void testTableVisualizationController()
Tests if the TableVisualizationController has been created succesfully


testCreateWindow

public void testCreateWindow()
Tests if a visualization window can be created.


testGetPluginName

public void testGetPluginName()
Tests if the right plugin name is given when requested.


testGetSupportedTypes

public void testGetSupportedTypes()
Tests if there will no list of supported types will be given when asked. This because the isTypeSupported method will be used instead.


testIsTypeSupported

public void testIsTypeSupported()
Test for the supported types.


makeATerm

private aterm.ATerm makeATerm(java.lang.String type)
Creates an ATerm

Parameters:
type - the type of ATerm to be created
Returns:
the created ATerm

The Meta-Environment API