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)
 {
 }