Class CrashDetectionDiscoverySink
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.runner.utility.netfx.dll
An implementation of IMessageSink that detects when test discovery starting and finished messages have been sent, and will send cleanup/error messages to the inner sink if it appears that the test process crashed (failed to send one or both messages).
public class CrashDetectionDiscoverySink : CrashDetectionSinkBase<IDiscoveryStarting, IDiscoveryComplete>, IMessageSink
- Inheritance
-
CrashDetectionDiscoverySink
- Implements
- Inherited Members
-
CrashDetectionSinkBase<IDiscoveryStarting, IDiscoveryComplete>.FinishCrashDetectionSinkBase<IDiscoveryStarting, IDiscoveryComplete>.FinishWaitMillisecondsCrashDetectionSinkBase<IDiscoveryStarting, IDiscoveryComplete>.InnerSinkCrashDetectionSinkBase<IDiscoveryStarting, IDiscoveryComplete>.ProjectAssemblyCrashDetectionSinkBase<IDiscoveryStarting, IDiscoveryComplete>.StartCrashDetectionSinkBase<IDiscoveryStarting, IDiscoveryComplete>.OnMessage(IMessageSinkMessage)CrashDetectionSinkBase<IDiscoveryStarting, IDiscoveryComplete>.OnProcessFinished(int?)CrashDetectionSinkBase<IDiscoveryStarting, IDiscoveryComplete>.SendFinish(string)CrashDetectionSinkBase<IDiscoveryStarting, IDiscoveryComplete>.SendStart(string)
Constructors
- CrashDetectionDiscoverySink(XunitProjectAssembly, IMessageSink)
An implementation of IMessageSink that detects when test discovery starting and finished messages have been sent, and will send cleanup/error messages to the inner sink if it appears that the test process crashed (failed to send one or both messages).
Methods
- SendFinish(string)
Implement this to send the finished message.
- SendStart(string)
Implement this to send the starting message.