()
| 378 | |
| 379 | #[test] |
| 380 | fn test_daemon_directory_creation() { |
| 381 | let (daemon, _temp) = setup_test_daemon(); |
| 382 | let daemon_clone = daemon.clone(); |
| 383 | // Start should create directories |
| 384 | let _handle = std::thread::spawn(move || daemon.start()); |
| 385 | std::thread::sleep(std::time::Duration::from_secs(1)); |
| 386 | |
| 387 | assert!(daemon_clone.working_dir.exists(), "Working directory should be created"); |
| 388 | assert!(daemon_clone.log_dir.exists(), "Log directory should be created"); |
| 389 | } |
| 390 | } |
nothing calls this directly
no test coverage detected