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

Source from the content-addressed store, hash-verified

1779
1780 #[test]
1781 fn test_session_state_clear_ended_at() {
1782 let mut s = make_session();
1783 s.set_phase(Phase::Ended);
1784 assert!(s.ended_at.is_some());
1785
1786 s.clear_ended_at();
1787 assert!(s.ended_at.is_none());
1788 }
1789
1790 // Serde roundtrip
1791

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