Use quit to end tests
This commit is contained in:
parent
51aa0d6a94
commit
5651ef7ca2
4 changed files with 10 additions and 18 deletions
|
@ -48,12 +48,8 @@ impl TestAppContext {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn remove_all_windows(&self) {
|
||||
// todo!("use app quit instead")
|
||||
}
|
||||
|
||||
pub fn clear_globals(&self) {
|
||||
// todo!("use app quit instead")
|
||||
pub fn quit(&self) {
|
||||
self.app.lock().quit();
|
||||
}
|
||||
|
||||
pub fn refresh(&mut self) -> Result<()> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue