TestDocumentSelector class
Selects a Document configuration when composing a SuperEditor widget in a test.
Each document selection returns a TestSuperEditorConfigurator, which is used to complete the configuration, and to pump the SuperEditor.
Constructors
- TestDocumentSelector(WidgetTester _widgetTester)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromMarkdown(
String markdown) → TestSuperEditorConfigurator -
Configures the editor with a Document that's parsed from the
given
markdown. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withCustomContent(
MutableDocument document) → TestSuperEditorConfigurator -
withLongDoc(
) → TestSuperEditorConfigurator -
withLongTextContent(
) → TestSuperEditorConfigurator -
withSingleEmptyParagraph(
) → TestSuperEditorConfigurator -
withSingleParagraph(
) → TestSuperEditorConfigurator -
withSingleParagraphAndLink(
) → TestSuperEditorConfigurator -
withSingleShortParagraph(
) → TestSuperEditorConfigurator -
withTwoEmptyParagraphs(
) → TestSuperEditorConfigurator
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited