OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef REMOTING_TEST_CHROMOTING_TEST_FIXTURE_H_ | 5 #ifndef REMOTING_TEST_CHROMOTING_TEST_FIXTURE_H_ |
6 #define REMOTING_TEST_CHROMOTING_TEST_FIXTURE_H_ | 6 #define REMOTING_TEST_CHROMOTING_TEST_FIXTURE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/threading/thread_checker.h" | 11 #include "base/threading/thread_checker.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 | 13 |
14 namespace base { | |
15 class RunLoop; | |
16 class Timer; | |
17 } | |
18 | |
19 namespace remoting { | 14 namespace remoting { |
20 namespace test { | 15 namespace test { |
21 | 16 |
22 class ConnectionTimeObserver; | 17 class ConnectionTimeObserver; |
23 class TestChromotingClient; | 18 class TestChromotingClient; |
24 struct HostInfo; | |
25 | 19 |
26 // Provides chromoting connection capabilities for tests to use. Performance | 20 // Provides chromoting connection capabilities for tests to use. Performance |
27 // metrics of the established connection are readily available to calculate | 21 // metrics of the established connection are readily available to calculate |
28 // through the ConnectionTimeObserver. | 22 // through the ConnectionTimeObserver. |
29 class ChromotingTestFixture | 23 class ChromotingTestFixture |
30 : public testing::Test { | 24 : public testing::Test { |
31 public: | 25 public: |
32 ChromotingTestFixture(); | 26 ChromotingTestFixture(); |
33 ~ChromotingTestFixture() override; | 27 ~ChromotingTestFixture() override; |
34 | 28 |
(...skipping 23 matching lines...) Expand all Loading... |
58 | 52 |
59 base::ThreadChecker thread_checker_; | 53 base::ThreadChecker thread_checker_; |
60 | 54 |
61 DISALLOW_COPY_AND_ASSIGN(ChromotingTestFixture); | 55 DISALLOW_COPY_AND_ASSIGN(ChromotingTestFixture); |
62 }; | 56 }; |
63 | 57 |
64 } // namespace test | 58 } // namespace test |
65 } // namespace remoting | 59 } // namespace remoting |
66 | 60 |
67 #endif // REMOTING_TEST_CHROMOTING_TEST_FIXTURE_H_ | 61 #endif // REMOTING_TEST_CHROMOTING_TEST_FIXTURE_H_ |
OLD | NEW |