Package com.vaadin.tests
Class ThemeVariantTestHelper
java.lang.Object
com.vaadin.tests.ThemeVariantTestHelper
Helper class that provides methods for testing that a component correctly
implements the
HasThemeVariant interface. Individual component tests
are supposed to have test methods calling the methods in here to run the test
logic.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <TVariantEnum extends com.vaadin.flow.component.shared.ThemeVariant>
voidaddThemeVariant_removeThemeVariant_themeNamesDoesNotContainThemeVariant(com.vaadin.flow.component.shared.HasThemeVariant<TVariantEnum> component, TVariantEnum testValue) static <TVariantEnum extends com.vaadin.flow.component.shared.ThemeVariant>
voidaddThemeVariant_themeNamesContainsThemeVariant(com.vaadin.flow.component.shared.HasThemeVariant<TVariantEnum> component, TVariantEnum testValue)
-
Constructor Details
-
ThemeVariantTestHelper
public ThemeVariantTestHelper()
-
-
Method Details