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

Source from the content-addressed store, hash-verified

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