Index

A B C D E G H I J L M N O P R S T V W 
All Classes and Interfaces|All Packages

A

all(ShouldMatch.Matching<T>...) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch
 
and(String, CtxConsumer<R, TestCaseContext.GCtx<T, R>>) - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.GivenCtxStmt
 
and(String, ResCtxConsumer<T, R>) - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.ThenCtxStmt
 
and(String, GivenFFn<T>) - Method in record class io.github.imagineDevit.giwt.TestCase.GivenStmt
 
and(String, ThenFn<R>) - Method in record class io.github.imagineDevit.giwt.TestCase.ThenStmt
 
andGiven(String, CtxConsumer<R, TestCaseContext.GCtx<T, R>>) - Method in class io.github.imagineDevit.giwt.TestCaseWithContext
 
andGiven(String, GivenFFn<T>) - Method in class io.github.imagineDevit.giwt.TestCase
Adds another Given statement to the current test case with the provided message and function.
andThen(String, ResCtxConsumer<T, R>) - Method in class io.github.imagineDevit.giwt.TestCaseWithContext
 
andThen(String, ThenFn<R>) - Method in class io.github.imagineDevit.giwt.TestCase
Adds a then statement to the current test case with the provided message and a consumer function.
anItemEqualTo(R) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldHave
 
applyOnState(Consumer<T>) - Method in class io.github.imagineDevit.giwt.TestCaseContext.WCtx
Apply an action on the context state
Assertable<T> - Interface in io.github.imagineDevit.giwt.assertions
Interface for the assertion methods.

B

between(T, T) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
 

C

consumeValue(Consumer<T>) - Method in class io.github.imagineDevit.giwt.TestCaseState
 
createTestCase(String, TestCaseReport.TestReport, TestParameters.Parameter) - Method in class io.github.imagineDevit.giwt.JGiwtTestExecutor
 
CtxConsumer<R,C extends TestCaseContext<?,R>> - Interface in io.github.imagineDevit.giwt.statements.functions.context
TextCase context consumer.

D

description() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch.Matching
Returns the value of the description record component.

E

empty() - Static method in class io.github.imagineDevit.giwt.TestCaseCtxResult
 
empty() - Static method in class io.github.imagineDevit.giwt.TestCaseCtxState
 
empty() - Static method in class io.github.imagineDevit.giwt.TestCaseResult
 
empty() - Static method in class io.github.imagineDevit.giwt.TestCaseState
 
equals(Object) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldFail
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldHave
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch.Matching
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.imagineDevit.giwt.TestCase.GivenStmt
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.imagineDevit.giwt.TestCase.ThenStmt
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.imagineDevit.giwt.TestCase.WhenStmt
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.GivenCtxStmt
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.ThenCtxStmt
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.WhenCtxStmt
Indicates whether some other object is "equal to" this one.
equalTo(T) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
 

G

GCtx() - Constructor for class io.github.imagineDevit.giwt.TestCaseContext.GCtx
 
get() - Method in class io.github.imagineDevit.giwt.TestCaseState
 
getResult() - Method in class io.github.imagineDevit.giwt.TestCaseContext.TCtx
Get the context result If the result is not present, an empty result is returned
getState() - Method in class io.github.imagineDevit.giwt.TestCaseContext
Get the context state
getVar(String) - Method in class io.github.imagineDevit.giwt.TestCaseContext
Get a context variable
given(String, CtxConsumer<R, TestCaseContext.GCtx<T, R>>) - Method in class io.github.imagineDevit.giwt.TestCaseWithContext
 
given(String, GivenRFn) - Method in class io.github.imagineDevit.giwt.TestCase
Creates a new Given statement with the provided message and (runnable) function.
given(String, GivenSFn<T>) - Method in class io.github.imagineDevit.giwt.TestCase
Creates a new Given statement with the provided message and (supplier) function.
given(String, T) - Method in class io.github.imagineDevit.giwt.TestCase
 
given(String, T) - Method in class io.github.imagineDevit.giwt.TestCaseWithContext
 
GivenCtxStmt(TestCaseWithContext<T, R>) - Constructor for record class io.github.imagineDevit.giwt.TestCaseWithContext.GivenCtxStmt
Creates an instance of a GivenCtxStmt record class.
GivenFFn<T> - Interface in io.github.imagineDevit.giwt.statements.functions.givens
 
GivenRFn - Interface in io.github.imagineDevit.giwt.statements.functions.givens
 
GivenSFn<T> - Interface in io.github.imagineDevit.giwt.statements.functions.givens
 
GivenStmt(TestCase<T, R>) - Constructor for record class io.github.imagineDevit.giwt.TestCase.GivenStmt
Creates an instance of a GivenStmt record class.
greaterThan(T) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
 

H

hashCode() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
Returns a hash code value for this object.
hashCode() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldFail
Returns a hash code value for this object.
hashCode() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldHave
Returns a hash code value for this object.
hashCode() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch
Returns a hash code value for this object.
hashCode() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch.Matching
Returns a hash code value for this object.
hashCode() - Method in record class io.github.imagineDevit.giwt.TestCase.GivenStmt
Returns a hash code value for this object.
hashCode() - Method in record class io.github.imagineDevit.giwt.TestCase.ThenStmt
Returns a hash code value for this object.
hashCode() - Method in record class io.github.imagineDevit.giwt.TestCase.WhenStmt
Returns a hash code value for this object.
hashCode() - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.GivenCtxStmt
Returns a hash code value for this object.
hashCode() - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.ThenCtxStmt
Returns a hash code value for this object.
hashCode() - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.WhenCtxStmt
Returns a hash code value for this object.

I

io.github.imagineDevit.giwt - package io.github.imagineDevit.giwt
 
io.github.imagineDevit.giwt.assertions - package io.github.imagineDevit.giwt.assertions
 
io.github.imagineDevit.giwt.statements.functions.context - package io.github.imagineDevit.giwt.statements.functions.context
 
io.github.imagineDevit.giwt.statements.functions.givens - package io.github.imagineDevit.giwt.statements.functions.givens
 
io.github.imagineDevit.giwt.statements.functions.thens - package io.github.imagineDevit.giwt.statements.functions.thens
 
io.github.imagineDevit.giwt.statements.functions.whens - package io.github.imagineDevit.giwt.statements.functions.whens
 

J

JGiwtTestEngine - Class in io.github.imagineDevit.giwt
Giwt test engine
JGiwtTestEngine() - Constructor for class io.github.imagineDevit.giwt.JGiwtTestEngine
 
JGiwtTestExecutor - Class in io.github.imagineDevit.giwt
Giwt test executor
JGiwtTestExecutor() - Constructor for class io.github.imagineDevit.giwt.JGiwtTestExecutor
 

L

lesserThan(T) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
 

M

map(Function<T, R>) - Method in class io.github.imagineDevit.giwt.TestCaseResult
 
map(UnaryOperator<T>) - Method in class io.github.imagineDevit.giwt.TestCaseCtxState
 
map(UnaryOperator<T>) - Method in class io.github.imagineDevit.giwt.TestCaseState
 
mapState(UnaryOperator<T>) - Method in class io.github.imagineDevit.giwt.TestCaseContext.GCtx
Map the context state
mapToResult(Function<T, R>) - Method in class io.github.imagineDevit.giwt.TestCaseContext.WCtx
Apply a function to the context state and set the context result with the returned value
mapToResult(Function<T, R>) - Method in class io.github.imagineDevit.giwt.TestCaseState
 
matching(String, Predicate<T>) - Static method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch
 
Matching(String, Predicate<T>) - Constructor for record class io.github.imagineDevit.giwt.assertions.ShouldMatch.Matching
Creates an instance of a Matching record class.

N

none(ShouldMatch.Matching<T>...) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch
 
notEqualTo(T) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
 
notNull() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
 
null_() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
 

O

of(T) - Static method in class io.github.imagineDevit.giwt.TestCaseCtxResult
 
of(T) - Static method in class io.github.imagineDevit.giwt.TestCaseCtxState
 
of(T) - Static method in class io.github.imagineDevit.giwt.TestCaseResult
 
of(T) - Static method in class io.github.imagineDevit.giwt.TestCaseState
 
ofErr(Exception) - Static method in class io.github.imagineDevit.giwt.TestCaseCtxResult
 
ofErr(Exception) - Static method in class io.github.imagineDevit.giwt.TestCaseResult
 
one(ShouldMatch.Matching<T>) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch
 
one(String, Predicate<T>) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch
 
oneOf(Collection<T>) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
 

P

predicate() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch.Matching
Returns the value of the predicate record component.

R

ResCtxConsumer<T,R> - Interface in io.github.imagineDevit.giwt.statements.functions.context
TextCase with context result consumer.
result() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
Returns the value of the result record component.
result() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldFail
Returns the value of the result record component.
result() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldHave
Returns the value of the result record component.
result() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch
Returns the value of the result record component.
result() - Method in class io.github.imagineDevit.giwt.TestCaseCtxResult
 
run() - Method in class io.github.imagineDevit.giwt.TestCase
 
run() - Method in class io.github.imagineDevit.giwt.TestCaseWithContext
 
run(TestCase) - Method in class io.github.imagineDevit.giwt.JGiwtTestExecutor
 

S

safeGetVar(String) - Method in class io.github.imagineDevit.giwt.TestCaseContext
Get a context variable safely
setResult(TestCaseCtxResult<R>) - Method in class io.github.imagineDevit.giwt.TestCaseContext.WCtx
Set the context result
setState(T) - Method in class io.github.imagineDevit.giwt.TestCaseContext.GCtx
Set the context state
setStateAsResult() - Method in class io.github.imagineDevit.giwt.TestCaseContext.WCtx
Set the context state as the context result
setVar(String, Object) - Method in class io.github.imagineDevit.giwt.TestCaseContext
Set a context variable
shouldBe() - Method in interface io.github.imagineDevit.giwt.assertions.Assertable
 
ShouldBe<T> - Record Class in io.github.imagineDevit.giwt.assertions
 
ShouldBe(ATestCaseResult.ResultValue.Ok<T>) - Constructor for record class io.github.imagineDevit.giwt.assertions.ShouldBe
Creates an instance of a ShouldBe record class.
shouldFail() - Method in interface io.github.imagineDevit.giwt.assertions.Assertable
 
ShouldFail - Record Class in io.github.imagineDevit.giwt.assertions
 
ShouldFail(ATestCaseResult.ResultValue.Err<?>) - Constructor for record class io.github.imagineDevit.giwt.assertions.ShouldFail
Creates an instance of a ShouldFail record class.
shouldHave() - Method in interface io.github.imagineDevit.giwt.assertions.Assertable
 
ShouldHave<T> - Record Class in io.github.imagineDevit.giwt.assertions
 
ShouldHave(ATestCaseResult.ResultValue.Ok<T>) - Constructor for record class io.github.imagineDevit.giwt.assertions.ShouldHave
Creates an instance of a ShouldHave record class.
shouldMatch() - Method in interface io.github.imagineDevit.giwt.assertions.Assertable
 
shouldMatch(Predicate<T>) - Method in interface io.github.imagineDevit.giwt.assertions.Assertable
 
ShouldMatch<T> - Record Class in io.github.imagineDevit.giwt.assertions
 
ShouldMatch(ATestCaseResult.ResultValue.Ok<T>) - Constructor for record class io.github.imagineDevit.giwt.assertions.ShouldMatch
Creates an instance of a ShouldMatch record class.
ShouldMatch.Matching<T> - Record Class in io.github.imagineDevit.giwt.assertions
 
shouldTest(T) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch.Matching
 
size(int) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldHave
 
supplyResult(Supplier<R>) - Method in class io.github.imagineDevit.giwt.TestCaseContext.WCtx
Supply the context result

T

TCtx(Map<String, Object>) - Constructor for class io.github.imagineDevit.giwt.TestCaseContext.TCtx
 
testCase() - Method in record class io.github.imagineDevit.giwt.TestCase.GivenStmt
Returns the value of the testCase record component.
testCase() - Method in record class io.github.imagineDevit.giwt.TestCase.ThenStmt
Returns the value of the testCase record component.
testCase() - Method in record class io.github.imagineDevit.giwt.TestCase.WhenStmt
Returns the value of the testCase record component.
testCase() - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.GivenCtxStmt
Returns the value of the testCase record component.
testCase() - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.ThenCtxStmt
Returns the value of the testCase record component.
testCase() - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.WhenCtxStmt
Returns the value of the testCase record component.
TestCase<T,R> - Class in io.github.imagineDevit.giwt
Test case representation
TestCase(String, TestCaseReport.TestReport, TestParameters.Parameter) - Constructor for class io.github.imagineDevit.giwt.TestCase
 
TestCase.GivenStmt<T,R> - Record Class in io.github.imagineDevit.giwt
 
TestCase.ThenStmt<T,R> - Record Class in io.github.imagineDevit.giwt
 
TestCase.WhenStmt<T,R> - Record Class in io.github.imagineDevit.giwt
 
TestCaseContext<T,R> - Class in io.github.imagineDevit.giwt
A context for a test case
TestCaseContext.GCtx<T,R> - Class in io.github.imagineDevit.giwt
 
TestCaseContext.TCtx<T,R> - Class in io.github.imagineDevit.giwt
 
TestCaseContext.WCtx<T,R> - Class in io.github.imagineDevit.giwt
 
TestCaseCtxResult<T> - Class in io.github.imagineDevit.giwt
A result of a test case with context
TestCaseCtxState<T> - Class in io.github.imagineDevit.giwt
A state of a test case with context
TestCaseResult<T> - Class in io.github.imagineDevit.giwt
A result of a test case
TestCaseState<T> - Class in io.github.imagineDevit.giwt
A state of a test case
TestCaseState(T) - Constructor for class io.github.imagineDevit.giwt.TestCaseState
 
TestCaseWithContext<T,R> - Class in io.github.imagineDevit.giwt
Test case representation with context
TestCaseWithContext(String, TestCaseReport.TestReport, TestParameters.Parameter) - Constructor for class io.github.imagineDevit.giwt.TestCaseWithContext
 
TestCaseWithContext.GivenCtxStmt<T,R> - Record Class in io.github.imagineDevit.giwt
 
TestCaseWithContext.ThenCtxStmt<T,R> - Record Class in io.github.imagineDevit.giwt
 
TestCaseWithContext.WhenCtxStmt<T,R> - Record Class in io.github.imagineDevit.giwt
 
then(String, ResCtxConsumer<T, R>) - Method in class io.github.imagineDevit.giwt.TestCaseWithContext
 
then(String, ResCtxConsumer<T, R>) - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.WhenCtxStmt
 
then(String, ThenFn<R>) - Method in class io.github.imagineDevit.giwt.TestCase
Adds a Then statement to the current test case with the provided message and a consumer function.
then(String, ThenFn<R>) - Method in record class io.github.imagineDevit.giwt.TestCase.WhenStmt
 
ThenCtxStmt(TestCaseWithContext<T, R>) - Constructor for record class io.github.imagineDevit.giwt.TestCaseWithContext.ThenCtxStmt
Creates an instance of a ThenCtxStmt record class.
ThenFn<R> - Interface in io.github.imagineDevit.giwt.statements.functions.thens
 
ThenStmt(TestCase<T, R>) - Constructor for record class io.github.imagineDevit.giwt.TestCase.ThenStmt
Creates an instance of a ThenStmt record class.
toResult(Function<T, R>) - Method in class io.github.imagineDevit.giwt.TestCaseCtxState
 
toString() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldBe
Returns a string representation of this record class.
toString() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldFail
Returns a string representation of this record class.
toString() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldHave
Returns a string representation of this record class.
toString() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch.Matching
Returns a string representation of this record class.
toString() - Method in record class io.github.imagineDevit.giwt.assertions.ShouldMatch
Returns a string representation of this record class.
toString() - Method in record class io.github.imagineDevit.giwt.TestCase.GivenStmt
Returns a string representation of this record class.
toString() - Method in record class io.github.imagineDevit.giwt.TestCase.ThenStmt
Returns a string representation of this record class.
toString() - Method in record class io.github.imagineDevit.giwt.TestCase.WhenStmt
Returns a string representation of this record class.
toString() - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.GivenCtxStmt
Returns a string representation of this record class.
toString() - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.ThenCtxStmt
Returns a string representation of this record class.
toString() - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.WhenCtxStmt
Returns a string representation of this record class.
toTCtx() - Method in class io.github.imagineDevit.giwt.TestCaseContext.WCtx
Convert the context to a TCtx
toWCtx() - Method in class io.github.imagineDevit.giwt.TestCaseContext.GCtx
Convert the context to a WCtx

V

value() - Method in interface io.github.imagineDevit.giwt.assertions.Assertable
 
value() - Method in class io.github.imagineDevit.giwt.TestCaseCtxState
 
value() - Method in class io.github.imagineDevit.giwt.TestCaseResult
 

W

WCtx(Map<String, Object>) - Constructor for class io.github.imagineDevit.giwt.TestCaseContext.WCtx
 
when(String, CtxConsumer<R, TestCaseContext.WCtx<T, R>>) - Method in record class io.github.imagineDevit.giwt.TestCaseWithContext.GivenCtxStmt
 
when(String, CtxConsumer<R, TestCaseContext.WCtx<T, R>>) - Method in class io.github.imagineDevit.giwt.TestCaseWithContext
 
when(String, WhenFn.C<T>) - Method in record class io.github.imagineDevit.giwt.TestCase.GivenStmt
 
when(String, WhenFn.F<T, R>) - Method in record class io.github.imagineDevit.giwt.TestCase.GivenStmt
 
when(String, WhenFn.F<T, R>) - Method in class io.github.imagineDevit.giwt.TestCase
Adds a When statement to the current test case with the provided message and a function.
when(String, WhenFn.R) - Method in record class io.github.imagineDevit.giwt.TestCase.GivenStmt
 
when(String, WhenFn.R) - Method in class io.github.imagineDevit.giwt.TestCase
Adds a When statement to the current test case with the provided message and a runnable function
when(String, WhenFn.S<R>) - Method in class io.github.imagineDevit.giwt.TestCase
Adds a When statement to the current test case with the provided message and a supplier function.
whenc(String, WhenFn.C<T>) - Method in class io.github.imagineDevit.giwt.TestCase
Adds a When statement to the current test case with the provided message and a consumer function
WhenCtxStmt(TestCaseWithContext<T, R>) - Constructor for record class io.github.imagineDevit.giwt.TestCaseWithContext.WhenCtxStmt
Creates an instance of a WhenCtxStmt record class.
WhenFn - Interface in io.github.imagineDevit.giwt.statements.functions.whens
 
WhenFn.C<T> - Interface in io.github.imagineDevit.giwt.statements.functions.whens
 
WhenFn.F<T,R> - Interface in io.github.imagineDevit.giwt.statements.functions.whens
 
WhenFn.R - Interface in io.github.imagineDevit.giwt.statements.functions.whens
 
WhenFn.S<R> - Interface in io.github.imagineDevit.giwt.statements.functions.whens
 
whenr(String, CtxConsumer<R, TestCaseContext.WCtx<T, R>>) - Method in class io.github.imagineDevit.giwt.TestCaseWithContext
 
whenr(String, WhenFn.R) - Method in class io.github.imagineDevit.giwt.TestCase
Adds a When statement to the current test case with the provided message and a runnable function
WhenStmt(TestCase<T, R>) - Constructor for record class io.github.imagineDevit.giwt.TestCase.WhenStmt
Creates an instance of a WhenStmt record class.
withContext() - Method in class io.github.imagineDevit.giwt.TestCase
 
withErrorOfType(Class<? extends Exception>) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldFail
 
withMessage(String) - Method in record class io.github.imagineDevit.giwt.assertions.ShouldFail
 
A B C D E G H I J L M N O P R S T V W 
All Classes and Interfaces|All Packages