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

Function test_session_state_set_phase

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

Source from the content-addressed store, hash-verified

922
923 #[test]
924 fn test_session_state_set_phase() {
925 let mut s = make_session();
926 s.set_phase(Phase::Active);
927 assert_eq!(s.phase, Phase::Active);
928 }
929
930 #[test]
931 fn test_session_state_set_phase_ended_sets_ended_at() {

Callers

nothing calls this directly

Calls 2

make_sessionFunction · 0.70
set_phaseMethod · 0.45

Tested by

no test coverage detected