test_support_android.h 724 B

12345678910111213141516171819202122232425
  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
  3. // found in the LICENSE file.
  4. #ifndef BASE_TEST_TEST_SUPPORT_ANDROID_H_
  5. #define BASE_TEST_TEST_SUPPORT_ANDROID_H_
  6. #include "base/base_export.h"
  7. namespace base {
  8. class FilePath;
  9. // Init logging for tests on Android. Logs will be output into Android's logcat.
  10. BASE_EXPORT void InitAndroidTestLogging();
  11. // Init path providers for tests on Android.
  12. BASE_EXPORT void InitAndroidTestPaths(const FilePath& test_data_dir);
  13. // Init the message loop for tests on Android.
  14. BASE_EXPORT void InitAndroidTestMessageLoop();
  15. } // namespace base
  16. #endif // BASE_TEST_TEST_SUPPORT_ANDROID_H_