Beispiel #1
0
 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;
 }
		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));
		}
Beispiel #3
0
        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));
        }