コード例 #1
0
ファイル: TestCaseFactoryTest.cs プロジェクト: WimDeRons/NBi
        public void IsHandling_QueryRowCount_True()
        {
            var sutXml          = new ExecutionXml();
            var ctrXml          = new RowCountXml();
            var testCaseFactory = new TestCaseFactory();

            var actual = testCaseFactory.IsHandling(sutXml.GetType(), ctrXml.GetType());

            Assert.That(actual, Is.True);
        }
コード例 #2
0
ファイル: TestCaseFactoryTest.cs プロジェクト: WimDeRons/NBi
        public void IsHandling_QueryExists_False()
        {
            var sutXml          = new ExecutionXml();
            var ctrXml          = new ExistsXml();
            var testCaseFactory = new TestCaseFactory();

            var actual = testCaseFactory.IsHandling(sutXml.GetType(), ctrXml.GetType());

            Assert.That(actual, Is.False);
        }
コード例 #3
0
ファイル: TestCaseFactoryTest.cs プロジェクト: WimDeRons/NBi
        public void IsHandling_ExecutionMatchPattern_True()
        {
            var sutXml          = new ExecutionXml();
            var ctrXml          = new MatchPatternXml();
            var testCaseFactory = new TestCaseFactory();

            var actual = testCaseFactory.IsHandling(sutXml.GetType(), ctrXml.GetType());

            Assert.That(actual, Is.True);
        }
コード例 #4
0
ファイル: TestCaseFactoryTest.cs プロジェクト: WimDeRons/NBi
        public void IsHandling_QuerySyntacticallyCorrect_True()
        {
            var sutXml          = new ExecutionXml();
            var ctrXml          = new SyntacticallyCorrectXml();
            var testCaseFactory = new TestCaseFactory();

            var actual = testCaseFactory.IsHandling(sutXml.GetType(), ctrXml.GetType());

            Assert.That(actual, Is.True);
        }