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

Unified Diff: ash/display/display_error_observer_chromeos_unittest.cc

Issue 2490323003: Improve monitor compatibility error, move feedback link into button (Closed)
Patch Set: Rename variable |optional_field| -> |data| 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/display/display_error_observer_chromeos.cc ('k') | ash/display/display_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_error_observer_chromeos_unittest.cc
diff --git a/ash/display/display_error_observer_chromeos_unittest.cc b/ash/display/display_error_observer_chromeos_unittest.cc
index 84dcf25b3ea68fdc540e3884c93c0f211d0f0d1e..baac00e6dcdb9455cfc7959b24ecedb6278e3e86 100644
--- a/ash/display/display_error_observer_chromeos_unittest.cc
+++ b/ash/display/display_error_observer_chromeos_unittest.cc
@@ -4,6 +4,7 @@
#include "ash/display/display_error_observer_chromeos.h"
+#include "ash/common/system/chromeos/devicetype_utils.h"
#include "ash/display/display_util.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
@@ -85,7 +86,8 @@ TEST_F(DisplayErrorObserverTest, CallWithDifferentState) {
observer()->OnDisplayModeChangeFailed(
ui::DisplayConfigurator::DisplayStateList(),
ui::MULTIPLE_DISPLAY_STATE_DUAL_EXTENDED);
- EXPECT_EQ(l10n_util::GetStringUTF16(IDS_ASH_DISPLAY_FAILURE_ON_NON_MIRRORING),
+ EXPECT_EQ(ash::SubstituteChromeOSDeviceType(
+ IDS_ASH_DISPLAY_FAILURE_ON_NON_MIRRORING),
GetMessageContents());
}
« no previous file with comments | « ash/display/display_error_observer_chromeos.cc ('k') | ash/display/display_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698