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

Side by Side Diff: base/test/sequenced_task_runner_test_template.h

Issue 1544113002: Switch to standard integer types in base/test/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « base/test/scoped_path_override.h ('k') | base/test/sequenced_worker_pool_owner.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 (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 // SequencedTaskRunnerTest defines tests that implementations of 5 // SequencedTaskRunnerTest defines tests that implementations of
6 // SequencedTaskRunner should pass in order to be conformant. 6 // SequencedTaskRunner should pass in order to be conformant.
7 // See task_runner_test_template.h for a description of how to use the 7 // See task_runner_test_template.h for a description of how to use the
8 // constructs in this file; these work the same. 8 // constructs in this file; these work the same.
9 9
10 #ifndef BASE_TEST_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ 10 #ifndef BASE_TEST_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_
11 #define BASE_TEST_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ 11 #define BASE_TEST_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_
12 12
13 #include <cstddef> 13 #include <cstddef>
14 #include <iosfwd> 14 #include <iosfwd>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/basictypes.h"
18 #include "base/bind.h" 17 #include "base/bind.h"
19 #include "base/callback.h" 18 #include "base/callback.h"
19 #include "base/macros.h"
20 #include "base/memory/ref_counted.h" 20 #include "base/memory/ref_counted.h"
21 #include "base/sequenced_task_runner.h" 21 #include "base/sequenced_task_runner.h"
22 #include "base/synchronization/condition_variable.h" 22 #include "base/synchronization/condition_variable.h"
23 #include "base/synchronization/lock.h" 23 #include "base/synchronization/lock.h"
24 #include "base/time/time.h" 24 #include "base/time/time.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 namespace base { 27 namespace base {
28 28
29 namespace internal { 29 namespace internal {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 } 345 }
346 346
347 // SequencedTaskRunnerDelayedTest tests that the |delay| parameter of 347 // SequencedTaskRunnerDelayedTest tests that the |delay| parameter of
348 // is used to actually wait for |delay| ms before executing the task. 348 // is used to actually wait for |delay| ms before executing the task.
349 // This is not mandatory for a SequencedTaskRunner to be compliant. 349 // This is not mandatory for a SequencedTaskRunner to be compliant.
350 REGISTER_TYPED_TEST_CASE_P(SequencedTaskRunnerDelayedTest, DelayedTaskBasic); 350 REGISTER_TYPED_TEST_CASE_P(SequencedTaskRunnerDelayedTest, DelayedTaskBasic);
351 351
352 } // namespace base 352 } // namespace base
353 353
354 #endif // BASE_TEST_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_ 354 #endif // BASE_TEST_SEQUENCED_TASK_RUNNER_TEST_TEMPLATE_H_
OLDNEW
« no previous file with comments | « base/test/scoped_path_override.h ('k') | base/test/sequenced_worker_pool_owner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698