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