()
| 86 | |
| 87 | #[test] |
| 88 | fn test_process_creation() { |
| 89 | let proc = Process::new("python3", 42).with_cmd_line("python3 /app/main.py"); |
| 90 | assert_eq!(proc.name, "python3"); |
| 91 | assert_eq!(proc.pid, 42); |
| 92 | assert_eq!(proc.cmd_line.as_deref(), Some("python3 /app/main.py")); |
| 93 | } |
| 94 | |
| 95 | #[test] |
| 96 | fn test_process_with_parent() { |
nothing calls this directly
no test coverage detected