ParsingFormatTester<T> class

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

The implementation of this class should use testParseFile to compare the expected translatedMessages (eg. simpleMessage) with the result of extracting the messages from the file content with the desired translation format

See alse MonolingualFormatTester, MultilingualParsingTester

Implemented types
Implementers

Constructors

ParsingFormatTester()

Properties

allMessages → T
read-only
defaultLocale String
read-only, inherited
format TranslationFormat<FileData>
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
messages Map<String, MainMessage>
read-only, inherited
messageWithMetadata → T
read-only
pluralMessage → T
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
simpleMessage → T
Messages file
read-only
translatedMessages Map<String, MainMessage>
read-only, inherited
variableMessage → T
read-only

Methods

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

Operators

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