C L S T W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- com.github.mvysny.kaributesting.v10 - package com.github.mvysny.kaributesting.v10
L
- LocatorJ - Class in com.github.mvysny.kaributesting.v10
-
To use this class, don't forget to add
import static com.github.karibu.testing.LocatorJ.*;to your test class. - LocatorJ() - Constructor for class com.github.mvysny.kaributesting.v10.LocatorJ
S
- SearchSpecJ<T extends com.vaadin.flow.component.Component> - Class in com.github.mvysny.kaributesting.v10
-
A criterion for matching components.
- SearchSpecJ(SearchSpec<T>) - Constructor for class com.github.mvysny.kaributesting.v10.SearchSpecJ
T
- toPredicate() - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
Returns a predicate which matches components based on this spec.
- toString() - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
W
- withCaption(String) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
The required
BasicUtilsKt#getCaption(Component); ifnull, no particular caption is matched. - withClasses(String) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
If not null, the component must match all of these classes.
- withCount(int) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
Expected count of matching components, defaults to
0..Int.MAX_VALUE - withCount(int, int) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
Expected count of matching components, defaults to
0..Int.MAX_VALUE - withCount(IntRange) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
expected count of matching components, defaults to
0..Int.MAX_VALUE - withId(String) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
The required
Component.getId(); ifnull, no particular id is matched. - withoutClasses(String) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
If not null, the component must NOT match any of these classes.
- withPlaceholder(String) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
The required
BasicUtilsKt#getPlaceholder(Component); ifnull, no particular placeholder is matched. - withPredicate(Predicate<T>) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
Adds an additional predicate which the component needs to match.
- withText(String) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
if not null, the component's
Element.getText()must match given text. - withValue(Object) - Method in class com.github.mvysny.kaributesting.v10.SearchSpecJ
-
The required
HasValue.getValue().
_
- _assert(Component, Class<T>, int) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there are exactly
countVISIBLE components of given class. - _assert(Component, Class<T>, int, Consumer<SearchSpecJ<T>>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there are exactly
countVISIBLE components of given class matching given spec. - _assert(Class<T>, int) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there are exactly
countVISIBLE components in the current UI matchblock. - _assert(Class<T>, int, Consumer<SearchSpecJ<T>>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there are exactly
countVISIBLE components in the current UI of given class which matches spec. - _assertNoDialogs() - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there are no dialogs shown.
- _assertNone(Component, Class<T>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there are no VISIBLE components of given class.
- _assertNone(Component, Class<T>, Consumer<SearchSpecJ<T>>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there are no VISIBLE components of given class matching given spec.
- _assertNone(Class<T>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there are no VISIBLE components in the current UI of given class.
- _assertNone(Class<T>, Consumer<SearchSpecJ<T>>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there are no VISIBLE components in the current UI of given class which matches spec.
- _assertOne(Component, Class<T>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there is exactly one VISIBLE components of given class.
- _assertOne(Component, Class<T>, Consumer<SearchSpecJ<T>>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there is exactly one VISIBLE components of given class matching given spec.
- _assertOne(Class<T>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there is exactly ono VISIBLE components in the current UI of given class.
- _assertOne(Class<T>, Consumer<SearchSpecJ<T>>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Expects that there is exactly one VISIBLE components in the current UI of given class which matches spec.
- _click(Button) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Clicks the button, but only if it is actually possible to do so by the user.
- _find(Component, Class<T>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Finds a list of VISIBLE components of given class.
- _find(Component, Class<T>, Consumer<SearchSpecJ<T>>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Finds a list of VISIBLE components of given class which matches given spec.
- _find(Class<T>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Finds a list of VISIBLE components of given class.
- _find(Class<T>, Consumer<SearchSpecJ<T>>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Finds a list of VISIBLE components of given class.
- _fireValueChange(C) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Fires a value change event which "comes from the client".
- _fireValueChange(C, boolean) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Fires a value change event which "comes from the client".
- _get(Component, Class<T>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Finds a VISIBLE component of given type which matches given class.
- _get(Component, Class<T>, Consumer<SearchSpecJ<T>>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Finds a VISIBLE component in the current UI of given clazz which matches given spec.
- _get(Class<T>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Finds a VISIBLE component of given type which matches given class.
- _get(Class<T>, Consumer<SearchSpecJ<T>>) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Finds a VISIBLE component in the current UI of given clazz which matches given spec.
- _setValue(HasValue<E, V>, V) - Static method in class com.github.mvysny.kaributesting.v10.LocatorJ
-
Sets the value of given component, but only if it is actually possible to do so by the user.
All Classes All Packages