예제 #1
0
        public static void RunTests()
        {
            TestInput.CommandLine = "";
            FunctionalTests module = new FunctionalTests();
            module.Init();

            module.AddChild(new XNodeReaderTests() { Attribute = new TestCaseAttribute() { Name = "XNodeReader", Desc = "XLinq XNodeReader Tests" } });
            module.Execute();

            Assert.Equal(0, module.FailCount);
        }
예제 #2
0
        public static void RunTests()
        {
            TestInput.CommandLine = "";
            FunctionalTests module = new FunctionalTests();
            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);
        }
예제 #3
0
        public static void RunTests()
        {
            TestInput.CommandLine = "";
            FunctionalTests module = new FunctionalTests();

            module.Init();

            module.AddChild(new MiscTests()
            {
                Attribute = new TestCaseAttribute()
                {
                    Name = "Misc", Desc = "XLinq Misc. Tests"
                }
            });
            module.Execute();

            Assert.Equal(0, module.FailCount);
        }
예제 #4
0
        public static void RunTests()
        {
            TestInput.CommandLine = "";
            FunctionalTests module = new FunctionalTests();

            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);
        }