FormatTester<T> class

An abstract class that allows to test a TranslationFormat in a standarized test with diverse messages.

It is recommended to use the implmentations MonolingualFormatTester for monolingual formats, and MultilingualParsingTester, MultilingualGenerateTemplateTester for formats with multiple locales.

See intl_translation_arb for an actual implementation of a FormatTester.

Implementers

Constructors

FormatTester()

Properties

defaultLocale String
read-only
format TranslationFormat<FileData>
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
messages Map<String, MainMessage>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
translatedMessages Map<String, MainMessage>
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited