kolasu
1.6.0-RC1-observers-SNAPSHOT
jvm
core
/
com.strumenta.kolasu.testing
Package-level
declarations
Types
Functions
Types
ASTDifference
Exception
Link copied to clipboard
class
ASTDifferenceException
(
val
context
:
String
,
val
expected
:
Any
,
val
actual
:
Any
)
:
Exception
Ignore
Children
Link copied to clipboard
class
IgnoreChildren
<
N
:
Node
>
:
List
<
N
>
Functions
assert
ASTs
Are
Equal
Link copied to clipboard
fun
<
N
:
Node
>
assertASTsAreEqual
(
expected
:
Node
,
actual
:
ParsingResult
<
N
>
,
context
:
String
=
"<root>"
,
considerRange
:
Boolean
=
false
)
fun
assertASTsAreEqual
(
expected
:
Node
,
actual
:
Node
,
context
:
String
=
"<root>"
,
considerRange
:
Boolean
=
false
,
useLightweightAttributeEquality
:
Boolean
=
false
)
assert
Parsing
Results
Are
Equal
Link copied to clipboard
fun
<
T
:
Node
>
assertParsingResultsAreEqual
(
expected
:
ParsingResult
<
T
>
,
actual
:
ParsingResult
<
T
>
)