Пример #1
0
        public static void RunTests()
        {
            TestInput.CommandLine = "";
            MiscFunctionalTests module = new MiscFunctionalTests();

            module.Init();

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

            Assert.Equal(0, module.FailCount);
        }
Пример #2
0
        public static void RunTests()
        {
            TestInput.CommandLine = "";
            MiscFunctionalTests module = new MiscFunctionalTests();

            module.Init();

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

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