C# (CSharp) i18n.Tests Пространство имен

Пространства имен

i18n.Tests.Tests

Классы

Имя Описание
I18NMessageRepositoryFacts
I18NMessagesCacheFacts
I18NPoFileParserFacts
NuggetLocalizerTests
TestHelper
TextLocalizer_Mock_PrefixSuffix Mock implementation of ITextLocalizer with simplest of logic: · Supports single app language: "en" · GetText checks that the UserLanguage spec. matches "en" and if so simply wraps the msgid as follows: "xxxyyy". E.g. "Hello" -> "xxxHelloyyy". If no language match then returns null.
TextLocalizer_Mock_SingleMessage Mock implementation of ITextLocalizer with simplest of logic: · Supports single msgid/msgstr pair passed to cstor. · GetText checks that the UserLanguage spec. matches "en" and if so and msgid matches that passed to cstor, then returns the msgstr passed to cstor. Otherwise returns null.
UrlLocalizerTests