Index: mojo/public/cpp/application/application_test_base.h |
diff --git a/mojo/public/cpp/application/application_test_base.h b/mojo/public/cpp/application/application_test_base.h |
index 70ef9d612554ca979fefecb4717ae90b2c660558..bdf2f8bfb9eca6a46314db46a70d99cc1a0f16b3 100644 |
--- a/mojo/public/cpp/application/application_test_base.h |
+++ b/mojo/public/cpp/application/application_test_base.h |
@@ -17,13 +17,12 @@ class ApplicationImpl; |
namespace test { |
-// Access the shell handle shared by multiple test application instances. |
-ScopedMessagePipeHandle PassShellHandle(); |
-void SetShellHandle(ScopedMessagePipeHandle handle); |
- |
// Access the command line arguments passed to the application test. |
const Array<String>& Args(); |
-void InitializeArgs(int argc, std::vector<const char*> argv); |
+ |
+// Run all application tests. This must be called after the environment is |
+// initialized, to support construction of a default run loop. |
+MojoResult RunAllTests(MojoHandle shell_handle); |
// A GTEST base class for application testing executed in mojo_shell. |
class ApplicationTestBase : public testing::Test { |