public _IRunnable_48(FixtureContextTestCase _enclosing, FixtureVariable f1, FixtureVariable f2) { this._enclosing = _enclosing; this.f1 = f1; this.f2 = f2; }
public _IRunnable_26(_IRunnable_21 _enclosing, FixtureVariable f1, FixtureVariable f2, ContextRef c2) { this._enclosing = _enclosing; this.f1 = f1; this.f2 = f2; this.c2 = c2; }
public _IRunnable_19(FixtureContextTestCase _enclosing, FixtureVariable f1, FixtureVariable f2, ContextRef c1, ContextRef c2) { this._enclosing = _enclosing; this.f1 = f1; this.f2 = f2; this.c1 = c1; this.c2 = c2; }
public virtual void Test() { var f1 = new FixtureVariable(); var f2 = new FixtureVariable(); var c1 = new ContextRef(); var c2 = new 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)); }
private void AssertValue(string expected, FixtureVariable fixture) { Assert.AreEqual(expected, fixture.Value); }
private void AssertNoValue(FixtureVariable f1) { Assert.Expect(typeof(InvalidOperationException), new _ICodeBlock_57(f1)); }
public _ICodeBlock_57(FixtureVariable f1) { this.f1 = f1; }