()
| 943 | |
| 944 | #[test] |
| 945 | fn test_active_session_start_warn() { |
| 946 | let r = transition( |
| 947 | Phase::Active, |
| 948 | Event::SessionStart, |
| 949 | TransitionContext::default(), |
| 950 | ); |
| 951 | assert_eq!(r.new_phase, Phase::Active); |
| 952 | assert_eq!(r.actions, vec![Action::WarnStaleSession]); |
| 953 | } |
| 954 | |
| 955 | #[test] |
| 956 | fn test_active_session_stop() { |
nothing calls this directly
no test coverage detected