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

Side by Side Diff: dbus/values_util_unittest.cc

Issue 1076443002: Removed obsolete float_util.h as VS2013 supports standards well enough. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Added missing includes everywhere. Created 5 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "dbus/values_util.h" 5 #include "dbus/values_util.h"
6 6
7 #include <cmath>
Mark Mentovai 2015/04/09 15:42:15 Or this one.
7 #include <vector> 8 #include <vector>
8 9
9 #include "base/float_util.h"
10 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "dbus/message.h" 13 #include "dbus/message.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace dbus { 16 namespace dbus {
17 17
18 TEST(ValuesUtilTest, PopBasicTypes) { 18 TEST(ValuesUtilTest, PopBasicTypes) {
19 scoped_ptr<Response> response(Response::CreateEmpty()); 19 scoped_ptr<Response> response(Response::CreateEmpty());
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 scoped_ptr<base::Value> value; 681 scoped_ptr<base::Value> value;
682 value.reset(PopDataAsValue(&reader)); 682 value.reset(PopDataAsValue(&reader));
683 ASSERT_TRUE(value.get() != NULL); 683 ASSERT_TRUE(value.get() != NULL);
684 EXPECT_TRUE(value->Equals(&test_list)); 684 EXPECT_TRUE(value->Equals(&test_list));
685 value.reset(PopDataAsValue(&reader)); 685 value.reset(PopDataAsValue(&reader));
686 ASSERT_TRUE(value.get() != NULL); 686 ASSERT_TRUE(value.get() != NULL);
687 EXPECT_TRUE(value->Equals(&int_value)); 687 EXPECT_TRUE(value->Equals(&int_value));
688 } 688 }
689 689
690 } // namespace dbus 690 } // namespace dbus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698