예제 #1
0
        public void SubFeature1_DesktopPlatformSTAGEIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.STAGE, PlatformEnum.Desktop);

            var feature = new BasicFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_1(jsonSettings).IsEnabled());
        }
예제 #2
0
        public void SubFeature1_WinPhonePlatformPRODIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.PROD, PlatformEnum.WinPhone);

            var feature = new BasicFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_1(jsonSettings).IsEnabled());
        }
예제 #3
0
        public void SubFeature1_iOSPlatformQASIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.QAS, PlatformEnum.iOS);

            var feature = new BasicFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_1(jsonSettings).IsEnabled());
        }
예제 #4
0
        public void SubFeature1_AndroidPlatformDEVIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.DEV, PlatformEnum.Android);

            var feature = new BasicFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_1(jsonSettings).IsEnabled());
        }
예제 #5
0
        public void SubFeature1_WebPlatformPRODIsEnabled_ReturnsTrue()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.PROD, PlatformEnum.Web);

            var feature = new BasicFeature(jsonSettings);

            Assert.IsTrue(feature.SubFeature_1().IsEnabled());
        }
예제 #6
0
        public void SubFeature1_STAGEIsEnabled_ReturnsTrue()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.STAGE);

            var feature = new BasicFeature(jsonSettings);

            Assert.IsTrue(feature.SubFeature_1().IsEnabled());
        }