Package com.vaadin.browserless
Class BrowserlessTestConfigExtension
java.lang.Object
com.vaadin.browserless.BrowserlessTestConfigExtension
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterEachCallback,org.junit.jupiter.api.extension.BeforeEachCallback,org.junit.jupiter.api.extension.Extension
public class BrowserlessTestConfigExtension
extends Object
implements org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback
JUnit extension resolving the
BrowserlessTestConfig annotations
declared by a test, and making the resulting configuration available to the
BaseBrowserlessTest instance before it initializes the Vaadin
environment.
Registered by the browserless base test classes; there is no need to add it to a test explicitly.
- Since:
- 25.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterEach(org.junit.jupiter.api.extension.ExtensionContext context) voidbeforeEach(org.junit.jupiter.api.extension.ExtensionContext context)
-
Constructor Details
-
BrowserlessTestConfigExtension
public BrowserlessTestConfigExtension()
-
-
Method Details
-
beforeEach
public void beforeEach(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
beforeEachin interfaceorg.junit.jupiter.api.extension.BeforeEachCallback
-
afterEach
public void afterEach(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
afterEachin interfaceorg.junit.jupiter.api.extension.AfterEachCallback
-