public static JsonRpcTestOptions ConfigureForXUnit(
     this JsonRpcTestOptions jsonRpcTestOptions,
     ITestOutputHelper outputHelper,
     LogEventLevel logEventLevel = LogEventLevel.Debug
     ) =>
 jsonRpcTestOptions
 .WithClientLoggerFactory(new TestLoggerFactory(outputHelper, "{Timestamp:yyyy-MM-dd HH:mm:ss} [Client] [{Level}] {Message}{NewLine}{Exception}", logEventLevel))
 .WithServerLoggerFactory(new TestLoggerFactory(outputHelper, "{Timestamp:yyyy-MM-dd HH:mm:ss} [Server] [{Level}] {Message}{NewLine}{Exception}", logEventLevel));
示例#2
0
 public LanguageProtocolTestBase(JsonRpcTestOptions testOptions) : base(testOptions)
 {
 }
 public DebugAdapterProtocolTestBase(JsonRpcTestOptions testOptions) : base(testOptions)
 {
 }
示例#4
0
 public JsonRpcTestOptions Configure(JsonRpcTestOptions options) => options;
示例#5
0
 public DebugAdapterServerTestBase(JsonRpcTestOptions jsonRpcTestOptions) : base(jsonRpcTestOptions)
 {
 }
示例#6
0
 public JsonRpcTestOptions Configure(JsonRpcTestOptions options)
 {
     return(options);
 }
示例#7
0
 public LanguageServerTestBase(JsonRpcTestOptions jsonRpcTestOptions) : base(jsonRpcTestOptions)
 {
 }