Drift Engine Documentation
Toggle table of contents
1.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Drift Engine Documentation
core
/
dev.gmitch215.drift.contract
/
ContractReport
Contract
Report
class
ContractReport
(
val
results
:
List
<
AssertionResult
>
)
(
source
)
One
AssertionResult
per assertion, in contract order.
Members
Constructors
Contract
Report
Link copied to clipboard
constructor
(
results
:
List
<
AssertionResult
>
)
Properties
breaks
Link copied to clipboard
val
breaks
:
Int
first
Link copied to clipboard
val
first
:
AssertionResult
?
holds
Link copied to clipboard
val
holds
:
Int
ok
Link copied to clipboard
val
ok
:
Boolean
results
Link copied to clipboard
val
results
:
List
<
AssertionResult
>
unverifiable
Link copied to clipboard
val
unverifiable
:
Int
Functions
json
Link copied to clipboard
fun
json
(
)
:
String
text
Link copied to clipboard
fun
text
(
)
:
String
to
Json
Link copied to clipboard
fun
toJson
(
)
:
JsonObject