public XmlFixture GetFixture(string fixtureName) { XmlFixture tc = null; this.fixtures.TryGetValue(fixtureName, out tc); return(tc); }
public XmlFixture GetFixture(XmlFixture fixture) { if (fixture == null) { throw new ArgumentNullException("fixture"); } return(GetFixture(fixture.Name)); }
public XmlTestCase GetTestCase(XmlFixture fixture, XmlTestCase testCase) { if (fixture == null) throw new ArgumentNullException("fixture"); if (testCase == null) throw new ArgumentNullException("testCase"); return GetTestCase(fixture.Name, testCase.Name); }
public XmlTestCase GetTestCase(XmlFixture fixture, XmlTestCase testCase) { if (fixture == null) { throw new ArgumentNullException("fixture"); } if (testCase == null) { throw new ArgumentNullException("testCase"); } return(GetTestCase(fixture.Name, testCase.Name)); }
public XmlFixture GetFixture(XmlFixture fixture) { if (fixture == null) throw new ArgumentNullException("fixture"); return GetFixture(fixture.Name); }
public string GetFullName(XmlFixture fixture) { return(GetTestCaseFullName(fixture.Name, this.Name)); }
public void AfterFixture(IFixture fixture) { if (this.currentFixture != null) { this.currentFixture.UpdateCounter(); this.currentFixture = null; } }
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); }
public string GetFullName(XmlFixture fixture) { return GetTestCaseFullName(fixture.Name, this.Name); }