()
| 34 | |
| 35 | #[test] |
| 36 | fn test_background_task_progress() { |
| 37 | let _session = Session::new().expect("Failed to initialize session"); |
| 38 | let task = BackgroundTask::new("test progress", false); |
| 39 | let first_progress = task.progress_text().to_string(); |
| 40 | assert_eq!(first_progress, "test progress"); |
| 41 | task.set_progress_text("new progress"); |
| 42 | let second_progress = task.progress_text().to_string(); |
| 43 | assert_eq!(second_progress, "new progress"); |
| 44 | task.finish(); |
| 45 | } |
nothing calls this directly
no test coverage detected