コード例 #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());
        }