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

Side by Side Diff: components/dom_distiller/core/page_features_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/dom_distiller/core/page_features.h" 5 #include "components/dom_distiller/core/page_features.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
11 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
12 #include "base/json/json_writer.h" 14 #include "base/json/json_writer.h"
13 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
14 #include "base/path_service.h" 16 #include "base/path_service.h"
15 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
16 #include "url/gurl.h" 18 #include "url/gurl.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 EXPECT_EQ(0, lround(derived[7])); 165 EXPECT_EQ(0, lround(derived[7]));
164 EXPECT_EQ(0, lround(derived[8])); 166 EXPECT_EQ(0, lround(derived[8]));
165 EXPECT_EQ(1, lround(derived[9])); 167 EXPECT_EQ(1, lround(derived[9]));
166 EXPECT_EQ(1, lround(derived[10])); 168 EXPECT_EQ(1, lround(derived[10]));
167 EXPECT_EQ(0, lround(derived[11])); 169 EXPECT_EQ(0, lround(derived[11]));
168 EXPECT_EQ(0, lround(derived[12])); 170 EXPECT_EQ(0, lround(derived[12]));
169 EXPECT_EQ(0, lround(derived[13])); 171 EXPECT_EQ(0, lround(derived[13]));
170 EXPECT_EQ(0, lround(derived[14])); 172 EXPECT_EQ(0, lround(derived[14]));
171 } 173 }
172 } 174 }
OLDNEW
« no previous file with comments | « components/dom_distiller/core/page_features.cc ('k') | components/dom_distiller/core/task_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698