Class MarkdownTester<T extends Markdown>
java.lang.Object
com.vaadin.browserless.ComponentTester<T>
com.vaadin.flow.component.markdown.MarkdownTester<T>
- Type Parameters:
T- component type
- All Implemented Interfaces:
Clickable<T>
Tester for Markdown components.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Markdown source content rendered by the component.Methods inherited from class com.vaadin.browserless.ComponentTester
ensureComponentIsUsable, ensureComponentIsUsable, ensureVisible, ensureVisible, find, findAllByQuery, findByQuery, fireDomEvent, fireDomEvent, fireDomEvent, getComponent, getField, getField, getMethod, getMethod, isUsable, isUsable, notUsableReasons, notUsableReasons, roundTrip, setModal, setValueAsUserMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.browserless.Clickable
click, click, click, middleClick, middleClick, rightClick, rightClick
-
Constructor Details
-
MarkdownTester
Wrap given component for testing.- Parameters:
component- target component
-
-
Method Details
-
getContent
Gets the Markdown source content rendered by the component.- Returns:
- the Markdown content, never
null - Throws:
IllegalStateException- if the component is not usable
-