re_importer 0.32.1

Handles importing of Rerun data from file using importer plugins
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::importer_mcap::tests::util;

/// Snapshot test loading an MCAP file containing [`foxglove.TextLog`] messages.
#[test]
fn test_foxglove_log() {
    let loaded_mcap = util::load_mcap(util::test_asset("foxglove_log.mcap"));

    // Only snapshot the chunk with the payload, not the metadata chunk.
    let chunk = loaded_mcap.chunks_for_entity("/text_log")[1];
    insta::assert_snapshot!(format!("{:-240}", chunk));
}