|
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.data.FactBrowserDataTest
public class FactBrowserDataTest
This is the class for JUnit testing of the FactBrowser system. It tests the in memory data structure and also tests the creation of the visualisation component;
Field Summary | |
---|---|
private FactBrowserDataManager |
dataManager
|
Constructor Summary | |
---|---|
FactBrowserDataTest()
|
Method Summary | |
---|---|
void |
testCreateRStore()
This method is here pure for testing of the RStore creation |
void |
testDataManager()
For the FactBrowser testing it is very important to test if the datamanger which manages the in memory data tree is present and will initialize. |
void |
testFactNode()
This method tests the creation of a fact node and the coupling of this fact node to the RStore parent. |
void |
testFactNodeConstructor()
This tests the constructor checking if the factname and factype are correctly initialized |
void |
testFactTypes()
This method will test if the RStoreFactType registration is working and it will test for different type of scenarios from nullpointers to string equality and testing the size of the initial plugin container |
void |
testResetDataManager()
This test checks if the reset of the dataManager works and checks it |
void |
testVisualisations()
This node tests the registration of the VisualisationPlugins. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 FactBrowserDataManager dataManager
Constructor Detail |
---|
public FactBrowserDataTest()
Method Detail |
---|
public void testDataManager()
public void testCreateRStore()
public void testFactTypes()
public void testFactNode()
public void testFactNodeConstructor()
public void testVisualisations()
public void testResetDataManager()
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |