Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "base/trace_event/trace_event.h" | |
| 6 | |
| 7 #include "testing/gtest/include/gtest/gtest.h" | |
| 8 | |
| 9 namespace base { | |
| 10 namespace trace_event { | |
| 11 | |
| 12 TEST(TraceEventAndroidTest, Smoke) { | |
|
Primiano Tucci (use gerrit)
2015/12/01 23:02:38
Maybe s/Smoke/WriteToATrace/
Xianzhu
2015/12/01 23:07:27
Done.
| |
| 13 TraceLog* trace_log = TraceLog::GetInstance(); | |
| 14 trace_log->StartATrace(); | |
| 15 TRACE_EVENT0("test", "test-event"); | |
| 16 trace_log->StopATrace(); | |
| 17 trace_log->AddClockSyncMetadataEvent(); | |
| 18 } | |
| 19 | |
| 20 } // namespace trace_event | |
| 21 } // namespace base | |
| OLD | NEW |