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

Side by Side Diff: ios/web/navigation/nscoder_util_unittest.mm

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include <stddef.h> 6 #include <stddef.h>
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #import "base/mac/scoped_nsobject.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ios/web/navigation/nscoder_util.h" 10 #import "ios/web/navigation/nscoder_util.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "testing/platform_test.h" 12 #include "testing/platform_test.h"
13 13
14 namespace web { 14 namespace web {
15 namespace { 15 namespace {
16 16
17 typedef PlatformTest NSCoderStdStringTest; 17 typedef PlatformTest NSCoderStdStringTest;
18 18
19 const char* testStrings[] = { 19 const char* testStrings[] = {
20 "Arf", 20 "Arf",
(...skipping 30 matching lines...) Expand all
51 51
52 base::scoped_nsobject<NSKeyedUnarchiver> unarchiver( 52 base::scoped_nsobject<NSKeyedUnarchiver> unarchiver(
53 [[NSKeyedUnarchiver alloc] initForReadingWithData:data]); 53 [[NSKeyedUnarchiver alloc] initForReadingWithData:data]);
54 const std::string decoded = nscoder_util::DecodeString(unarchiver, @"test"); 54 const std::string decoded = nscoder_util::DecodeString(unarchiver, @"test");
55 55
56 EXPECT_EQ(decoded, ""); 56 EXPECT_EQ(decoded, "");
57 } 57 }
58 58
59 } // namespace 59 } // namespace
60 } // namespace web 60 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/navigation/nscoder_util.mm ('k') | ios/web/net/clients/crw_js_injection_network_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698