コード例 #1
0
 public void AfterFixture(IFixture fixture)
 {
     if (this.currentFixture != null)
     {
         this.currentFixture.UpdateCounter();
         this.currentFixture = null;
     }
 }
コード例 #2
0
        public bool Filter(IFixture fixture)
        {
            XmlFixture xfixture = this.Searcher.GetFixture(fixture.Name);

            if (xfixture == null)
            {
                return(false);
            }
            else
            {
                return(xfixture.Counter.FailureCount > 0);
            }
        }
コード例 #3
0
 public void BeforeFixture(IFixture fixture, int testCaseCount)
 {
     this.currentFixture = new XmlFixture(fixture, testCaseCount,
                                          GetCategories(fixture), this.currentTestAssembly.Fixtures.Count);
     this.currentTestAssembly.Fixtures.Add(this.currentFixture);
 }