internal FixtureDecorator(FixtureVariable provider, object fixture, int fixtureIndex ) { _fixture = fixture; _provider = provider; _fixtureIndex = fixtureIndex; }
public _FixtureContext_59(FixtureContext _enclosing, FixtureVariable fixture, object value) { this._enclosing = _enclosing; this.fixture = fixture; this.value = value; }
public TestWithFixture(ITest test, string fixtureLabel, FixtureVariable fixtureVariable , object fixtureValue) { _test = test; _fixtureLabel = fixtureLabel; _variable = fixtureVariable; _value = fixtureValue; }
internal override FixtureContext.Found Get(FixtureVariable key) { if (key == fixture) { return(new FixtureContext.Found(value)); } return(this._enclosing.Get(key)); }
public _IRunnable_26(_IRunnable_21 _enclosing, FixtureVariable f1, FixtureVariable f2, FixtureContextTestCase.ContextRef c2) { this._enclosing = _enclosing; this.f1 = f1; this.f2 = f2; this.c2 = c2; }
internal override FixtureContext.Found Get(FixtureVariable fixture) { FixtureContext.Found found = this._enclosing.Get(fixture); if (null != found) { return found; } return parent.Get(fixture); }
public _IRunnable_21(_IRunnable_19 _enclosing, FixtureVariable f1, FixtureVariable f2, ContextRef c1, ContextRef c2) { this._enclosing = _enclosing; this.f1 = f1; this.f2 = f2; this.c1 = c1; this.c2 = c2; }
internal override FixtureContext.Found Get(FixtureVariable fixture) { FixtureContext.Found found = this._enclosing.Get(fixture); if (null != found) { return(found); } return(parent.Get(fixture)); }
internal override Found Get(FixtureVariable fixture) { var found = _enclosing.Get(fixture); if (null != found) { return(found); } return(parent.Get(fixture)); }
public virtual void Test() { FixtureVariable f1 = new FixtureVariable(); FixtureVariable f2 = new FixtureVariable(); FixtureContextTestCase.ContextRef c1 = new FixtureContextTestCase.ContextRef(); FixtureContextTestCase.ContextRef c2 = new FixtureContextTestCase.ContextRef(); new FixtureContext().Run(new _IRunnable_19(this, f1, f2, c1, c2)); AssertNoValue(f1); AssertNoValue(f2); c1.value.Run(new _IRunnable_41(this, f1, f2)); c2.value.Run(new _IRunnable_48(this, f1, f2)); }
internal override Found Get(FixtureVariable fixture) { var found = _enclosing.Get(fixture); if (null != found) { return found; } return parent.Get(fixture); }
public TestWithFixture(ITest test, FixtureVariable fixtureVariable, object fixtureValue ) : this(test, null, fixtureVariable, fixtureValue) { }
public SimpleFixtureProvider(FixtureVariable variable, object[] values) { _variable = variable; _values = values; }
private void AssertNoValue(FixtureVariable f1) { Assert.Expect(typeof(InvalidOperationException), new _ICodeBlock_57(f1)); }
internal virtual FixtureContext Add(FixtureVariable fixture, object value) { return(new _FixtureContext_59(this, fixture, value)); }
internal virtual FixtureContext Add(FixtureVariable fixture, object value) { return new _FixtureContext_59(this, fixture, value); }
internal override Found Get(FixtureVariable key) { if (key == fixture) { return new Found(value); } return _enclosing.Get(key); }
private void AssertValue(string expected, FixtureVariable fixture) { Assert.AreEqual(expected, fixture.Value); }
public _ICodeBlock_57(FixtureVariable f1) { this.f1 = f1; }
internal virtual FixtureContext.Found Get(FixtureVariable fixture) { return(null); }
internal override FixtureContext.Found Get(FixtureVariable key) { if (key == fixture) { return new FixtureContext.Found(value); } return this._enclosing.Get(key); }
internal virtual FixtureContext.Found Get(FixtureVariable fixture) { return null; }
public _IRunnable_48(FixtureContextTestCase _enclosing, FixtureVariable f1, FixtureVariable f2) { this._enclosing = _enclosing; this.f1 = f1; this.f2 = f2; }