org.ucl.xpathtest
Class FileInputTester

java.lang.Object
  extended byorg.ucl.xpathtest.FileInputTester

public class FileInputTester
extends java.lang.Object

Class FileInputTester reads in a file of test cases and tests the input


Constructor Summary
FileInputTester(java.io.InputStream in, InputChecker checker)
          Constructor takes in args and assigns instance variables
 
Method Summary
 void do_all()
          Iterate through each line of filestream read in form buffer, if starting with `****xml` , `%` or `****` Then either load xml file, continue or check string prceeding `****`, else throw exceptions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileInputTester

public FileInputTester(java.io.InputStream in,
                       InputChecker checker)
Constructor takes in args and assigns instance variables

Parameters:
in - file to be tested form inputstream
checker - check input
Method Detail

do_all

public void do_all()
            throws java.io.IOException
Iterate through each line of filestream read in form buffer, if starting with `****xml` , `%` or `****` Then either load xml file, continue or check string prceeding `****`, else throw exceptions.

Throws:
java.io.IOException