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

Side by Side Diff: ui/ozone/platform/drm/gpu/proxy_helpers_unittest.cc

Issue 2894523007: Use display::DisplayMode in ozone/drm/gpu (Closed)
Patch Set: review nits Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "ui/ozone/platform/drm/gpu/proxy_helpers.h" 5 #include "ui/ozone/platform/drm/gpu/proxy_helpers.h"
6
6 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
7 #include "base/run_loop.h" 8 #include "base/run_loop.h"
8 #include "base/threading/thread.h" 9 #include "base/threading/thread.h"
9 #include "base/threading/thread_checker_impl.h" 10 #include "base/threading/thread_checker_impl.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 12
12 namespace ui { 13 namespace ui {
13 14
14 class ProxyHelpersTest : public testing::Test { 15 class ProxyHelpersTest : public testing::Test {
15 public: 16 public:
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 base::Bind(&ProxyHelpersTest::QuitFunction, base::Unretained(this), 42)); 151 base::Bind(&ProxyHelpersTest::QuitFunction, base::Unretained(this), 42));
151 152
152 run_loop_.Run(); 153 run_loop_.Run();
153 154
154 EXPECT_EQ(value_type_, 102); 155 EXPECT_EQ(value_type_, 102);
155 EXPECT_EQ(*move_type_, 102); 156 EXPECT_EQ(*move_type_, 102);
156 EXPECT_TRUE(original_string_ == "This is a string"); 157 EXPECT_TRUE(original_string_ == "This is a string");
157 EXPECT_TRUE(derived_string_ == "This is a stringer"); 158 EXPECT_TRUE(derived_string_ == "This is a stringer");
158 } 159 }
159 } // namespace ui 160 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread_message_proxy.cc ('k') | ui/ozone/platform/drm/host/drm_display_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698