Esempio n. 1
0
        public void Should_Load_LocalizationResources_From_Database()
        {
            CultureInfo info = new CultureInfo("es-ES");
            Resources   res  = LocaleResourceFactory.GetLanguageLocale(info, Enumerations.ResourceSource.DataBase);

            Assert.NotNull(res);
        }
Esempio n. 2
0
        public void Should_Load_LocalizationResources_From_File()
        {
            // arrange
            CultureInfo info = new CultureInfo("es-ES");
            // act
            Resources res = LocaleResourceFactory.GetLanguageLocale(info, Enumerations.ResourceSource.File);

            Assert.NotNull(res);
        }