()
| 901 | |
| 902 | #[test] |
| 903 | fn test_idle_session_stop() { |
| 904 | let r = transition( |
| 905 | Phase::Idle, |
| 906 | Event::SessionStop, |
| 907 | TransitionContext::default(), |
| 908 | ); |
| 909 | assert_eq!(r.new_phase, Phase::Ended); |
| 910 | assert_eq!(r.actions, vec![Action::UpdateInteraction]); |
| 911 | } |
| 912 | |
| 913 | // Transition: from Active |
| 914 |
nothing calls this directly
no test coverage detected