|
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.visbase.factbrowser.FactBrowserTest
public class FactBrowserTest
This is the class which tests the toolbus interfaces as far as is possible.
Classes not tested FactBrowserDemo - This class was not tested
because it only contains visual items FactBrowserTif - This class was not
tested because toolbus generated file FactBrowserTool - This class was not
tested because toolbus generated file FactBrowserBridge - This class was not
tested because toolbus generated file
methods not tested FactBrowser.fbShowRstoreFacts - Not tested because
of complex RStoreFacts which must be composed FactBrowser.recAckEvent - This
is a blank method simply for toolbus compatibility FactBrowser.recTerminate -
This is a method which is called when the toolbus is terminating
FactBrowser.initStudioPlugin - Can only be tested when connected to the
MetaStudio FactBrowser.initFactBrowserLayout - This is a visual method so can
only be tested with a visual environment FactBrowser.openRstore - Can only be
tested when connected to the MetaStudio FactBrowser.connectPanelWithMenu -
Can only be tested when connected to the MetaStudio
Field Summary | |
---|---|
private FactBrowser |
factBrowser
|
private nl.cwi.sen1.relationstores.Factory |
factory
|
private aterm.pure.PureFactory |
pureFactory
|
Constructor Summary | |
---|---|
FactBrowserTest()
|
Method Summary | |
---|---|
protected void |
setUp()
This method sets up the Unit Test so the nessecary factory instances are present. |
void |
testAddVisualisation()
This method tests if it is possible to add a visualisation plugin to the FactBrowser |
void |
testFactory()
This method tests is the initialisations in the "SetUp" are working as should be. |
void |
testMouseClicked()
This test checks if the retrieval of data is succesfull when a double click should happen. |
void |
testToolName()
Test if the correct toolname is given for the FactBrowser |
void |
testVisualisationWindow()
Test it the visualisationWindow will create |
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 aterm.pure.PureFactory pureFactory
private nl.cwi.sen1.relationstores.Factory factory
private FactBrowser factBrowser
Constructor Detail |
---|
public FactBrowserTest()
Method Detail |
---|
protected void setUp()
setUp
in class junit.framework.TestCase
public void testToolName()
public void testFactory()
public void testAddVisualisation()
public void testVisualisationWindow()
public void testMouseClicked()
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |