14 references to TestCapabilitiesWithBackgroundThreadDispatch
Aspire.Hosting.RemoteHost.Tests (14)
CapabilityDispatcherTests.cs (14)
938
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
950
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
962
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
974
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
977
TestCapabilitiesWithBackgroundThreadDispatch
.ResetLastObservedThreadId();
981
Assert.NotEqual(callerThreadId,
TestCapabilitiesWithBackgroundThreadDispatch
.LastObservedThreadId);
987
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
999
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
1002
TestCapabilitiesWithBackgroundThreadDispatch
.ResetLastObservedThreadId();
1006
Assert.NotEqual(callerThreadId,
TestCapabilitiesWithBackgroundThreadDispatch
.LastObservedThreadId);
1016
var dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly]);
1019
TestCapabilitiesWithBackgroundThreadDispatch
.ResetLastObservedThreadId();
1025
Assert.NotEqual(callerThreadId,
TestCapabilitiesWithBackgroundThreadDispatch
.LastObservedThreadId);
1037
var dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly]);