Uses of Class
io.karatelabs.match.Result
Packages that use Result
-
Uses of Result in io.karatelabs.core
Methods in io.karatelabs.core that return ResultModifier and TypeMethodDescriptionStepExecutor.evalMatchString(String expression, String docString) Parses and evaluates a full match-expression string (e.g.MatchRunEvent.result()Returns the value of theresultrecord component.Methods in io.karatelabs.core with parameters of type ResultModifier and TypeMethodDescriptionstatic MatchRunEventMatchRunEvent.exit(Match.Type matchType, String actualExpr, String expectedExpr, Object actual, Object expected, Result result, ScenarioRuntime sr) Creates a MATCH_EXIT event fired after the match is evaluated.Constructors in io.karatelabs.core with parameters of type ResultModifierConstructorDescriptionMatchRunEvent(RunEventType type, Match.Type matchType, String actualExpr, String expectedExpr, Object actual, Object expected, Result result, ScenarioRuntime scenarioRuntime, long timeStamp) Creates an instance of aMatchRunEventrecord class. -
Uses of Result in io.karatelabs.match
Fields in io.karatelabs.match declared as ResultMethods in io.karatelabs.match that return ResultModifier and TypeMethodDescriptionValue.containsAny(Object expected) Value.containsDeep(Object expected) Value.containsOnly(Object expected) Value.containsOnlyDeep(Object expected) Value.eachContains(Object expected) Value.eachContainsAny(Object expected) Value.eachContainsDeep(Object expected) Value.eachContainsOnly(Object expected) Value.eachEquals(Object expected) Value.eachNotContains(Object expected) Value.eachNotEquals(Object expected) static ResultMatch.execute(io.karatelabs.js.Engine engine, Match.Type matchType, Object actual, Object expected) static ResultMatch.execute(io.karatelabs.js.Engine engine, Match.Type matchType, Object actual, Object expected, boolean matchEachEmptyAllowed) static ResultMatch.execute(io.karatelabs.js.Engine engine, Match.Type matchType, Object actual, Object expected, long memoryThreshold) static Resultstatic ResultResult.fail(String message, List<Result.Failure> failures) Value.is(Match.Type matchType, Object expected) Value.notContains(Object expected) Methods in io.karatelabs.match that return types with arguments of type ResultModifier and TypeMethodDescriptionBiConsumer<io.karatelabs.js.Context, Result> Expect.getOnResult()Method parameters in io.karatelabs.match with type arguments of type ResultModifier and TypeMethodDescriptionstatic ValueMatch.evaluate(Object actual, io.karatelabs.js.Context context, BiConsumer<io.karatelabs.js.Context, Result> onResult) Constructor parameters in io.karatelabs.match with type arguments of type ResultModifierConstructorDescriptionExpect(Object subject, boolean negated, BiConsumer<io.karatelabs.js.Context, Result> onResult, boolean throwOnFailure) Creates an Expect instance with control over throw behavior.Expect(Object subject, boolean negated, BiConsumer<io.karatelabs.js.Context, Result> onResult, boolean throwOnFailure, Supplier<io.karatelabs.js.Context> contextSupplier) Creates an Expect instance with full control over behavior.Expect(Object subject, BiConsumer<io.karatelabs.js.Context, Result> onResult)