toggle menu
gradle
8.11.1
API
switch theme
search in API
gradle
/
org.gradle.testkit.runner
/
UnexpectedBuildSuccess
Unexpected
Build
Success
API
open
class
UnexpectedBuildSuccess
:
UnexpectedBuildResultException
(
source
)
Thrown when executing a build that was expected to fail, but succeeded.
Since
2.6
See also
Gradle
Runner
Members
Constructors
Unexpected
Build
Success
Link copied to clipboard
API
constructor
(
message
:
String
,
buildResult
:
BuildResult
)
Properties
build
Result
Link copied to clipboard
API
val
buildResult
:
BuildResult
cause
Link copied to clipboard
API
open
val
cause
:
Throwable
stack
Trace
Link copied to clipboard
API
open
var
stackTrace
:
Array
<
StackTraceElement
>
Functions
add
Suppressed
Link copied to clipboard
API
fun
addSuppressed
(
exception
:
Throwable
)
fill
In
Stack
Trace
Link copied to clipboard
API
open
fun
fillInStackTrace
(
)
:
Throwable
get
Localized
Message
Link copied to clipboard
API
open
fun
getLocalizedMessage
(
)
:
String
get
Message
Link copied to clipboard
API
open
fun
getMessage
(
)
:
String
get
Suppressed
Link copied to clipboard
API
fun
getSuppressed
(
)
:
Array
<
Throwable
>
init
Cause
Link copied to clipboard
API
open
fun
initCause
(
cause
:
Throwable
)
:
Throwable
print
Stack
Trace
Link copied to clipboard
API
open
fun
printStackTrace
(
)
to
String
Link copied to clipboard
API
open
fun
toString
(
)
:
String