You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// These tests below use the new infrastructure but require custom validation logic
97
97
// that doesn't fit the simple macro-generated pattern.
98
98
99
+
#[test]
100
+
#[cfg_attr(miri, ignore)]
101
+
fntest_crash_tracking_bin_unhandled_exception(){
102
+
let config = CrashTestConfig::new(
103
+
BuildProfile::Release,
104
+
TestMode::DoNothing,
105
+
CrashType::UnhandledException,
106
+
);
107
+
let artifacts = StandardArtifacts::new(config.profile);
108
+
let artifacts_map = build_artifacts(&artifacts.as_slice()).unwrap();
109
+
110
+
let validator:ValidatorFn = Box::new(|payload, _fixtures| {
111
+
PayloadValidator::new(payload)
112
+
.validate_counters()?
113
+
.validate_error_kind("UnixSignal")?
114
+
.validate_error_message_contains("Process was terminated due to an unhandled exception of type 'RuntimeException'. Message: \"an exception occured\"")?
115
+
// The two frames emitted in the bin: test_function1 and test_function2
0 commit comments