MessagesMatchers

io.github.frikit.twirlspec.messages.MessagesMatchers

Matchers over a service's message files.

Attributes

Source
MessagesMatchers.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def beConsistentAcrossLanguages(config: Config = ...): Matcher[MessagesApi]

Every configured language is measured against the base: key parity both ways, empty values, placeholders, quoting and how much is translated.

Every configured language is measured against the base: key parity both ways, empty values, placeholders, quoting and how much is translated.

Attributes

Source
MessagesMatchers.scala

The configuration the matchers use; override it once on a spec base.

The configuration the matchers use; override it once on a spec base.

Attributes

Source
MessagesMatchers.scala

Concrete fields

val haveNoDuplicateKeys: Matcher[Seq[File]]

No key is defined twice within any one of these files.

No key is defined twice within any one of these files.

Attributes

Source
MessagesMatchers.scala