public void ShouldLoadScriptPacksIfReplIsTrue(IConsole console, TestLogProvider logProvider, IScriptEngine engine)
 {
     var builder = new ScriptServicesBuilder(console, logProvider);
     builder.Overrides[typeof(IScriptEngine)] = engine.GetType();
     builder.Repl();
     builder.Build();
     var runtimeServices = (RuntimeServices) builder.RuntimeServices;
     runtimeServices.InitDirectoryCatalog.ShouldBeTrue();
 }
Esempio n. 2
0
            public void ShouldLoadScriptPacksIfReplIsTrue(IConsole console, TestLogProvider logProvider, IScriptEngine engine)
            {
                var builder = new ScriptServicesBuilder(console, logProvider);

                builder.Overrides[typeof(IScriptEngine)] = engine.GetType();
                builder.Repl();
                builder.Build();
                var runtimeServices = (RuntimeServices)builder.RuntimeServices;

                runtimeServices.InitDirectoryCatalog.ShouldBeTrue();
            }