Exemplo n.º 1
0
        public static void RunTests()
        {
            TestInput.CommandLine = "";
            PropertiesFunctionalTests module = new PropertiesFunctionalTests();

            module.Init();

            //for class PropertiesTests
            {
                module.AddChild(new PropertiesTests()
                {
                    Attribute = new TestCaseAttribute()
                    {
                        Name = "Properties", Desc = "XLinq Properties Tests"
                    }
                });
            }
            module.Execute();

            Assert.Equal(0, module.FailCount);
        }
Exemplo n.º 2
0
        public static void RunTests()
        {
            TestInput.CommandLine = "";
            PropertiesFunctionalTests module = new PropertiesFunctionalTests();

            module.Init();

            //for class PropertiesTests
            {
                module.AddChild(new PropertiesTests()
                {
                    Attribute = new TestCaseAttribute()
                    {
                        Name = "Properties", Desc = "XLinq Properties Tests"
                    }
                });
            }
            module.Execute();

            Assert.False(module.HasFailures, module.GetFailuresInfo());
        }