event_bloc_widget_tester library
The general tester for writing unit tests
Classes
-
SerializableListTester<
T> - This helps you easily write unit tests that have a serializable output.
-
SerializableListWidgetTester<
T> - This helps you easily write widget tests that have a serializable output.
- SerializableTester
- A Tester for a single test case
Enums
- ListTesterMode
- The modes that the Serializable Testers can be ran in with different properties.
Mixins
-
SerializableListTesterMixin<
T> - This is a mixin that stores the logic for creating a tester that supports the various ListTesterModes
Functions
-
createFileObject(
String path, String rawFilename) → File -
Converts
path
andrawFilename
into the expected File object -
createFolderIfNotExists(
String path) → bool - returns true if a folder was created and false if not
-
toFilename(
String rawName) → String -
Converts
rawName
to a filename with no folder traversal -
toFilePath(
String rawName) → String -
Converts
rawName
to the expected filePath