Package com.vaadin.testbench.unit
Annotation ComponentTesterPackages
-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Target(value = {ElementType.TYPE})@Retention(value = RetentionPolicy.RUNTIME) public @interface ComponentTesterPackages
Annotation to use to scan given packages for component wrappers outside the default
This makes adding custom component wrappers simpler as they can then use package protected fields and methods.com.vaadin.flow.component.
-
-
Method Summary
Modifier and Type Method Description abstract Array<String>value()Array of packages to scan for ComponentTester implementations. -
-
Method Detail
-
value
abstract Array<String> value()
Array of packages to scan for ComponentTester implementations.
Implementation should use the Tests annotation to be used automatically in thewraps(Component)method.- Returns:
String array of packages to scan
-
-
-
-