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_EDK_TEST_TEST_SUPPORT_IMPL_H_ | 5 #ifndef MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ |
6 #define MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ | 6 #define MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ |
7 | 7 |
8 #include <stdio.h> | 8 #include <stdio.h> |
9 | 9 |
10 #include "mojo/public/cpp/system/macros.h" | 10 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" |
11 #include "mojo/public/tests/test_support_private.h" | 11 #include "third_party/mojo/src/mojo/public/tests/test_support_private.h" |
12 | 12 |
13 namespace mojo { | 13 namespace mojo { |
14 namespace edk { | 14 namespace edk { |
15 namespace test { | 15 namespace test { |
16 | 16 |
17 class TestSupportImpl : public mojo::test::TestSupport { | 17 class TestSupportImpl : public mojo::test::TestSupport { |
18 public: | 18 public: |
19 TestSupportImpl(); | 19 TestSupportImpl(); |
20 ~TestSupportImpl() override; | 20 ~TestSupportImpl() override; |
21 | 21 |
22 void LogPerfResult(const char* test_name, | 22 void LogPerfResult(const char* test_name, |
23 const char* sub_test_name, | 23 const char* sub_test_name, |
24 double value, | 24 double value, |
25 const char* units) override; | 25 const char* units) override; |
26 FILE* OpenSourceRootRelativeFile(const char* relative_path) override; | 26 FILE* OpenSourceRootRelativeFile(const char* relative_path) override; |
27 char** EnumerateSourceRootRelativeDirectory( | 27 char** EnumerateSourceRootRelativeDirectory( |
28 const char* relative_path) override; | 28 const char* relative_path) override; |
29 | 29 |
30 private: | 30 private: |
31 MOJO_DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); | 31 MOJO_DISALLOW_COPY_AND_ASSIGN(TestSupportImpl); |
32 }; | 32 }; |
33 | 33 |
34 } // namespace test | 34 } // namespace test |
35 } // namespace edk | 35 } // namespace edk |
36 } // namespace mojo | 36 } // namespace mojo |
37 | 37 |
38 #endif // MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ | 38 #endif // MOJO_EDK_TEST_TEST_SUPPORT_IMPL_H_ |
OLD | NEW |