public void SetUp()
        {
            //Arrange
            BootstrapGenerateConfiguration config = new BootstrapGenerateConfiguration();

            config.OriginalSourceBuildFile  = OriginalSourceBuildFile;
            config.TargetBootstrapBuildFile = TargetBootstrapBuildFile;
            config.BootstrapTemplateFile    = BootstrapTemplateFile;
            config.BootstrapTask            = new BootstrapTask();
            BootstrapTaskCodeGenerator bootstrapTaskCodeGenerator = new BootstrapTaskCodeGenerator();

            this._generator = new BootstrapBuildFileGenerator(config, bootstrapTaskCodeGenerator);
        }
Exemple #2
0
 public void SetUp()
 {
     this._bootstrapTask     = MockRepository.GenerateStub <IBootstrapTask>();
     this._taskCodeGenerator = new BootstrapTaskCodeGenerator();
 }