java.lang.Object
com.vuze.plugins.mlab.MLabRunner.TestListener
- All Implemented Interfaces:
MLabRunner.ToolListener
- Enclosing class:
MLabRunner
Standalone test
Field Summary
FieldsConstructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionvoidCalled when the test completesbooleanWhether the test has finished.voidreportDetail(String str) Report a detail messagevoidreportSummary(String str) Report a summary message
Field Details
_complete
True once the test has finished.
Constructor Details
TestListener
private TestListener()Receives the speed test's progress.
Method Details
reportSummary
Description copied from interface:MLabRunner.ToolListenerReport a summary message- Specified by:
reportSummaryin interfaceMLabRunner.ToolListener- Parameters:
str- summary line to show the user
reportDetail
Description copied from interface:MLabRunner.ToolListenerReport a detail message- Specified by:
reportDetailin interfaceMLabRunner.ToolListener- Parameters:
str- detail line to show the user
complete
Description copied from interface:MLabRunner.ToolListenerCalled when the test completes- Specified by:
completein interfaceMLabRunner.ToolListener- Parameters:
results- test results keyed by result name, e.g. download speed
isComplete
public boolean isComplete()Whether the test has finished.- Returns:
- true if the test is done