24 references to ProtocolUtil
VBCSCompiler.UnitTests (24)
BuildServerConnectionTests.cs (4)
44
ProtocolUtil
.CreateEmptyCSharp(workingDirectory),
73
ProtocolUtil
.CreateEmptyCSharp(workingDirectory),
99
ProtocolUtil
.CreateEmptyCSharp(TempRoot.CreateDirectory().Path),
125
ProtocolUtil
.CreateEmptyCSharp(workingDirectory),
ClientConnectionHandlerTests.cs (6)
31
ReadBuildRequestFunc = _ => Task.FromResult(
ProtocolUtil
.EmptyCSharpBuildRequest),
58
var compilerServerHost = new TestableCompilerServerHost(delegate { return
ProtocolUtil
.EmptyBuildResponse; });
63
ReadBuildRequestFunc = _ => Task.FromResult(
ProtocolUtil
.EmptyCSharpBuildRequest),
95
ReadBuildRequestFunc = _ => Task.FromResult(
ProtocolUtil
.EmptyCSharpBuildRequest),
157
return
ProtocolUtil
.EmptyBuildResponse;
164
ReadBuildRequestFunc = _ => Task.FromResult(
ProtocolUtil
.EmptyBasicBuildRequest),
CompilerServerApiTest.cs (1)
81
ReadBuildRequestFunc = _ => Task.FromResult(
ProtocolUtil
.EmptyCSharpBuildRequest),
VBCSCompilerServerTests.cs (13)
200
return
ProtocolUtil
.EmptyBuildResponse;
206
var compileTask = serverData.SendAsync(
ProtocolUtil
.EmptyCSharpBuildRequest);
239
return
ProtocolUtil
.EmptyBuildResponse;
245
var compileTask = serverData.SendAsync(
ProtocolUtil
.EmptyCSharpBuildRequest);
280
var compilerServerHost = new TestableCompilerServerHost((request, cancellationToken) =>
ProtocolUtil
.EmptyBuildResponse);
301
var compilerServerHost = new TestableCompilerServerHost((request, cancellationToken) =>
ProtocolUtil
.EmptyBuildResponse);
308
?
ProtocolUtil
.CreateEmptyCSharpWithKeepAlive(TimeSpan.FromSeconds(3), workingDirectory)
309
:
ProtocolUtil
.EmptyCSharpBuildRequest;
332
return
ProtocolUtil
.EmptyBuildResponse;
339
list.Add(serverData.SendAsync(
ProtocolUtil
.EmptyCSharpBuildRequest));
345
await serverData.SendAsync(
ProtocolUtil
.CreateEmptyCSharpWithKeepAlive(TimeSpan.FromSeconds(3), workingDirectory));
376
var response = await serverData.SendAsync(
ProtocolUtil
.EmptyBasicBuildRequest);
396
var response = await serverData.SendAsync(
ProtocolUtil
.EmptyBasicBuildRequest);