MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / test_parse_v3_as_v4

Function test_parse_v3_as_v4

crates/runner-shared/src/unwind_data.rs:406–414  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404
405 #[test]
406 fn test_parse_v3_as_v4() {
407 // Parse V3 binary artifact using UnwindData::parse — it converts to V4
408 let parsed = UnwindData::parse(V3_BINARY).expect("Failed to parse V3 data as V4");
409
410 // Should match the V3 data with the hdr fields wrapped in `Some`
411 let expected: UnwindDataV4 = create_sample_v3().into();
412 assert_eq!(parsed, expected);
413 assert!(parsed.eh_frame_hdr.is_some());
414 }
415
416 #[test]
417 fn test_parse_v4_as_v4() {

Callers

nothing calls this directly

Calls 1

create_sample_v3Function · 0.85

Tested by

no test coverage detected