Ejemplo n.º 1
0
        public void IntegerValidatorMaxValueTest()
        {
            var section = new TestSection();

            section.Load(@"<someSection><integerValidatorMaxValue theProperty=""25"" /></someSection>");
            Assert.Equal(25, section.IntegerValidatorMaxValue.TheProperty);
        }
Ejemplo n.º 2
0
 private static void Main()
 {
     Common.SetLocalException();
     TestAppSettings.Create();
     Console.WriteLine(TestAppSettings.Load());
     TestConnectionStrings.Create();
     Console.WriteLine(TestConnectionStrings.Load());
     TestSection.Create();
     Console.WriteLine(TestSection.Load());
     Console.ReadKey(true);
 }
Ejemplo n.º 3
0
		public void IntegerValidatorMaxValueTest ()
		{
			var section = new TestSection ();
			section.Load (@"<someSection><integerValidatorMaxValue theProperty=""25"" /></someSection>");
			Assert.AreEqual (25, section.IntegerValidatorMaxValue.TheProperty);
		}