コード例 #1
0
 public static AppRunnerResult RunInMem(
     this AppRunner runner,
     string[] args,
     ITestOutputHelper output,
     Func <TestConsole, string> onReadLine = null,
     IEnumerable <string> pipedInput       = null)
 {
     return(runner.RunInMem(args, output?.AsLogger(), onReadLine, pipedInput));
 }
コード例 #2
0
 public static T GetFromContext <T>(this AppRunner runner,
                                    string args,
                                    ITestOutputHelper output,
                                    Func <CommandContext, T> capture,
                                    MiddlewareStages middlewareStage = MiddlewareStages.PostBindValuesPreInvoke)
 {
     return(runner.GetFromContext(
                args.SplitArgs(),
                output?.AsLogger(),
                capture,
                middlewareStage));
 }
コード例 #3
0
 public static void VerifyScenario(this AppRunner appRunner, ITestOutputHelper output, IScenario scenario)
 {
     appRunner.VerifyScenario(output.AsLogger(), scenario);
 }
コード例 #4
0
 public ParseReporter_InputValues_Tests(ITestOutputHelper output)
 {
     _output    = output;
     _tempFiles = new TempFiles(_output.AsLogger());
 }
コード例 #5
0
 public static AppRunnerResult VerifyScenario(this AppRunner appRunner, ITestOutputHelper output, IScenario scenario)
 {
     return(appRunner.VerifyScenario(output.AsLogger(), scenario));
 }
コード例 #6
0
 public TypoSuggestions_GetSuggestions_Tests(ITestOutputHelper testOutputHelper)
 {
     _cleanup = TestToolsLogProvider.InitLogProvider(testOutputHelper.AsLogger());
 }
コード例 #7
0
 public ParseDirective_Password_Tests(ITestOutputHelper output)
 {
     _output    = output;
     _tempFiles = new TempFiles(_output.AsLogger());
 }
コード例 #8
0
 public ResponseFileTests(ITestOutputHelper output)
 {
     _output    = output;
     _tempFiles = new TempFiles(_output.AsLogger());
 }