示例#1
0
 public void InitTestContext()
 {
     ruleT1         = new TestOutputRuleT1();
     ruleT2         = new TestOutputRuleT2();
     ruleDependent  = new OtherRuleT1();
     transformation = new MockTransformation(ruleT1, ruleT2, ruleDependent);
     transformation.Initialize();
     context = new TransformationContext(transformation);
 }
示例#2
0
文件: DelayTest.cs 项目: wasowski/NMF
        public void InitTestContext()
        {
            ruleT1  = new TestOutputRuleT1();
            ruleT2  = new TestOutputRuleT2();
            otherT1 = new TestOutputRuleT1();
            otherT2 = new TestOutputRuleT2();

            transformation = new MockTransformation(ruleT1, ruleT2, otherT1, otherT2);
            context        = new TransformationContext(transformation);
        }