Exemple #1
0
        private static ResourceSet GetResourceSet()
        {
            string defaultCulture = String.Empty;
            bool   isDefault      = true;

            return(Test_Localization.GetResourceSet(defaultCulture, isDefault));
        }
Exemple #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);
        }
Exemple #3
0
 private static ResourceSet GetResourceSet(string cultureName)
 {
     return(Test_Localization.GetResourceSet(cultureName, inheritFromParents: false));
 }