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

Side by Side Diff: ios/chrome/test/google_toolbox_unittest.mm

Issue 2608733002: Fix include/import in ios/testing and ios/chrome/test (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 <Foundation/Foundation.h> 5 #import <Foundation/Foundation.h>
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "testing/gtest_mac.h" 8 #import "testing/gtest_mac.h"
9 #import "third_party/google_toolbox_for_mac/src/Foundation/GTMNSDictionary+URLAr guments.h" 9 #import "third_party/google_toolbox_for_mac/src/Foundation/GTMNSDictionary+URLAr guments.h"
10 10
11 #if !defined(__has_feature) || !__has_feature(objc_arc) 11 #if !defined(__has_feature) || !__has_feature(objc_arc)
12 #error "This file requires ARC support." 12 #error "This file requires ARC support."
13 #endif 13 #endif
14 14
15 // [NSDictionary gtm_dictionaryWithHttpArgumentsString] is used downstream. 15 // [NSDictionary gtm_dictionaryWithHttpArgumentsString] is used downstream.
16 // This test ensures that we keep compiling the file. 16 // This test ensures that we keep compiling the file.
17 TEST(GoogleToolboxForMacTest, dictionaryWithHttpArgumentsString) { 17 TEST(GoogleToolboxForMacTest, dictionaryWithHttpArgumentsString) {
18 NSDictionary* dict = [NSDictionary gtm_dictionaryWithHttpArgumentsString:@""]; 18 NSDictionary* dict = [NSDictionary gtm_dictionaryWithHttpArgumentsString:@""];
19 EXPECT_EQ(0u, [dict count]); 19 EXPECT_EQ(0u, [dict count]);
20 } 20 }
OLDNEW
« no previous file with comments | « ios/chrome/test/earl_grey/chrome_util.mm ('k') | ios/chrome/test/ios_chrome_scoped_testing_chrome_browser_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698