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

Side by Side Diff: mojo/common/common_type_converters_unittest.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
« no previous file with comments | « mojo/common/common_type_converters.cc ('k') | mojo/common/data_pipe_drainer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "mojo/common/common_type_converters.h" 5 #include "mojo/common/common_type_converters.h"
6 6
7 #include <stdint.h>
8
7 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
8 #include "mojo/common/url_type_converters.h" 10 #include "mojo/common/url_type_converters.h"
9 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
10 #include "url/gurl.h" 12 #include "url/gurl.h"
11 13
12 namespace mojo { 14 namespace mojo {
13 namespace common { 15 namespace common {
14 namespace test { 16 namespace test {
15 namespace { 17 namespace {
16 18
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 TEST(CommonTypeConvertersTest, EmptyStringToArrayUint8) { 111 TEST(CommonTypeConvertersTest, EmptyStringToArrayUint8) {
110 Array<uint8_t> data = Array<uint8_t>::From(std::string()); 112 Array<uint8_t> data = Array<uint8_t>::From(std::string());
111 113
112 ASSERT_EQ(0ul, data.size()); 114 ASSERT_EQ(0ul, data.size());
113 EXPECT_FALSE(data.is_null()); 115 EXPECT_FALSE(data.is_null());
114 } 116 }
115 117
116 } // namespace test 118 } // namespace test
117 } // namespace common 119 } // namespace common
118 } // namespace mojo 120 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/common/common_type_converters.cc ('k') | mojo/common/data_pipe_drainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698