()
| 768 | |
| 769 | #[test] |
| 770 | fn test_phase_serde_values() { |
| 771 | assert_eq!(serde_json::to_string(&Phase::Idle).unwrap(), "\"idle\""); |
| 772 | assert_eq!(serde_json::to_string(&Phase::Active).unwrap(), "\"active\""); |
| 773 | assert_eq!( |
| 774 | serde_json::to_string(&Phase::ActiveRecorded).unwrap(), |
| 775 | "\"active_recorded\"" |
| 776 | ); |
| 777 | assert_eq!(serde_json::to_string(&Phase::Ended).unwrap(), "\"ended\""); |
| 778 | } |
| 779 | |
| 780 | // Event tests |
| 781 |
nothing calls this directly
no outgoing calls
no test coverage detected