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

Unified Diff: components/mus/ws/window_tree_client_unittest.cc

Issue 1805023003: Update DefaultAccessPolicy Hierarchy Notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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 | « components/mus/ws/default_access_policy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_client_unittest.cc
diff --git a/components/mus/ws/window_tree_client_unittest.cc b/components/mus/ws/window_tree_client_unittest.cc
index c00f5e379d18b167539c0e0e3ca7ec4c7d398cd4..ee5402e5d869fa411bca397fddf5b41d2de5f030 100644
--- a/components/mus/ws/window_tree_client_unittest.cc
+++ b/components/mus/ws/window_tree_client_unittest.cc
@@ -690,7 +690,7 @@ TEST_F(WindowTreeClientTest, WindowsRemovedWhenEmbedding) {
// Verifies once Embed() has been invoked the parent connection can't see any
// children.
-TEST_F(WindowTreeClientTest, DISABLED_CantAccessChildrenOfEmbeddedWindow) {
+TEST_F(WindowTreeClientTest, CantAccessChildrenOfEmbeddedWindow) {
ASSERT_NO_FATAL_FAILURE(EstablishSecondConnection(true));
Id window_1_1 = BuildWindowId(connection_id_1(), 1);
@@ -739,7 +739,7 @@ TEST_F(WindowTreeClientTest, DISABLED_CantAccessChildrenOfEmbeddedWindow) {
}
// Verifies once Embed() has been invoked the parent can't mutate the children.
-TEST_F(WindowTreeClientTest, DISABLED_CantModifyChildrenOfEmbeddedWindow) {
+TEST_F(WindowTreeClientTest, CantModifyChildrenOfEmbeddedWindow) {
ASSERT_NO_FATAL_FAILURE(EstablishSecondConnection(true));
Id window_1_1 = BuildWindowId(connection_id_1(), 1);
@@ -816,7 +816,7 @@ TEST_F(WindowTreeClientTest, AddAncestorFails) {
}
// Verifies adding to root sends right notifications.
-TEST_F(WindowTreeClientTest, DISABLED_AddToRoot) {
+TEST_F(WindowTreeClientTest, AddToRoot) {
// Create the embed point now so that the ids line up.
Id window_1_1 = wt_client1()->NewWindow(1);
ASSERT_TRUE(window_1_1);
@@ -842,7 +842,7 @@ TEST_F(WindowTreeClientTest, DISABLED_AddToRoot) {
}
// Verifies HierarchyChanged is correctly sent for various adds/removes.
-TEST_F(WindowTreeClientTest, DISABLED_WindowHierarchyChangedWindows) {
+TEST_F(WindowTreeClientTest, WindowHierarchyChangedWindows) {
// Create the embed point now so that the ids line up.
Id window_1_1 = wt_client1()->NewWindow(1);
// 1,2->1,11.
@@ -1116,7 +1116,7 @@ TEST_F(WindowTreeClientTest, ReuseDeletedWindowId) {
}
// Assertions for GetWindowTree.
-TEST_F(WindowTreeClientTest, DISABLED_GetWindowTree) {
+TEST_F(WindowTreeClientTest, GetWindowTree) {
ASSERT_NO_FATAL_FAILURE(EstablishSecondConnection(true));
Id window_1_1 = BuildWindowId(connection_id_1(), 1);
@@ -1700,7 +1700,7 @@ TEST_F(WindowTreeClientTest, EmbedSupplyingWindowTreeClient) {
SingleChangeToDescription(*client2.tracker()->changes()));
}
-TEST_F(WindowTreeClientTest, DISABLED_EmbedFailsFromOtherConnection) {
+TEST_F(WindowTreeClientTest, EmbedFailsFromOtherConnection) {
ASSERT_NO_FATAL_FAILURE(EstablishSecondConnection(true));
Id window_1_1 = BuildWindowId(connection_id_1(), 1);
@@ -1737,7 +1737,7 @@ TEST_F(WindowTreeClientTest, EmbedFromOtherConnection) {
EXPECT_EQ(std::string(), SingleChangeToDescription(*changes2()));
}
-TEST_F(WindowTreeClientTest, DISABLED_CantEmbedFromConnectionRoot) {
+TEST_F(WindowTreeClientTest, CantEmbedFromConnectionRoot) {
// Shouldn't be able to embed into the root.
ASSERT_FALSE(EmbedUrl(connector(), wt1(), test_name(), root_window_id()));
« no previous file with comments | « components/mus/ws/default_access_policy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698