Uses of Class
net.javacrumbs.jsonunit.core.Configuration
| Package | Description |
|---|---|
| net.javacrumbs.jsonunit.core | |
| net.javacrumbs.jsonunit.core.internal | |
| net.javacrumbs.jsonunit.core.internal.matchers | |
| net.javacrumbs.jsonunit.core.listener |
-
Uses of Configuration in net.javacrumbs.jsonunit.core
Methods in net.javacrumbs.jsonunit.core that return Configuration Modifier and Type Method Description @NotNull ConfigurationConfigurationWhen.ApplicableForPath. applyForPaths(@NotNull Configuration configuration, @NotNull ConfigurationWhen.PathsParam pathsParam)static @NotNull ConfigurationConfiguration. empty()Returns an empty configuration.@NotNull ConfigurationConfiguration. when(@NotNull ConfigurationWhen.PathsParam object, @NotNull ConfigurationWhen.ApplicableForPath... actions)Defines general comparison options.@NotNull ConfigurationConfiguration. when(@NotNull Option first, @NotNull Option... next)Adds comparison options.@NotNull ConfigurationConfiguration. whenIgnoringPaths(@NotNull String... pathsToBeIgnored)Makes JsonUnit ignore the specified paths in the actual value.@NotNull ConfigurationConfiguration. whenIgnoringPaths(@NotNull Collection<String> pathsToBeIgnored)@NotNull ConfigurationConfiguration. withDifferenceListener(@NotNull DifferenceListener differenceListener)Sets difference listener@NotNull ConfigurationConfiguration. withIgnorePlaceholder(@NotNull String ignorePlaceholder)Sets ignore placeholder.@NotNull ConfigurationConfiguration. withMatcher(@NotNull String matcherName, @NotNull org.hamcrest.Matcher<?> matcher)Adds a matcher to be used in ${json-unit.matches:matcherName} macro.@NotNull ConfigurationConfiguration. withOptions(@NotNull Options options)Sets comparison options.@NotNull ConfigurationConfiguration. withOptions(@NotNull Option first, @NotNull Option... next)Adds comparison options.@NotNull ConfigurationConfiguration. withPathOptions(@NotNull List<PathOption> pathOptions)@NotNull ConfigurationConfiguration. withTolerance(double tolerance)Sets numerical comparison tolerance.@NotNull ConfigurationConfiguration. withTolerance(@Nullable BigDecimal tolerance)Sets numerical comparison tolerance.Methods in net.javacrumbs.jsonunit.core with parameters of type Configuration Modifier and Type Method Description @NotNull ConfigurationConfigurationWhen.ApplicableForPath. applyForPaths(@NotNull Configuration configuration, @NotNull ConfigurationWhen.PathsParam pathsParam) -
Uses of Configuration in net.javacrumbs.jsonunit.core.internal
Methods in net.javacrumbs.jsonunit.core.internal with parameters of type Configuration Modifier and Type Method Description static DiffDiff. create(Object expected, Object actual, String actualName, String path, Configuration configuration)static DiffDiff. create(Object expected, Object actual, String actualName, Path path, Configuration configuration)static DiffDiff. createInternal(Object expected, Object actual, String actualName, Path path, Configuration configuration, String differenceString)static booleanJsonUtils. nodeAbsent(Object json, String path, Configuration configuration)static booleanJsonUtils. nodeAbsent(Object json, Path path, Configuration configuration) -
Uses of Configuration in net.javacrumbs.jsonunit.core.internal.matchers
Constructors in net.javacrumbs.jsonunit.core.internal.matchers with parameters of type Configuration Constructor Description InternalMatcher(@NotNull Object actual, @NotNull Path path, @NotNull String description, @NotNull Configuration configuration) -
Uses of Configuration in net.javacrumbs.jsonunit.core.listener
Methods in net.javacrumbs.jsonunit.core.listener that return Configuration Modifier and Type Method Description ConfigurationDifferenceContext. getConfiguration()Configuration used for comparison.