MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_envelope_files_in_turn

Function test_envelope_files_in_turn

atomic-agent/src/record/tests.rs:769–779  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

767
768#[test]
769fn test_envelope_files_in_turn() {
770 let session = make_session();
771 let event = make_event();
772 let options = make_options(&session, &event);
773 let files = vec!["src/auth.rs".to_string(), "src/auth_test.rs".to_string()];
774
775 let env = build_turn_envelope(&options, &files);
776 assert_eq!(env.files_in_turn.len(), 2);
777 assert!(env.files_in_turn.contains(&"src/auth.rs".to_string()));
778 assert!(env.files_in_turn.contains(&"src/auth_test.rs".to_string()));
779}
780
781#[test]
782fn test_envelope_files_in_session() {

Callers

nothing calls this directly

Calls 4

make_eventFunction · 0.85
make_optionsFunction · 0.85
build_turn_envelopeFunction · 0.85
make_sessionFunction · 0.70

Tested by

no test coverage detected