-
- 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()
Throwable
getCause()
String
getMessage()
Array<StackTraceElement>
getStackTrace()
Unit
printStackTrace(PrintWriter s)
Throwable
fillInStackTrace()
String
toString()
-
Methods inherited from class java.lang.Exception
addSuppressed, getLocalizedMessage, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class org.jetbrains.kotlin.gradle.testing.KotlinTestFailure
getExceptionClassName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getExpected
final String getExpected()
-
getMessage
String getMessage()
-
getStackTrace
Array<StackTraceElement> getStackTrace()
-
printStackTrace
Unit printStackTrace(PrintWriter s)
-
fillInStackTrace
Throwable fillInStackTrace()
-
-
-
-