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

Side by Side Diff: chrome/browser/ui/cocoa/applescript/apple_event_util_unittest.mm

Issue 16012017: Use a direct include of strings headers in chrome/browser/ui/cocoa/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #import "chrome/browser/ui/cocoa/applescript/apple_event_util.h" 5 #import "chrome/browser/ui/cocoa/applescript/apple_event_util.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 11 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
12 #include "testing/gtest_mac.h" 12 #include "testing/gtest_mac.h"
13 13
14 namespace { 14 namespace {
15 15
16 class AppleEventUtilTest : public CocoaTest { }; 16 class AppleEventUtilTest : public CocoaTest { };
17 17
18 struct TestCase { 18 struct TestCase {
19 const char* json_input; 19 const char* json_input;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 base::FundamentalValue value(b); 112 base::FundamentalValue value(b);
113 NSAppleEventDescriptor* descriptor = 113 NSAppleEventDescriptor* descriptor =
114 chrome::mac::ValueToAppleEventDescriptor(&value); 114 chrome::mac::ValueToAppleEventDescriptor(&value);
115 115
116 EXPECT_EQ(typeBoolean, [descriptor descriptorType]); 116 EXPECT_EQ(typeBoolean, [descriptor descriptorType]);
117 EXPECT_EQ(b, [descriptor booleanValue]); 117 EXPECT_EQ(b, [descriptor booleanValue]);
118 } 118 }
119 } 119 }
120 120
121 } // namespace 121 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/about_ipc_controller.mm ('k') | chrome/browser/ui/cocoa/applescript/bookmark_folder_applescript.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698