-
- All Implemented Interfaces:
-
java.io.Serializable
,org.gradle.internal.serialize.PlaceholderExceptionSupport
public final class KotlinTestFailure extends PlaceholderException
Class to be shown in default Gradle tests console reporter.
Example console output:
sample.SampleTests.testMe FAILED AssertionError at mpplib2/src/commonTest/kotlin/sample/SampleTests.kt:9
-
-
Constructor Summary
Constructors Constructor Description KotlinTestFailure(String className, String message, String stackTraceString, List<StackTraceElement> stackTrace, String expected, String actual)
-
Method Summary
Modifier and Type Method Description final String
getExpected()
final String
getActual()
Array<StackTraceElement>
getStackTrace()
Unit
printStackTrace(PrintWriter s)
Throwable
fillInStackTrace()
String
toString()
-
Methods inherited from class org.gradle.internal.serialize.PlaceholderException
getExceptionClassName, getMessage
-
Methods inherited from class kotlin.Throwable
addSuppressed, getCause, getLocalizedMessage, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getExpected
final String getExpected()
-
getStackTrace
Array<StackTraceElement> getStackTrace()
-
printStackTrace
Unit printStackTrace(PrintWriter s)
-
fillInStackTrace
Throwable fillInStackTrace()
-
-
-
-