Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

test: clear pending simulated tray clicks before cleanup

1644ye099adb519e12
diff --git a/tests/Filee.App.Tests/SingleMainWindowTests.cs b/tests/Filee.App.Tests/SingleMainWindowTests.cs
index a5c74ef6..5bdc84df 100644
--- a/tests/Filee.App.Tests/SingleMainWindowTests.cs
+++ b/tests/Filee.App.Tests/SingleMainWindowTests.cs
@@ -239,8 +239,12 @@ public class SingleMainWindowTests
}
finally
{
+ // A pending simulated click must not reopen a window while this test cleans up.
+ tracker.ClickWhileBuilding = false;
+ tracker.ClickWhileReleasing = false;
CloseToTray(windows, tracker);
Pump();
+ Assert.Null(windows.Main);
}
}
}