Exemple #1
0
        public void ApplyConfig_OneOverridenVariable_Set()
        {
            var testSuite = new TestSuite(new XmlManager());
            var config    = new NBiSection();

            config.Variables.Add(new VariableElement("myVar", "123.12", ColumnType.Numeric));

            testSuite.ApplyConfig(config);
            Assert.That(TestSuite.OverridenVariables.Count, Is.EqualTo(1));
            Assert.That(TestSuite.OverridenVariables.ContainsKey("myVar"), Is.True);
            Assert.That(TestSuite.OverridenVariables["myVar"], Is.EqualTo(123.12));
        }