|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.testing.threadtester.RunResult
public class RunResult
Represents the result of running an InterleavedRunner.
| Constructor Summary | |
|---|---|
RunResult()
|
|
RunResult(Throwable main,
Throwable secondary)
|
|
| Method Summary | |
|---|---|
Throwable |
getMainException()
Gets the exception thrown by the MainRunnable |
Throwable |
getSecondaryException()
Gets the exception thrown by the SecondaryRunnable |
boolean |
hadException()
|
void |
throwExceptionsIfAny()
Throws the main and/or secondary exceptions if they are non-null. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RunResult()
public RunResult(Throwable main,
Throwable secondary)
| Method Detail |
|---|
public boolean hadException()
public void throwExceptionsIfAny()
throws RuntimeException
RuntimeExceptionpublic Throwable getMainException()
MainRunnable
public Throwable getSecondaryException()
SecondaryRunnable
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||