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

Side by Side Diff: base/trace_event/trace_event_unittest.cc

Issue 1466413002: Update gtest to 786564fa4a3c, switch to googlemock in gtest Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 <math.h> 5 #include <math.h>
6 #include <cstdlib> 6 #include <cstdlib>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
11 #include "base/json/json_writer.h" 11 #include "base/json/json_writer.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/memory/ref_counted_memory.h" 13 #include "base/memory/ref_counted_memory.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/singleton.h" 15 #include "base/memory/singleton.h"
16 #include "base/process/process_handle.h" 16 #include "base/process/process_handle.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/strings/pattern.h" 18 #include "base/strings/pattern.h"
19 #include "base/strings/stringprintf.h" 19 #include "base/strings/stringprintf.h"
20 #include "base/synchronization/waitable_event.h" 20 #include "base/synchronization/waitable_event.h"
21 #include "base/threading/platform_thread.h" 21 #include "base/threading/platform_thread.h"
22 #include "base/threading/thread.h" 22 #include "base/threading/thread.h"
23 #include "base/time/time.h" 23 #include "base/time/time.h"
24 #include "base/trace_event/trace_buffer.h" 24 #include "base/trace_event/trace_buffer.h"
25 #include "base/trace_event/trace_event.h" 25 #include "base/trace_event/trace_event.h"
26 #include "base/trace_event/trace_event_synthetic_delay.h" 26 #include "base/trace_event/trace_event_synthetic_delay.h"
27 #include "base/values.h" 27 #include "base/values.h"
28 #include "testing/gmock/include/gmock/gmock.h" 28 #include "testing/gtest/googlemock/include/gmock/gmock.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/googletest/include/gtest/gtest.h"
30 30
31 namespace base { 31 namespace base {
32 namespace trace_event { 32 namespace trace_event {
33 33
34 namespace { 34 namespace {
35 35
36 enum CompareOp { 36 enum CompareOp {
37 IS_EQUAL, 37 IS_EQUAL,
38 IS_NOT_EQUAL, 38 IS_NOT_EQUAL,
39 }; 39 };
(...skipping 2953 matching lines...) Expand 10 before | Expand all | Expand 10 after
2993 } 2993 }
2994 2994
2995 TEST_F(TraceEventTestFixture, SyntheticDelayConfigurationToString) { 2995 TEST_F(TraceEventTestFixture, SyntheticDelayConfigurationToString) {
2996 const char filter[] = "DELAY(test.Delay;16;oneshot)"; 2996 const char filter[] = "DELAY(test.Delay;16;oneshot)";
2997 TraceConfig config(filter, ""); 2997 TraceConfig config(filter, "");
2998 EXPECT_EQ(filter, config.ToCategoryFilterString()); 2998 EXPECT_EQ(filter, config.ToCategoryFilterString());
2999 } 2999 }
3000 3000
3001 } // namespace trace_event 3001 } // namespace trace_event
3002 } // namespace base 3002 } // namespace base
OLDNEW
« no previous file with comments | « base/trace_event/trace_event_system_stats_monitor_unittest.cc ('k') | base/trace_event/winheap_dump_provider_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698