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

Side by Side Diff: mojo/public/c/tests/system/reference_perftest.cc

Issue 2244503002: mojo/public: Include gtest.h as "gtest/gtest.h", instead of via "absolute" path. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // This provides a reference for comparison of performance versus overhead in 5 // This provides a reference for comparison of performance versus overhead in
6 // perftests. 6 // perftests.
7 7
8 #include "gtest/gtest.h"
8 #include "mojo/public/c/tests/system/perftest_utils.h" 9 #include "mojo/public/c/tests/system/perftest_utils.h"
9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace { 11 namespace {
12 12
13 // A no-op test so we can compare performance. 13 // A no-op test so we can compare performance.
14 TEST(ReferencePerftest, NoOp) { 14 TEST(ReferencePerftest, NoOp) {
15 mojo::test::IterateAndReportPerf("Reference_NoOp", nullptr, []() {}); 15 mojo::test::IterateAndReportPerf("Reference_NoOp", nullptr, []() {});
16 } 16 }
17 17
18 } // namespace 18 } // namespace
OLDNEW
« no previous file with comments | « mojo/public/c/tests/system/message_pipe_unittest.cc ('k') | mojo/public/c/tests/system/time_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698