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:776–786  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

774
775#[test]
776fn test_envelope_files_in_turn() {
777 let session = make_session();
778 let event = make_event();
779 let options = make_options(&session, &event);
780 let files = vec!["src/auth.rs".to_string(), "src/auth_test.rs".to_string()];
781
782 let env = build_turn_envelope(&options, &files);
783 assert_eq!(env.files_in_turn.len(), 2);
784 assert!(env.files_in_turn.contains(&"src/auth.rs".to_string()));
785 assert!(env.files_in_turn.contains(&"src/auth_test.rs".to_string()));
786}
787
788#[test]
789fn 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