sota.ast.util
Class LogReader
java.lang.Object
sota.ast.util.LogReader
public class LogReader
- extends java.lang.Object
Liest eine Logdatei ein und erstellt aus den gelesenen Daten ein TestCase mit Pfadinformationen.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
endOfFile
protected static boolean endOfFile
endOfLog
protected static boolean endOfLog
input
protected static java.io.FileInputStream input
intValue
protected static int intValue
pathID
protected static int pathID
stackOfIterationNodes
protected static java.util.Stack<ASTIterationNode> stackOfIterationNodes
VERBOSE
protected static boolean VERBOSE
LogReader
public LogReader()
bytes2int
protected static int bytes2int(byte[] b)
clearHeader
protected static int clearHeader(int i)
getNrBooleans
protected static int getNrBooleans(int i)
intToBooleanArray
protected static boolean[] intToBooleanArray(int booleans)
intToBooleanString
protected static java.lang.String intToBooleanString(int booleans)
intToString
protected static java.lang.String intToString(int value)
isBoolean
protected static boolean isBoolean(int value)
isNodeId
protected static boolean isNodeId(int value)
isPathId
protected static boolean isPathId(int value)
read4Bytes
protected static int read4Bytes()
throws java.io.IOException
- Throws:
java.io.IOException
readLog
protected static TestLog readLog(java.io.FileInputStream input,
java.lang.String log,
ASTManager ast)
- liest Logfile ein und schreibt PfadListe in den ASTManager)
readTestLogs
public TestLog readTestLogs(java.lang.String logfile,
ASTManager ast)