Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Unified Diff: components/exo/shell_surface_unittest.cc

Issue 2530443003: Cleanup tests for minimizing ARC++ windows on startup. (Closed)
Patch Set: Updated the test. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface_unittest.cc
diff --git a/components/exo/shell_surface_unittest.cc b/components/exo/shell_surface_unittest.cc
index 4e3f94e817cd83ed478ecf247285e0d89107ba48..a51bb8b475646b82b20994358c94bd7340d7e2bb 100644
--- a/components/exo/shell_surface_unittest.cc
+++ b/components/exo/shell_surface_unittest.cc
@@ -133,6 +133,11 @@ TEST_F(ShellSurfaceTest, Minimize) {
// Confirm that attaching and commiting doesn't reset the state.
surface->Attach(buffer.get());
surface->Commit();
+ EXPECT_TRUE(shell_surface->GetWidget()->IsMinimized());
+
+ shell_surface->Restore();
+ EXPECT_FALSE(shell_surface->GetWidget()->IsMinimized());
+
shell_surface->Minimize();
EXPECT_TRUE(shell_surface->GetWidget()->IsMinimized());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698