예제 #1
0
        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
        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
        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
        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);
        }