|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.labs.minion.test.regression.merge.MergeTestReplayer.MergeReplayReporter
public class MergeTestReplayer.MergeReplayReporter
MergeTestReporter is a TestReporter that emits its report to the console. Many of these methods are no-ops.
Constructor Summary | |
---|---|
MergeTestReplayer.MergeReplayReporter()
Creata a new instance of me |
Method Summary | |
---|---|
void |
diffException(java.lang.Throwable t)
|
void |
endDiff()
Reports the end of diff |
void |
endIndexing()
End indexing. |
void |
endInverting()
End inverting |
void |
endIteration()
End the iteration. |
void |
endOptimizing()
End optimising |
void |
endReport()
End the test report. |
void |
endReportMissingFiles()
End the report of missing files |
void |
index(java.lang.String file,
boolean success)
Index a file and indicate its success at being indexed. |
void |
invertException(java.lang.Exception e)
Report an exception while inverting |
void |
missingFile(java.lang.String filename)
Report a missing file following inversion |
void |
optimizeException(SearchEngineException e)
Reports an exception while optimising |
void |
reportDiff(java.lang.String outputPathname,
boolean success)
Report the output from diff |
void |
reportTestFiles(java.lang.String[] testFiles)
Outputs the name of each file. |
void |
setReportFilename(java.lang.String reportFileName)
Sets the name of the file onto which the reporter should write its report |
void |
startDiff()
Start diff. |
void |
startIndexing()
Start indexing. |
void |
startInverting()
Start invertng |
void |
startIteration(int i)
Start the ith iteration. |
void |
startOptimizing()
Start optimising |
void |
startReport()
Begin the test report. |
void |
startReportMissingFiles(int i)
Report the number of missing files following inversion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MergeTestReplayer.MergeReplayReporter()
Method Detail |
---|
public void startReport() throws java.io.IOException
java.io.IOException
public void reportTestFiles(java.lang.String[] testFiles) throws java.io.IOException
testFiles
- an array of Strings containing the names of the files
java.io.IOException
public void endReport() throws java.io.IOException
java.io.IOException
public void startIteration(int i) throws java.io.IOException
i
- the count of the iteration
java.io.IOException
public void endIteration() throws java.io.IOException
java.io.IOException
public void startIndexing() throws java.io.IOException
java.io.IOException
public void index(java.lang.String file, boolean success) throws java.io.IOException
file
- the name of the file indexedsuccess
- a boolean indicating the success of the index of the file
java.io.IOException
public void endIndexing() throws java.io.IOException
java.io.IOException
public void startInverting() throws java.io.IOException
java.io.IOException
public void endInverting() throws java.io.IOException
java.io.IOException
public void invertException(java.lang.Exception e) throws java.io.IOException
e
- the exception to be reported
java.io.IOException
public void startDiff() throws java.io.IOException
java.io.IOException
public void reportDiff(java.lang.String outputPathname, boolean success) throws java.io.IOException
outputPathname
- the name of the file comparedsuccess
- the result of the comparison. False if different.
java.io.IOException
public void diffException(java.lang.Throwable t) throws java.io.IOException
java.io.IOException
public void endDiff() throws java.io.IOException
java.io.IOException
public void startOptimizing() throws java.io.IOException
java.io.IOException
public void endOptimizing() throws java.io.IOException
java.io.IOException
public void optimizeException(SearchEngineException e) throws java.io.IOException
e
- a SearchEngineException
java.io.IOException
public void setReportFilename(java.lang.String reportFileName)
reportFileName
- the name of a filepublic void endReportMissingFiles() throws java.io.IOException
java.io.IOException
public void missingFile(java.lang.String filename) throws java.io.IOException
filename
- the name of the missing file
java.io.IOException
public void startReportMissingFiles(int i) throws java.io.IOException
i
- the number of missing files
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |