14 references to TestCapabilitiesWithBackgroundThreadDispatch
Aspire.Hosting.RemoteHost.Tests (14)
CapabilityDispatcherTests.cs (14)
745
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
757
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
769
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
781
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
784
TestCapabilitiesWithBackgroundThreadDispatch
.ResetLastObservedThreadId();
788
Assert.NotEqual(callerThreadId,
TestCapabilitiesWithBackgroundThreadDispatch
.LastObservedThreadId);
794
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
806
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
809
TestCapabilitiesWithBackgroundThreadDispatch
.ResetLastObservedThreadId();
813
Assert.NotEqual(callerThreadId,
TestCapabilitiesWithBackgroundThreadDispatch
.LastObservedThreadId);
823
var dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly]);
826
TestCapabilitiesWithBackgroundThreadDispatch
.ResetLastObservedThreadId();
832
Assert.NotEqual(callerThreadId,
TestCapabilitiesWithBackgroundThreadDispatch
.LastObservedThreadId);
844
var dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly]);