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