private DslConfig.Base.Boo.Configuration CreateDslConfig.Base.Boo.Configuration() { DslConfig.Base.Boo.Configuration config = new TestableDslConfig.Base.Boo.Configuration(configSection, new EventHandler<CompilationErrorEventArgs>(StartUpCompilationError)); config.CompilationError += CompilationError; config.Compilation += Compilation; config.Recompilation += Recompilation; return config; }
public void GetRootPath_with_relative_path_config_file_error_NOT_throwing_exception() { //Arrange configSection.BaseDirectory = @"..\..\no_config";//use config from source directory directly configSection.ThrowExceptions = false; //Act DslConfig.Base.Boo.Configuration config = new TestableDslConfig.Base.Boo.Configuration(configSection, new EventHandler<CompilationErrorEventArgs>(GetRootPathStartUpCompilationError)); //Assert }