assertk
Module Contents
alltypes
Module Contents
Assert
Module Contents
assertThat
given
name
transform
AssertBlock
AssertkDsl
Module Contents
<init>
PlatformName
Module Contents
<init>
name
Result
Module Contents
exceptionOrNull
failure
getOrNull
isSuccess
runCatching
success
Table
Module Contents
forAll
TableFun
Module Contents
invoke
Table1
Module Contents
forAll
row
Table1Builder
Module Contents
row
Table2
Module Contents
forAll
row
Table2Builder
Module Contents
row
Table3
Module Contents
forAll
row
Table3Builder
Module Contents
row
Table4
Module Contents
forAll
row
Table4Builder
Module Contents
row
TableBuilder
ThreadLocalRef
Module Contents
<init>
get
protected
open
fun
initialValue
(
)
:
T
set
package
assertk
Module Contents
all
all
Assert
Module Contents
assertThat
given
name
transform
assertAll
AssertBlock
AssertkDsl
Module Contents
<init>
assertThat
assertThat
assertThat
catch
doesNotThrowAnyException
fun
fail
(
error
:
AssertionError
)
:
Nothing
fail
fun
fail
(
error
:
AssertionError
)
:
Nothing
notifyFailure
PlatformName
Module Contents
<init>
name
Result
Module Contents
exceptionOrNull
failure
getOrNull
isSuccess
runCatching
success
returnedValue
Table
Module Contents
forAll
TableFun
Module Contents
invoke
Table1
Module Contents
forAll
row
Table1Builder
Module Contents
row
Table2
Module Contents
forAll
row
Table2Builder
Module Contents
row
Table3
Module Contents
forAll
row
Table3Builder
Module Contents
row
Table4
Module Contents
forAll
row
Table4Builder
Module Contents
row
TableBuilder
tableOf
tableOf
tableOf
tableOf
ThreadLocalRef
Module Contents
<init>
get
protected
open
fun
initialValue
(
)
:
T
set
thrownError
value
package
assertk.assertions
Module Contents
any
atLeast
atMost
fun
Assert
<
File
>
.
bytes
(
)
:
Assert
<
ByteArray
>
fun
Assert
<
Path
>
.
bytes
(
)
:
Assert
<
ByteArray
>
cause
contains
contains
contains
contains
contains
contains
contains
contains
contains
contains
contains
contains
contains
contains
containsAll
containsAll
containsAll
containsAll
containsAll
containsAll
containsAll
containsAll
containsAll
containsAll
containsExactly
containsExactly
containsExactly
containsExactly
containsExactly
containsExactly
containsExactly
containsExactly
containsExactly
containsNone
containsNone
containsNone
containsNone
containsNone
containsNone
containsNone
containsNone
containsNone
containsNone
containsOnly
containsOnly
containsOnly
containsOnly
containsOnly
containsOnly
containsOnly
containsOnly
containsOnly
containsOnly
corresponds
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotContain
doesNotCorrespond
doesNotHaveClass
fun
<
T
:
Any
>
Assert
<
T
>
.
doesNotHaveClass
(
jclass
:
Class
<
out
T
>
)
:
Unit
each
each
each
each
each
each
each
each
each
endsWith
exactly
fun
Assert
<
File
>
.
exists
(
)
:
Unit
fun
Assert
<
File
>
.
extension
(
)
:
Assert
<
String
>
extracting
extracting
extracting
extracting
extracting
extracting
hasCause
hasClass
fun
<
T
:
Any
>
Assert
<
T
>
.
hasClass
(
jclass
:
Class
<
out
T
>
)
:
Unit
fun
Assert
<
File
>
.
hasDirectChild
(
expected
:
File
)
:
Unit
fun
Assert
<
File
>
.
hasExtension
(
expected
:
String
)
:
Unit
hasHashCode
hashCodeFun
hasLength
hasLineCount
hasMessage
fun
Assert
<
File
>
.
hasName
(
expected
:
String
)
:
Unit
hasNoCause
fun
Assert
<
InputStream
>
.
hasNotSameContentAs
(
expected
:
InputStream
)
:
Unit
fun
Assert
<
File
>
.
hasParent
(
expected
:
String
)
:
Unit
fun
Assert
<
File
>
.
hasPath
(
expected
:
String
)
:
Unit
hasRootCause
fun
Assert
<
InputStream
>
.
hasSameContentAs
(
expected
:
InputStream
)
:
Unit
hasSameLengthAs
hasSameSizeAs
hasSameSizeAs
hasSameSizeAs
hasSameSizeAs
hasSameSizeAs
hasSameSizeAs
hasSameSizeAs
hasSameSizeAs
hasSameSizeAs
hasSameSizeAs
hasSize
hasSize
hasSize
hasSize
hasSize
hasSize
hasSize
hasSize
hasSize
hasSize
fun
Assert
<
File
>
.
hasText
(
expected
:
String
,
charset
:
Charset
=
Charsets.UTF_8
)
:
Unit
hasToString
index
index
index
index
index
index
index
index
index
isBetween
isCloseTo
isCloseTo
fun
<
T
:
Any
>
Assert
<
T
>
.
isDataClassEqualTo
(
expected
:
T
)
:
Unit
fun
Assert
<
File
>
.
isDirectory
(
)
:
Unit
fun
Assert
<
Path
>
.
isDirectory
(
vararg
options
:
LinkOption
)
:
Unit
isEmpty
isEmpty
isEmpty
isEmpty
isEmpty
isEmpty
isEmpty
isEmpty
isEmpty
isEmpty
isEmpty
isEmpty
isEqualByComparingTo
fun
Assert
<
BigDecimal
>
.
isEqualByComparingTo
(
expected
:
String
)
:
Unit
isEqualTo
isEqualTo
isEqualTo
isEqualTo
isEqualTo
isEqualTo
isEqualTo
isEqualTo
isEqualTo
isEqualTo
fun
<
T
:
Any
>
Assert
<
T
>
.
isEqualToIgnoringGivenProperties
(
other
:
T
,
vararg
properties
:
KProperty1
<
T
,
Any
?
>
)
:
Unit
isEqualToWithGivenProperties
fun
Assert
<
Path
>
.
isExecutable
(
)
:
Unit
isFailure
isFalse
fun
Assert
<
File
>
.
isFile
(
)
:
Unit
isGreaterThan
isGreaterThanOrEqualTo
fun
Assert
<
File
>
.
isHidden
(
)
:
Unit
fun
Assert
<
Path
>
.
isHidden
(
)
:
Unit
isIn
isInstanceOf
fun
<
T
:
Any
,
S
:
T
>
Assert
<
T
>
.
isInstanceOf
(
jclass
:
Class
<
S
>
)
:
Assert
<
S
>
isLessThan
isLessThanOrEqualTo
isNegative
isNotEmpty
isNotEmpty
isNotEmpty
isNotEmpty
isNotEmpty
isNotEmpty
isNotEmpty
isNotEmpty
isNotEmpty
isNotEmpty
isNotEmpty
isNotEmpty
isNotEqualTo
isNotEqualTo
isNotEqualTo
isNotEqualTo
isNotEqualTo
isNotEqualTo
isNotEqualTo
isNotEqualTo
isNotEqualTo
isNotEqualTo
fun
Assert
<
File
>
.
isNotHidden
(
)
:
Unit
isNotIn
isNotInstanceOf
fun
<
T
:
Any
>
Assert
<
T
>
.
isNotInstanceOf
(
jclass
:
Class
<
out
T
>
)
:
Unit
isNotNull
isNotSameAs
isNotZero
isNull
isNullOrEmpty
isNullOrEmpty
isNullOrEmpty
isNullOrEmpty
isNullOrEmpty
isNullOrEmpty
isNullOrEmpty
isNullOrEmpty
isNullOrEmpty
isNullOrEmpty
isNullOrEmpty
isPositive
fun
Assert
<
Path
>
.
isReadable
(
)
:
Unit
fun
Assert
<
Path
>
.
isRegularFile
(
vararg
options
:
LinkOption
)
:
Unit
isSameAs
fun
Assert
<
Path
>
.
isSameFileAs
(
expected
:
Path
)
:
Unit
isStrictlyBetween
isSuccess
fun
Assert
<
Path
>
.
isSymbolicLink
(
)
:
Unit
isTrue
fun
Assert
<
Path
>
.
isWritable
(
)
:
Unit
isZero
fun
<
T
:
Any
>
Assert
<
T
>
.
jClass
(
)
:
Assert
<
Class
<
out
T
>
>
kClass
key
length
fun
Assert
<
Path
>
.
lines
(
charset
:
Charset
=
Charsets.UTF_8
)
:
Assert
<
List
<
String
>
>
matches
matchesPredicate
message
messageContains
fun
Assert
<
File
>
.
name
(
)
:
Assert
<
String
!
>
none
fun
Assert
<
File
>
.
parent
(
)
:
Assert
<
String
!
>
fun
Assert
<
File
>
.
path
(
)
:
Assert
<
String
!
>
prop
fun
<
T
,
P
>
Assert
<
T
>
.
prop
(
callable
:
KCallable
<
P
>
)
:
Assert
<
P
>
rootCause
size
size
size
size
size
size
size
size
size
size
fun
Assert
<
Throwable
>
.
stackTrace
(
)
:
Assert
<
List
<
String
>
>
startsWith
fun
Assert
<
File
>
.
text
(
charset
:
Charset
=
Charsets.UTF_8
)
:
Assert
<
String
>
toStringFun
package
assertk.assertions.support
Module Contents
expected
fail
show