OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_ | 5 #ifndef MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_ |
6 #define MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_ | 6 #define MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_ |
7 | 7 |
viettrungluu
2014/04/25 21:55:59
nit: #include <stdio.h>
darin (slow to review)
2014/04/29 06:31:45
I think we can count on stdio.h from test_support_
viettrungluu
2014/04/29 20:55:01
True.
| |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/public/tests/test_support_private.h" | 9 #include "mojo/public/tests/test_support_private.h" |
10 | 10 |
11 namespace mojo { | 11 namespace mojo { |
12 namespace test { | 12 namespace test { |
13 | 13 |
14 class TestSupportImpl : public TestSupport { | 14 class TestSupportImpl : public TestSupport { |
15 public: | 15 public: |
16 TestSupportImpl(); | 16 TestSupportImpl(); |
17 virtual ~TestSupportImpl(); | 17 virtual ~TestSupportImpl(); |
18 | 18 |
19 virtual void LogPerfResult(const char* test_name, | 19 virtual void LogPerfResult(const char* test_name, |
20 double value, | 20 double value, |
21 const char* units) OVERRIDE; | 21 const char* units) OVERRIDE; |
22 virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) OVERRIDE; | |
23 virtual char** EnumerateSourceRootRelativeDirectory(const char* relative_path) | |
24 OVERRIDE; | |
22 | 25 |
23 private: | 26 private: |
24 DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); | 27 DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); |
25 }; | 28 }; |
26 | 29 |
27 } // namespace test | 30 } // namespace test |
28 } // namespace mojo | 31 } // namespace mojo |
29 | 32 |
30 #endif // MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_ | 33 #endif // MOJO_COMMON_TEST_TEST_SUPPORT_IMPL_H_ |
OLD | NEW |