()
| 954 | |
| 955 | #[test] |
| 956 | fn test_active_session_stop() { |
| 957 | let r = transition( |
| 958 | Phase::Active, |
| 959 | Event::SessionStop, |
| 960 | TransitionContext::default(), |
| 961 | ); |
| 962 | assert_eq!(r.new_phase, Phase::Ended); |
| 963 | assert_eq!(r.actions, vec![Action::UpdateInteraction]); |
| 964 | } |
| 965 | |
| 966 | // Transition: from ActiveRecorded |
| 967 |
nothing calls this directly
no test coverage detected