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)
202
return
ProtocolUtil
.EmptyBuildResponse;
208
var compileTask = serverData.SendAsync(
ProtocolUtil
.EmptyCSharpBuildRequest);
241
return
ProtocolUtil
.EmptyBuildResponse;
247
var compileTask = serverData.SendAsync(
ProtocolUtil
.EmptyCSharpBuildRequest);
282
var compilerServerHost = new TestableCompilerServerHost((request, cancellationToken) =>
ProtocolUtil
.EmptyBuildResponse);
303
var compilerServerHost = new TestableCompilerServerHost((request, cancellationToken) =>
ProtocolUtil
.EmptyBuildResponse);
310
?
ProtocolUtil
.CreateEmptyCSharpWithKeepAlive(TimeSpan.FromSeconds(3), workingDirectory)
311
:
ProtocolUtil
.EmptyCSharpBuildRequest;
334
return
ProtocolUtil
.EmptyBuildResponse;
341
list.Add(serverData.SendAsync(
ProtocolUtil
.EmptyCSharpBuildRequest));
347
await serverData.SendAsync(
ProtocolUtil
.CreateEmptyCSharpWithKeepAlive(TimeSpan.FromSeconds(3), workingDirectory));
378
var response = await serverData.SendAsync(
ProtocolUtil
.EmptyBasicBuildRequest);
398
var response = await serverData.SendAsync(
ProtocolUtil
.EmptyBasicBuildRequest);