Пример #1
0
        public void Run_WithoutParent()
        {
            RowTestSuite rowTestSuite = new RowTestSuite(GetRowTestMethodWith2Rows());

            rowTestSuite.Run(new NullListener(), TestFilter.Empty);

            Assert.That(rowTestSuite.Fixture, Is.Null);
        }
Пример #2
0
		public void Run_WithoutParent()
		{
			RowTestSuite rowTestSuite = new RowTestSuite(GetRowTestMethodWith2Rows());
			
			rowTestSuite.Run(new NullListener(),TestFilter.Empty);
			
			Assert.That(rowTestSuite.Fixture, Is.Null);
		}
Пример #3
0
		public void Run()
		{
			TestClass fixture = new TestClass();
			
			TestSuite parentSuite = new TestSuite("ParentSuiteName", "Name");
			parentSuite.Fixture = fixture;
			
			RowTestSuite rowTestSuite = new RowTestSuite(GetRowTestMethodWith2Rows());
			parentSuite.Add(rowTestSuite);
			
			rowTestSuite.Run(new NullListener(),TestFilter.Empty);
			
			Assert.That(rowTestSuite.Fixture, Is.SameAs(fixture));
		}
Пример #4
0
        public void Run()
        {
            TestClass fixture = new TestClass();

            TestSuite parentSuite = new TestSuite("ParentSuiteName", "Name");

            parentSuite.Fixture = fixture;

            RowTestSuite rowTestSuite = new RowTestSuite(GetRowTestMethodWith2Rows());

            parentSuite.Add(rowTestSuite);

            rowTestSuite.Run(new NullListener(), TestFilter.Empty);

            Assert.That(rowTestSuite.Fixture, Is.SameAs(fixture));
        }