org.mcraig.cs445.refentry
Class TestRefEntryBackEnd

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.mcraig.cs445.refentry.TestRefEntryBackEnd
All Implemented Interfaces:
junit.framework.Test

public class TestRefEntryBackEnd
extends junit.framework.TestCase

Test friendly methods of the RefEntryBackEnd class using the JUnit test framework.

Author:
Mark Craig

Field Summary
protected  RefEntryBackEnd backend
           
protected  java.io.File infile
           
protected  java.io.File outfile
           
protected  RefEntry refentry
           
protected  java.util.Properties xslt
           
 
Constructor Summary
TestRefEntryBackEnd()
           
 
Method Summary
 void runTest()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAdd()
           
 void testGetEntry()
           
 void testGetValues()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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

backend

protected RefEntryBackEnd backend

infile

protected java.io.File infile

outfile

protected java.io.File outfile

xslt

protected java.util.Properties xslt

refentry

protected RefEntry refentry
Constructor Detail

TestRefEntryBackEnd

public TestRefEntryBackEnd()
Method Detail

setUp

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

tearDown

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

testAdd

public void testAdd()

testGetEntry

public void testGetEntry()

testGetValues

public void testGetValues()

runTest

public void runTest()
Overrides:
runTest in class junit.framework.TestCase


Copyright © 2002-3 Mark Craig