|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream spec.io.ValidityCheckOutputStream
public class ValidityCheckOutputStream
This class implements a special from of OutputStream that is used by to validity check the output from the benchmarks. Data is written here when spec.harness.Context.out.println() is called.
Constructor Summary | |
---|---|
ValidityCheckOutputStream(java.lang.String benchName)
Creates a new PrintStream. |
Method Summary | |
---|---|
void |
createValidityFile()
Create the valitity check file. |
static java.lang.String |
getValidityFileName(java.lang.String bmName)
|
boolean |
validityCheck(LoopResult lResults)
Validity check the output and write any errors into the results property file |
void |
write(int b)
Writes a byte. |
Methods inherited from class java.io.OutputStream |
---|
close, flush, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidityCheckOutputStream(java.lang.String benchName)
benchName
- Name of benchmark.Method Detail |
---|
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
b
- the byte.
java.io.IOException
- If an I/O error has occurred.public boolean validityCheck(LoopResult lResults)
lResults
- the bean that contains config info and will contain the errors.
public static java.lang.String getValidityFileName(java.lang.String bmName)
public void createValidityFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |