public void SetUp()
        {
            _customScriptHandler = Substitute.For <ICustomScriptHandler>();
            _customScriptAction  = new PostConversionScriptAction(_customScriptHandler);

            _profile      = new ConversionProfile();
            _job          = new Job(new JobInfo(), _profile, new Accounts());
            _actionResult = new ActionResult();
        }
        public void SetUp()
        {
            _scriptFilename = "Script.cs";
            _actionResult   = new ActionResult();

            _customScriptHandler = Substitute.For <ICustomScriptHandler>();
            _customScriptLoader  = Substitute.For <ICustomScriptLoader>();

            _customScriptAction = new PreConversionScriptAction(_customScriptHandler, _customScriptLoader);

            _profile = new ConversionProfile();
            _job     = new Job(new JobInfo(), _profile, new Accounts());
        }
 public PreConversionScriptAction(ICustomScriptHandler customScriptHandler, ICustomScriptLoader customScriptLoader)
 {
     _customScriptHandler = customScriptHandler;
     _customScriptLoader  = customScriptLoader;
 }
Exemple #4
0
 public PostConversionScriptAction(ICustomScriptHandler customScriptHandler)
 {
     _customScriptHandler = customScriptHandler;
 }