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

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

Issue 218833003: Mojo: Move public/tests/test_{support,utils}.* to public/{c,cpp}/test_support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gyp Created 6 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 | Annotate | Revision Log
« no previous file with comments | « mojo/public/c/system/tests/DEPS ('k') | mojo/public/c/test_support/test_support.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 tests the performance of the C API. 5 // This tests the performance of the C API.
6 6
7 #include "mojo/public/c/system/core.h" 7 #include "mojo/public/c/system/core.h"
8 8
9 #include <assert.h> 9 #include <assert.h>
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <stdint.h> 11 #include <stdint.h>
12 #include <stdio.h> 12 #include <stdio.h>
13 13
14 #include "mojo/public/cpp/system/macros.h" 14 #include "mojo/public/cpp/system/macros.h"
15 #include "mojo/public/tests/test_support.h" 15 #include "mojo/public/cpp/test_support/test_support.h"
16 #include "mojo/public/tests/test_utils.h" 16 #include "mojo/public/cpp/test_support/test_utils.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 // TODO(vtl): (here and below) crbug.com/342893 19 // TODO(vtl): (here and below) crbug.com/342893
20 #if !defined(WIN32) 20 #if !defined(WIN32)
21 #include <time.h> 21 #include <time.h>
22 #include "mojo/public/cpp/utility/thread.h" 22 #include "mojo/public/cpp/utility/thread.h"
23 #endif // !defined(WIN32) 23 #endif // !defined(WIN32)
24 24
25 namespace { 25 namespace {
26 26
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 DoMessagePipeThreadedTest(1u, 1u, 10000u); 328 DoMessagePipeThreadedTest(1u, 1u, 10000u);
329 329
330 DoMessagePipeThreadedTest(3u, 3u, 10u); 330 DoMessagePipeThreadedTest(3u, 3u, 10u);
331 // 100 was done above. 331 // 100 was done above.
332 DoMessagePipeThreadedTest(3u, 3u, 1000u); 332 DoMessagePipeThreadedTest(3u, 3u, 1000u);
333 DoMessagePipeThreadedTest(3u, 3u, 10000u); 333 DoMessagePipeThreadedTest(3u, 3u, 10000u);
334 } 334 }
335 #endif // !defined(WIN32) 335 #endif // !defined(WIN32)
336 336
337 } // namespace 337 } // namespace
OLDNEW
« no previous file with comments | « mojo/public/c/system/tests/DEPS ('k') | mojo/public/c/test_support/test_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698