public void HelpShouldNotResultInErrorIfCrashSimulationDisabled() { SetCrashSimulationMode(0); TriggerCrashSimulationError(); TestSetup.AssertNoReportedError(); AssertMinidumpCount(0); }
public void DisconnectedExceptionShouldNotExitRunningThreads() { SetCrashSimulationMode(4); for (int i = 0; i < 20; i++) { TriggerCrashSimulationError(); TestSetup.AssertNoReportedError(); } var defaultLog = TestSetup.ReadCurrentDefaultLog(); CustomAssert.IsTrue(defaultLog.Contains("Connection was terminated - Client is disconnected.")); }