| Package | Description |
|---|---|
| software.amazon.awscdk.assertions |
Assertions
|
| Modifier and Type | Class and Description |
|---|---|
class |
Capture
Capture values while matching templates.
|
| Modifier and Type | Method and Description |
|---|---|
static Matcher |
Match.absent()
Use this matcher in the place of a field's value, if the field must not be present.
|
static Matcher |
Match.anyValue()
Matches any non-null value at the target.
|
static Matcher |
Match.arrayEquals(List<? extends Object> pattern)
Matches the specified pattern with the array found in the same relative path of the target.
|
static Matcher |
Match.arrayWith(List<? extends Object> pattern)
Matches the specified pattern with the array found in the same relative path of the target.
|
static Matcher |
Match.exact(Object pattern)
Deep exact matching of the specified pattern to the target.
|
Matcher |
MatchFailure.getMatcher()
The matcher that had the failure.
|
Matcher |
MatchFailure.Jsii$Proxy.getMatcher() |
static Matcher |
Match.not(Object pattern)
Matches any target which does NOT follow the specified pattern.
|
static Matcher |
Match.objectEquals(Map<String,? extends Object> pattern)
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)
Matches the specified pattern to an object found in the same relative path of the target.
|
static Matcher |
Match.serializedJson(Object pattern)
Matches any string-encoded JSON and applies the specified pattern after parsing it.
|
static Matcher |
Match.stringLikeRegexp(String pattern)
Matches targets according to a regular expression.
|
| Modifier and Type | Method and Description |
|---|---|
MatchFailure.Builder |
MatchFailure.Builder.matcher(Matcher matcher)
Sets the value of
MatchFailure.getMatcher() |
MatchResult |
MatchResult.push(Matcher matcher,
List<String> path,
String message)
Deprecated.
use recordFailure()
|
Copyright © 2022. All rights reserved.