randoop.experiments
Class Check_no_error_reports

Object
  extended by Check_no_error_reports

public class Check_no_error_reports
extends Object

Randoop should generate Junit tests that result in testclasses failures. This means there should be no tests that terminate normally, and no tests that result in an error (which is different from a failure). The single input to this script is a file (which presumably contains the screen output of a junit run). If the last line, which looks something like Tests run: X, Failures: Y, Errors: Z is such that X != Y, this script exits with code 1, and outputs the line. Otherwise, it exits normally and outputs a success message.


Constructor Summary
Constructor and Description
Check_no_error_reports()
           
 
Method Summary
Modifier and Type Method and Description
static void check_no_error_reports(Reader in)
           
static void main(String[] args)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Check_no_error_reports

public Check_no_error_reports()
Method Detail

main

public static void main(String[] args)
                 throws FileNotFoundException,
                        IOException
Throws:
FileNotFoundException
IOException

check_no_error_reports

public static void check_no_error_reports(Reader in)
                                   throws IOException
Throws:
IOException