| OLD | NEW | 
|   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  Loading... | 
|  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 | 
| OLD | NEW |