14 references to TestCapabilitiesWithBackgroundThreadDispatch
Aspire.Hosting.RemoteHost.Tests (14)
CapabilityDispatcherTests.cs (14)
986
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
998
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
1010
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
1022
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
1025
TestCapabilitiesWithBackgroundThreadDispatch
.ResetLastObservedThreadId();
1029
Assert.NotEqual(callerThreadId,
TestCapabilitiesWithBackgroundThreadDispatch
.LastObservedThreadId);
1035
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
1047
var dispatcher = CreateDispatcher(typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly);
1050
TestCapabilitiesWithBackgroundThreadDispatch
.ResetLastObservedThreadId();
1054
Assert.NotEqual(callerThreadId,
TestCapabilitiesWithBackgroundThreadDispatch
.LastObservedThreadId);
1064
var dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly]);
1067
TestCapabilitiesWithBackgroundThreadDispatch
.ResetLastObservedThreadId();
1073
Assert.NotEqual(callerThreadId,
TestCapabilitiesWithBackgroundThreadDispatch
.LastObservedThreadId);
1085
var dispatcher = new CapabilityDispatcher(handles, marshaller, [typeof(
TestCapabilitiesWithBackgroundThreadDispatch
).Assembly]);