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

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: Fixed mistake in value converter. 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 <vector> 7 #include <vector>
8 8
9 #include "base/float_util.h"
10 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
11 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
12 #include "base/values.h" 11 #include "base/values.h"
13 #include "dbus/message.h" 12 #include "dbus/message.h"
14 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
15 14
16 namespace dbus { 15 namespace dbus {
17 16
18 TEST(ValuesUtilTest, PopBasicTypes) { 17 TEST(ValuesUtilTest, PopBasicTypes) {
19 scoped_ptr<Response> response(Response::CreateEmpty()); 18 scoped_ptr<Response> response(Response::CreateEmpty());
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 scoped_ptr<base::Value> value; 680 scoped_ptr<base::Value> value;
682 value.reset(PopDataAsValue(&reader)); 681 value.reset(PopDataAsValue(&reader));
683 ASSERT_TRUE(value.get() != NULL); 682 ASSERT_TRUE(value.get() != NULL);
684 EXPECT_TRUE(value->Equals(&test_list)); 683 EXPECT_TRUE(value->Equals(&test_list));
685 value.reset(PopDataAsValue(&reader)); 684 value.reset(PopDataAsValue(&reader));
686 ASSERT_TRUE(value.get() != NULL); 685 ASSERT_TRUE(value.get() != NULL);
687 EXPECT_TRUE(value->Equals(&int_value)); 686 EXPECT_TRUE(value->Equals(&int_value));
688 } 687 }
689 688
690 } // namespace dbus 689 } // namespace dbus
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_audio_level_calculator.cc ('k') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698