Exemplo n.º 1
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);
        }
Exemplo n.º 2
0
        public void IsHandling_QueryOrdered_False()
        {
            var sutXml = new ExecutionXml();
            var ctrXml = new OrderedXml();
            var testCaseFactory = new TestCaseFactory();

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

            Assert.That(actual, Is.False);
        }
Exemplo n.º 3
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);
        }
Exemplo n.º 4
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);
        }