示例#1
0
        public void IsHandling_DataTypeIs_True()
        {
            var sutXml          = new DataTypeXml();
            var ctrXml          = new IsXml();
            var testCaseFactory = new TestCaseFactory();

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

            Assert.That(actual, Is.True);
        }
示例#2
0
        public void IsHandling_StructureSyntacticallyCorrect_False()
        {
            var sutXml          = new StructureXml();
            var ctrXml          = new SyntacticallyCorrectXml();
            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_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);
        }
示例#5
0
        public void IsHandling_MembersExists_False()
        {
            var sutXml          = new MembersXml();
            var ctrXml          = new ExistsXml();
            var testCaseFactory = new TestCaseFactory();

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

            Assert.That(actual, Is.False);
        }
示例#6
0
        public void IsHandling_StructureExists_True()
        {
            var sutXml          = new StructureXml();
            var ctrXml          = new ExistsXml();
            var testCaseFactory = new TestCaseFactory();

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

            Assert.That(actual, Is.True);
        }
示例#7
0
        public void IsHandling_StructureOrdered_True()
        {
            var sutXml          = new StructureXml();
            var ctrXml          = new OrderedXml();
            var testCaseFactory = new TestCaseFactory();

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

            Assert.That(actual, Is.False);
        }
示例#8
0
        public void IsHandling_MembersOrdered_True()
        {
            var sutXml          = new MembersXml();
            var ctrXml          = new OrderedXml();
            var testCaseFactory = new TestCaseFactory();

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

            Assert.That(actual, Is.True);
        }
示例#9
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);
        }
示例#10
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);
        }
示例#11
0
        public void IsHandling_ResultSetReferenceExists_True()
        {
            var sutXml          = new ResultSetSystemXml();
            var ctrXml          = new LookupExistsXml();
            var testCaseFactory = new TestCaseFactory();

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

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