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

Side by Side Diff: chrome/browser/chromeos/name_value_pairs_parser_unittest.cc

Issue 6902107: Merge 82987, 83304 - make sure that OEM tab is shown even if first login is Guest (Closed) Base URL: svn://svn.chromium.org/chrome/branches/742/src/
Patch Set: Created 9 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/chromeos/name_value_pairs_parser.h" 5 #include "chrome/browser/chromeos/name_value_pairs_parser.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 "\"keyboard_layout\"=\"mozc-jp\"\n" }; 55 "\"keyboard_layout\"=\"mozc-jp\"\n" };
56 EXPECT_TRUE(parser.ParseNameValuePairsFromTool( 56 EXPECT_TRUE(parser.ParseNameValuePairsFromTool(
57 arraysize(command5), command5, "=", "\n")); 57 arraysize(command5), command5, "=", "\n"));
58 ASSERT_EQ(3U, map.size()); 58 ASSERT_EQ(3U, map.size());
59 EXPECT_EQ("ja", map["initial_locale"]); 59 EXPECT_EQ("ja", map["initial_locale"]);
60 EXPECT_EQ("Asia/Tokyo", map["initial_timezone"]); 60 EXPECT_EQ("Asia/Tokyo", map["initial_timezone"]);
61 EXPECT_EQ("mozc-jp", map["keyboard_layout"]); 61 EXPECT_EQ("mozc-jp", map["keyboard_layout"]);
62 } 62 }
63 63
64 } // namespace chromeos 64 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/name_value_pairs_parser.cc ('k') | chrome/browser/chromeos/system_access.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698