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

Side by Side Diff: mash/wm/window_manager_apptest.cc

Issue 1510563002: Reenables mash_wm_apptests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | mojo/tools/data/apptests » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "components/mus/public/cpp/window.h" 6 #include "components/mus/public/cpp/window.h"
7 #include "components/mus/public/cpp/window_tree_connection.h" 7 #include "components/mus/public/cpp/window_tree_connection.h"
8 #include "components/mus/public/cpp/window_tree_delegate.h" 8 #include "components/mus/public/cpp/window_tree_delegate.h"
9 #include "components/mus/public/interfaces/window_manager.mojom.h" 9 #include "components/mus/public/interfaces/window_manager.mojom.h"
10 #include "components/mus/public/interfaces/window_tree.mojom.h" 10 #include "components/mus/public/interfaces/window_tree.mojom.h"
(...skipping 28 matching lines...) Expand all
39 } 39 }
40 40
41 private: 41 private:
42 // mus::WindowTreeDelegate: 42 // mus::WindowTreeDelegate:
43 void OnEmbed(mus::Window* root) override {} 43 void OnEmbed(mus::Window* root) override {}
44 void OnConnectionLost(mus::WindowTreeConnection* connection) override {} 44 void OnConnectionLost(mus::WindowTreeConnection* connection) override {}
45 45
46 DISALLOW_COPY_AND_ASSIGN(WindowManagerAppTest); 46 DISALLOW_COPY_AND_ASSIGN(WindowManagerAppTest);
47 }; 47 };
48 48
49 // TODO(sky): flakey, http://crbug.com/559412 . 49 TEST_F(WindowManagerAppTest, OpenWindow) {
50 TEST_F(WindowManagerAppTest, DISABLED_OpenWindow) {
51 mus::mojom::WindowManagerPtr connection; 50 mus::mojom::WindowManagerPtr connection;
52 ConnectToWindowManager(&connection); 51 ConnectToWindowManager(&connection);
53 52
54 ASSERT_TRUE(OpenWindow(connection.get())); 53 ASSERT_TRUE(OpenWindow(connection.get()));
55 } 54 }
56 55
57 } // namespace wm 56 } // namespace wm
58 } // namespace mash 57 } // namespace mash
OLDNEW
« no previous file with comments | « no previous file | mojo/tools/data/apptests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698