|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase nl.cwi.sen1.visplugin.barchart.BarChartVisualizationTest
public class BarChartVisualizationTest
Test class for the PieChartVisualization Plugin. Original code : PieChart plugin ( A. Belgraver, R. van Remortel )
Field Summary | |
---|---|
private BCVisualizationController |
m_controller
|
private nl.cwi.sen1.relationstores.Factory |
m_factory
|
private nl.cwi.sen1.relationstores.types.RTuple |
m_relIntStr
|
private nl.cwi.sen1.relationstores.types.RTuple |
m_relStrInt
|
private nl.cwi.sen1.relationstores.types.RTuple |
m_relWrong
|
private nl.cwi.sen1.relationstores.types.RType |
m_typeRelIntStr
|
private nl.cwi.sen1.relationstores.types.RType |
m_typeRelStrInt
|
private nl.cwi.sen1.relationstores.types.RType |
m_typeRelWrong
|
private BCVisualizationWindow |
m_window
|
Constructor Summary | |
---|---|
BarChartVisualizationTest()
|
Method Summary | |
---|---|
private boolean |
isRTypeInATermArray(aterm.ATerm[] arr,
nl.cwi.sen1.relationstores.types.RType type)
Test if a specific RType is part of an ATerm array. |
protected void |
setUp()
Test setup. |
void |
testBarChartVisualizationController()
Test to see whether the control returns the correct type Window. |
void |
testControllerSupportedTypes()
See if the controller correctly advertises a supported types. |
void |
testConvertRTupleToDataset()
Test to see if RTuples are correctly converted, rel |
void |
testGetChartName()
Test to see if the name for the chart is correctly found. |
void |
testTypeCheck()
Test to see if the TypeCheck system works. |
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 BCVisualizationController m_controller
private BCVisualizationWindow m_window
private nl.cwi.sen1.relationstores.Factory m_factory
private nl.cwi.sen1.relationstores.types.RTuple m_relStrInt
private nl.cwi.sen1.relationstores.types.RTuple m_relIntStr
private nl.cwi.sen1.relationstores.types.RTuple m_relWrong
private nl.cwi.sen1.relationstores.types.RType m_typeRelStrInt
private nl.cwi.sen1.relationstores.types.RType m_typeRelIntStr
private nl.cwi.sen1.relationstores.types.RType m_typeRelWrong
Constructor Detail |
---|
public BarChartVisualizationTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testBarChartVisualizationController()
public void testTypeCheck()
public void testGetChartName()
public void testConvertRTupleToDataset()
public void testControllerSupportedTypes()
private boolean isRTypeInATermArray(aterm.ATerm[] arr, nl.cwi.sen1.relationstores.types.RType type)
arr
- Array of ATermstype
- RType to find in ATerm array
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |