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

Function test_session_state_clear_ended_at

atomic-agent/src/turn/session.rs:934–941  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

932
933 #[test]
934 fn test_session_state_clear_ended_at() {
935 let mut s = make_session();
936 s.set_phase(Phase::Ended);
937 assert!(s.ended_at.is_some());
938
939 s.clear_ended_at();
940 assert!(s.ended_at.is_none());
941 }
942
943 // Serde roundtrip
944

Callers

nothing calls this directly

Calls 3

make_sessionFunction · 0.70
set_phaseMethod · 0.45
clear_ended_atMethod · 0.45

Tested by

no test coverage detected