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

Side by Side Diff: ui/display/manager/chromeos/x11/display_util_x11_unittest.cc

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Cleanup export header. Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/display/chromeos/x11/display_util_x11.h" 5 #include "ui/display/manager/chromeos/x11/display_util_x11.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace ui { 11 namespace ui {
12 12
13 TEST(DisplayUtilX11Test, GetDisplayConnectionTypeFromName) { 13 TEST(DisplayUtilX11Test, GetDisplayConnectionTypeFromName) {
14 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_INTERNAL, 14 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_INTERNAL,
15 GetDisplayConnectionTypeFromName("LVDS")); 15 GetDisplayConnectionTypeFromName("LVDS"));
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 GetDisplayConnectionTypeFromName("VG")); 59 GetDisplayConnectionTypeFromName("VG"));
60 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_UNKNOWN, 60 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_UNKNOWN,
61 GetDisplayConnectionTypeFromName("HDM")); 61 GetDisplayConnectionTypeFromName("HDM"));
62 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_UNKNOWN, 62 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_UNKNOWN,
63 GetDisplayConnectionTypeFromName("DV")); 63 GetDisplayConnectionTypeFromName("DV"));
64 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_UNKNOWN, 64 EXPECT_EQ(DISPLAY_CONNECTION_TYPE_UNKNOWN,
65 GetDisplayConnectionTypeFromName("D")); 65 GetDisplayConnectionTypeFromName("D"));
66 } 66 }
67 67
68 } // namespace ui 68 } // namespace ui
OLDNEW
« no previous file with comments | « ui/display/manager/chromeos/x11/display_util_x11.cc ('k') | ui/display/manager/chromeos/x11/native_display_delegate_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698