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