示例#1
0
        public TestMappingFileProvider()
        {
            var mapping = new SortedDictionary <int, HashSet <String> >();

            mapping[1]  = new HashSet <String>(new[] { "en" });
            mapping[86] = new HashSet <String>(new[] { "zh", "en", "zh_Hant" });
            mapping[41] = new HashSet <String>(new[] { "de", "fr", "it", "rm" });
            mapping[65] = new HashSet <String>(new[] { "en", "zh_Hans", "ms", "ta" });
            mappingProvider.ReadFileConfigs(mapping);
        }
示例#2
0
        public static void SetupFixture(TestContext context)
        {
            var mapping = new SortedDictionary <int, HashSet <String> >();

            mapping[1]  = new HashSet <String>(new[] { "en" });
            mapping[86] = new HashSet <String>(new[] { "zh", "en", "zh_Hant" });
            mapping[41] = new HashSet <String>(new[] { "de", "fr", "it", "rm" });
            mapping[65] = new HashSet <String>(new[] { "en", "zh_Hans", "ms", "ta" });
            mappingProvider.ReadFileConfigs(mapping);
        }