Exemple #1
0
        public void SubFeature1_WebPlatformPRODIsEnabled_ReturnsTrue()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.PROD, PlatformEnum.Web, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsTrue(feature.SubFeature_1().IsEnabled());
        }
Exemple #2
0
        public void SubFeature1_DEVIsEnabled_ReturnsTrue()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.DEV, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsTrue(feature.SubFeature_1().IsEnabled());
        }
Exemple #3
0
        public void Feature_LOCALIsEnabledDifferentApp_ReturnsTrue()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL, _differentApp);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsTrue(feature.IsEnabled());
        }
Exemple #4
0
        public void Feature_LocalIsEnabled_ReturnsTrue()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsTrue(feature.IsEnabled());
        }
Exemple #5
0
        public void SubFeature2_AndroidPlatformDEVIsEnabled_ReturnsTrue()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.DEV, PlatformEnum.Android, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsTrue(feature.SubFeature_2(jsonSettings).IsEnabled());
        }
Exemple #6
0
        public void SubFeature3_iOSPlatformLocalIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL, PlatformEnum.iOS, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_3(jsonSettings).IsEnabled());
        }
Exemple #7
0
        public void SubFeature3_AndroidPlatformPRODIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.PROD, PlatformEnum.Android, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_3(jsonSettings).IsEnabled());
        }
Exemple #8
0
        public void Feature_DEVWinPhonePlatformIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL, PlatformEnum.WinPhone, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.IsEnabled());
        }
Exemple #9
0
        public void SubFeature3_WebPlatformSTAGEIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.STAGE, PlatformEnum.Web, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_3(jsonSettings).IsEnabled());
        }
Exemple #10
0
        public void Feature_STAGEIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.STAGE, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.IsEnabled());
        }
Exemple #11
0
        public void SubFeature2_DesktopPlatformQASIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.QAS, PlatformEnum.Desktop, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_2(jsonSettings).IsEnabled());
        }
Exemple #12
0
        public void SubFeature3_QASIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.QAS, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_3(jsonSettings).IsEnabled());
        }
Exemple #13
0
        public void Feature_DEVIsEnabledWrongApp_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.DEV, _differentApp);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.IsEnabled());
        }
Exemple #14
0
        public void SubFeature2_WinPhonePlatformDEVIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.DEV, PlatformEnum.WinPhone, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.SubFeature_2(jsonSettings).IsEnabled());
        }
Exemple #15
0
        public void Feature_PRODDesktopPlatformIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.PROD, PlatformEnum.Desktop, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsFalse(feature.IsEnabled());
        }
Exemple #16
0
        public void SubFeature2_WebPlatformLocalIsEnabled_ReturnsTrue()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.LOCAL, PlatformEnum.Web, _application);

            var feature = new ApplicationAllFeature(jsonSettings);

            Assert.IsTrue(feature.SubFeature_2(jsonSettings).IsEnabled());
        }
Exemple #17
0
        public void SubFeature1_DesktopPlatformPRODIsEnabled_ReturnsFalse()
        {
            var jsonSettings = GetJsonSettings(EnvironmentEnum.PROD, PlatformEnum.Desktop, _application);

            var feature = new ApplicationAllFeature(jsonSettings);
            var subFeat = feature.SubFeature_1(jsonSettings);

            Assert.IsFalse(subFeat.IsEnabled());
        }