The Meta-Environment API

nl.cwi.sen1.visbase.rstorecontainer
Class RStoreTrackerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by nl.cwi.sen1.visbase.rstorecontainer.RStoreTrackerTest
All Implemented Interfaces:
junit.framework.Test

public class RStoreTrackerTest
extends junit.framework.TestCase

Tests the code of the RStore Tracker

Author:
Ricardo Lindooren

Constructor Summary
RStoreTrackerTest(java.lang.String arg0)
           
 
Method Summary
private  nl.cwi.sen1.relationstores.types.RStore createSimpleRStore()
          Creates a simple RStore.
private  nl.cwi.sen1.relationstores.types.RStore createUpdatedRStore()
          Creates an updated version of the simple RStore.
protected  void setUp()
           
protected  void tearDown()
           
 void testCreateIdentifierForRTuple()
          Tests the code that is used to generate an textual identifier for a RTuple
 void testDiffRtuples()
          Tests the code used to determine if two RTuples differ from eachother
 void testGetFactInfoFromRStore()
          Tests the code used for retrieving a FactInfoList based on the RStore in the Tracker
 void testGetRStore()
          Simple getter test
 void testGetRTuple()
          Simple getter test
 void testRegisterNewRTuple()
           
 void testRStoreTracker()
          Tests the code of the constructor
 void testUpdate()
          TODO
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RStoreTrackerTest

public RStoreTrackerTest(java.lang.String arg0)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testRStoreTracker

public void testRStoreTracker()
Tests the code of the constructor


testUpdate

public void testUpdate()
TODO


testGetRStore

public void testGetRStore()
Simple getter test


testGetRTuple

public void testGetRTuple()
Simple getter test


testGetFactInfoFromRStore

public void testGetFactInfoFromRStore()
Tests the code used for retrieving a FactInfoList based on the RStore in the Tracker


testDiffRtuples

public void testDiffRtuples()
Tests the code used to determine if two RTuples differ from eachother


testRegisterNewRTuple

public void testRegisterNewRTuple()

testCreateIdentifierForRTuple

public void testCreateIdentifierForRTuple()
Tests the code that is used to generate an textual identifier for a RTuple


createSimpleRStore

private nl.cwi.sen1.relationstores.types.RStore createSimpleRStore()
Creates a simple RStore. Using coding example from the WIKI (http://www.renarj.nl/metatrac/wiki/RStores)

Returns:
the generated simple RStore

createUpdatedRStore

private nl.cwi.sen1.relationstores.types.RStore createUpdatedRStore()
Creates an updated version of the simple RStore.

Returns:
the generated updated RStore
See Also:
Using coding example from the WIKI (http://www.renarj.nl/metatrac/wiki/RStores)

The Meta-Environment API