コード例 #1
0
 public override void runBeforeEachTest()
 {
     contextView = new TestContextView();
     context = new TestContext( contextView );
     actor = new TestActor()
     injector = context.getInjector()
     UIImpersonator.addChild( contextView );
     injector.injectInto( actor );
 }
コード例 #2
0
        public void RunBeforeEachTest()
        {
            contextView = new TestContextView();
            context = new Robotlegs.Mvcs.Support.TestContext( contextView );
            actor = new TestActor();
            injector = context.GetInjector();
            TestPanel.Children.Add( contextView );

            injector.InjectInto( actor );
        }