| Package | Description |
|---|---|
| net.javacrumbs.jsonunit.core.internal.matchers |
| Modifier and Type | Method and Description |
|---|---|
@NotNull InternalMatcher |
InternalMatcher.describedAs(@NotNull String description)
Sets the description of this object.
|
@NotNull InternalMatcher |
InternalMatcher.node(@NotNull String newPath)
Creates an assert object that only compares given node.
|
@NotNull InternalMatcher |
InternalMatcher.when(@NotNull ConfigurationWhen.PathsParam object,
ConfigurationWhen.ApplicableForPath... actions)
Sets advanced/local options.
|
@NotNull InternalMatcher |
InternalMatcher.whenIgnoringPaths(String... pathsToBeIgnored) |
@NotNull InternalMatcher |
InternalMatcher.withDifferenceListener(@NotNull DifferenceListener differenceListener) |
@NotNull InternalMatcher |
InternalMatcher.withIgnorePlaceholder(@NotNull String ignorePlaceholder)
Sets the placeholder that can be used to ignore values.
|
@NotNull InternalMatcher |
InternalMatcher.withMatcher(@NotNull String matcherName,
@NotNull org.hamcrest.Matcher<?> matcher)
Adds a internalMatcher to be used in ${json-unit.matches:matcherName} macro.
|
@NotNull InternalMatcher |
InternalMatcher.withOptions(@NotNull Option firstOption,
Option... otherOptions)
Sets options changing comparison behavior.
|
@NotNull InternalMatcher |
InternalMatcher.withTolerance(@Nullable BigDecimal tolerance)
Sets the tolerance for floating number comparison.
|
@NotNull InternalMatcher |
InternalMatcher.withTolerance(double tolerance)
Sets the tolerance for floating number comparison.
|
Copyright © 2020. All rights reserved.