| Package | Description |
|---|---|
| software.amazon.awscdk.assertions |
Assertions
|
| Modifier and Type | Class and Description |
|---|---|
class |
Capture
(experimental) Capture values while matching templates.
|
| Modifier and Type | Method and Description |
|---|---|
static Matcher |
Match.absent()
(experimental) Use this matcher in the place of a field's value, if the field must not be present.
|
static Matcher |
Match.anyValue()
(experimental) Matches any non-null value at the target.
|
static Matcher |
Match.arrayEquals(List<? extends Object> pattern)
(experimental) Matches the specified pattern with the array found in the same relative path of the target.
|
static Matcher |
Match.arrayWith(List<? extends Object> pattern)
(experimental) Matches the specified pattern with the array found in the same relative path of the target.
|
static Matcher |
Match.exact(Object pattern)
(experimental) Deep exact matching of the specified pattern to the target.
|
static Matcher |
Match.not(Object pattern)
(experimental) Matches any target which does NOT follow the specified pattern.
|
static Matcher |
Match.objectEquals(Map<String,? extends Object> pattern)
(experimental) Matches the specified pattern to an object found in the same relative path of the target.
|
static Matcher |
Match.objectLike(Map<String,? extends Object> pattern)
(experimental) Matches the specified pattern to an object found in the same relative path of the target.
|
static Matcher |
Match.serializedJson(Object pattern)
(experimental) Matches any string-encoded JSON and applies the specified pattern after parsing it.
|
| Modifier and Type | Method and Description |
|---|---|
MatchResult |
MatchResult.push(Matcher matcher,
List<String> path,
String message)
(experimental) Push a new failure into this result at a specific path.
|
Copyright © 2021. All rights reserved.