Interface ComparisonRuleBuilder.ChooseMatcher
-
- All Superinterfaces:
de.skuzzle.test.snapshots.ComparisonRuleBuilder.ChooseMatcher
- Enclosing interface:
- ComparisonRuleBuilder
@Deprecated(forRemoval=true, since="1.3.0") @API(status=DEPRECATED, since="1.3.0") public static interface ComparisonRuleBuilder.ChooseMatcher extends de.skuzzle.test.snapshots.ComparisonRuleBuilder.ChooseMatcherDeprecated, for removal: This API element is subject to removal in a future version.Since 1.3.0 - UseComparisonRuleBuilder.ChooseMatcherfrom core package instead.Allows to choose the comparison for the value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ComparisonRuleBuilderignore()Deprecated, for removal: This API element is subject to removal in a future version.Ignores values during comparison.ComparisonRuleBuildermustMatch(java.util.function.Predicate<? super java.lang.Object> predicate)Deprecated, for removal: This API element is subject to removal in a future version.The value must match the given predicate.ComparisonRuleBuildermustMatch(java.util.regex.Pattern regex)Deprecated, for removal: This API element is subject to removal in a future version.String representation of the value must match the given regex.
-
-
-
Method Detail
-
ignore
ComparisonRuleBuilder ignore()
Deprecated, for removal: This API element is subject to removal in a future version.Ignores values during comparison.- Specified by:
ignorein interfacede.skuzzle.test.snapshots.ComparisonRuleBuilder.ChooseMatcher- Returns:
- DSL object for specifying further rules.
-
mustMatch
ComparisonRuleBuilder mustMatch(java.util.regex.Pattern regex)
Deprecated, for removal: This API element is subject to removal in a future version.String representation of the value must match the given regex.- Specified by:
mustMatchin interfacede.skuzzle.test.snapshots.ComparisonRuleBuilder.ChooseMatcher- Parameters:
regex- The regex.- Returns:
- DSL object for specifying further rules.
-
mustMatch
ComparisonRuleBuilder mustMatch(java.util.function.Predicate<? super java.lang.Object> predicate)
Deprecated, for removal: This API element is subject to removal in a future version.The value must match the given predicate.- Specified by:
mustMatchin interfacede.skuzzle.test.snapshots.ComparisonRuleBuilder.ChooseMatcher- Parameters:
predicate- The predicate.- Returns:
- DSL object for specifying further rules.
-
-