Index: base/test/run_hook_ios.h |
diff --git a/base/test/run_hook_ios.h b/base/test/run_hook_ios.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e7b28957d29e467e5f60e4745621577800e5be54 |
--- /dev/null |
+++ b/base/test/run_hook_ios.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef BASE_TEST_RUN_HOOK_IOS_H_ |
+#define BASE_TEST_RUN_HOOK_IOS_H_ |
+ |
+#include "base/basictypes.h" |
+#include "base/test/test_suite.h" |
+#include "build/build_config.h" |
+ |
+// Provides a way of running code before gtest-based apps invoke |
+// TestSuite::Run. |
+class RunHook { |
+ public: |
+ static void Init(base::TestSuite* suite, int argc, char* argv[]); |
+ static void RunTestsFromApp(); |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(RunHook); |
+}; |
+ |
+#endif // BASE_TEST_RUN_HOOK_IOS_H_ |