com.objectwave.persist.file
Class RecordIterator.Test

java.lang.Object
  |
  +--com.objectwave.test.UnitTestBaseImpl
        |
        +--com.objectwave.persist.file.RecordIterator.Test
All Implemented Interfaces:
UnitTest
Enclosing class:
RecordIterator

public static class RecordIterator.Test
extends UnitTestBaseImpl

Unit tests.

Version:
$Id: RecordIterator.java,v 2.1 2002/03/23 13:42:10 dave_hoag Exp $
Author:
dhoag

Field Summary
 
Fields inherited from class com.objectwave.test.UnitTestBaseImpl
testContext
 
Constructor Summary
RecordIterator.Test()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main program for the Test class
 void setUp(java.lang.String str, TestContext context)
          The JUnit setup method
 void tearDown(TestContext context)
          The teardown method for JUnit
 void testIterate()
          A unit test for JUnit
 void testIterateWithInvalid()
          A unit test for JUnit
 
Methods inherited from class com.objectwave.test.UnitTestBaseImpl
createTest, removeFile, writeFile, writeFileResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordIterator.Test

public RecordIterator.Test()
Method Detail

main

public static void main(java.lang.String[] args)
The main program for the Test class

Parameters:
args - The command line arguments

setUp

public void setUp(java.lang.String str,
                  TestContext context)
           throws java.lang.Exception
The JUnit setup method

Specified by:
setUp in interface UnitTest
Overrides:
setUp in class UnitTestBaseImpl
Parameters:
str - The new Up value
context - The new Up value
Throws:
java.lang.Exception

tearDown

public void tearDown(TestContext context)
The teardown method for JUnit

Specified by:
tearDown in interface UnitTest
Overrides:
tearDown in class UnitTestBaseImpl
Parameters:
context - Description of Parameter

testIterateWithInvalid

public void testIterateWithInvalid()
                            throws java.io.IOException
A unit test for JUnit

Throws:
java.io.IOException - Description of Exception

testIterate

public void testIterate()
                 throws java.io.IOException
A unit test for JUnit

Throws:
java.io.IOException - Description of Exception