Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }