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

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

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

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

            Assert.That(actual, Is.True);
        }
コード例 #3
0
        public void IsHandling_StructureFasterThan_False()
        {
            var sutXml = new StructureXml();
            var ctrXml = new FasterThanXml();
            var testCaseFactory = new TestCaseFactory();

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

            Assert.That(actual, Is.False);
        }
コード例 #4
0
        public void IsHandling_QueryFasterThan_True()
        {
            var sutXml = new ExecutionXml();
            var ctrXml = new FasterThanXml();
            var testCaseFactory = new TestCaseFactory();

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

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