The Meta-Environment API

nl.cwi.sen1.visbase.rstorecontainer.datatypes
Class FactInfoListTest

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

public class FactInfoListTest
extends junit.framework.TestCase

Tests the FactInfoList code

Author:
Ricardo Lindooren

Field Summary
private static org.apache.commons.logging.Log log
           
private  FactInfoList rStoreFactInfoListUnderTest
           
private  FactInfo rStoreFactInfoUsedForTests1
           
private  FactInfo rStoreFactInfoUsedForTests2
           
 
Constructor Summary
FactInfoListTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testAddFactInfoToList()
          Tests adding a FactInfo object to the list
 void testConstructFromAtermList()
          Tests the Constructor used to parse ATermList data
 void testGetRStoreFactIdentificationsList()
          Simple getter test (only checks for not null)
 void testRStoreFactIdentificationsList()
          Test the constructor code
 void testToATermList()
           
 
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
 

Field Detail

log

private static final org.apache.commons.logging.Log log

rStoreFactInfoListUnderTest

private FactInfoList rStoreFactInfoListUnderTest

rStoreFactInfoUsedForTests1

private FactInfo rStoreFactInfoUsedForTests1

rStoreFactInfoUsedForTests2

private FactInfo rStoreFactInfoUsedForTests2
Constructor Detail

FactInfoListTest

public FactInfoListTest()
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

testRStoreFactIdentificationsList

public void testRStoreFactIdentificationsList()
Test the constructor code


testConstructFromAtermList

public void testConstructFromAtermList()
                                throws java.lang.Exception
Tests the Constructor used to parse ATermList data

Throws:
java.lang.Exception

testAddFactInfoToList

public void testAddFactInfoToList()
Tests adding a FactInfo object to the list


testGetRStoreFactIdentificationsList

public void testGetRStoreFactIdentificationsList()
Simple getter test (only checks for not null)


testToATermList

public void testToATermList()

The Meta-Environment API