java.lang.Object |
↳ |
com.atlassian.buildeng.hallelujah.api.server.AbstractServerListener |
|
↳ |
com.atlassian.jira.hallelujah.FailSlowTestsListener |
Class Overview
This listener simply fails test if it took longer than #maxAllowedDurationMS
Summary
Public Methods |
boolean
|
onResultReceived(ServerTestCaseResultCollector serverTestCaseResultCollector, ServerTestCaseProvider serverTestCaseProvider, TestCaseResult testCaseResult)
|
[Expand]
Inherited Methods |
From class
com.atlassian.buildeng.hallelujah.api.server.AbstractServerListener
void
|
onFinish(ServerTestCaseProvider arg0, ServerTestCaseResultCollector arg1)
|
void
|
onNewTestAdded(ServerTestCaseResultCollector arg0, ServerTestCaseProvider arg1, TestCaseName arg2)
|
boolean
|
onResultReceived(ServerTestCaseResultCollector arg0, ServerTestCaseProvider arg1, TestCaseResult arg2)
|
void
|
onServerTimeout(ServerTestCaseProvider arg0, ServerTestCaseResultCollector arg1)
|
void
|
onStart(ServerTestCaseProvider arg0, ServerTestCaseResultCollector arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.buildeng.hallelujah.api.server.ServerListener
void
|
onFinish(ServerTestCaseProvider arg0, ServerTestCaseResultCollector arg1)
|
void
|
onNewTestAdded(ServerTestCaseResultCollector arg0, ServerTestCaseProvider arg1, TestCaseName arg2)
|
boolean
|
onResultReceived(ServerTestCaseResultCollector arg0, ServerTestCaseProvider arg1, TestCaseResult arg2)
|
void
|
onServerTimeout(ServerTestCaseProvider arg0, ServerTestCaseResultCollector arg1)
|
void
|
onStart(ServerTestCaseProvider arg0, ServerTestCaseResultCollector arg1)
|
|
Public Constructors
public
FailSlowTestsListener
(long maxAllowedDuration, TimeUnit unit)
Public Methods
public
boolean
onResultReceived
(ServerTestCaseResultCollector serverTestCaseResultCollector, ServerTestCaseProvider serverTestCaseProvider, TestCaseResult testCaseResult)