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

Unified Diff: components/exo/shell_surface_unittest.cc

Issue 2530443003: Cleanup tests for minimizing ARC++ windows on startup. (Closed)
Patch Set: 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..cea79999f13fd5129e96907aca4ce15d1ac60657 100644
--- a/components/exo/shell_surface_unittest.cc
+++ b/components/exo/shell_surface_unittest.cc
@@ -133,8 +133,10 @@ TEST_F(ShellSurfaceTest, Minimize) {
// Confirm that attaching and commiting doesn't reset the state.
surface->Attach(buffer.get());
surface->Commit();
- shell_surface->Minimize();
EXPECT_TRUE(shell_surface->GetWidget()->IsMinimized());
+
+ shell_surface->Restore();
+ EXPECT_FALSE(shell_surface->GetWidget()->IsMinimized());
reveman 2016/11/25 21:38:54 nit: after this, can you also: shell_surface->Mini
mtomasz 2016/11/28 09:01:44 Done.
}
TEST_F(ShellSurfaceTest, Restore) {
« 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