Exemplo n.º 1
0
        private static ResourceSet GetResourceSet()
        {
            string defaultCulture = String.Empty;
            bool   isDefault      = true;

            return(Test_Localization.GetResourceSet(defaultCulture, isDefault));
        }
Exemplo n.º 2
0
        public void Localization_deDE_NotEmptyNoneNullNoneEmpty()
        {
            var resourceSet = Test_Localization.GetResourceSet(CULTURE_GERMAN);

            var dictionaryEntries = GetDictionaryEntriesFrom(resourceSet);
            var values            = dictionaryEntries.Select(entry => (string)entry.Value).ToList();

            Assert.IsTrue(values.Count > 0);
            CollectionAssert.AllItemsAreNotNull(values);
            CollectionAssert.DoesNotContain(values, String.Empty, NOT_NONE_EMPTY_MESSAGE);
        }
Exemplo n.º 3
0
 private static ResourceSet GetResourceSet(string cultureName)
 {
     return(Test_Localization.GetResourceSet(cultureName, inheritFromParents: false));
 }