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 2f400a414ba27a128e69334182bb46d73198bc71..c845b677ee6ccb6df0141c919fa07e90e6913e91 100644 |
--- a/mojo/public/cpp/application/application_test_base.h |
+++ b/mojo/public/cpp/application/application_test_base.h |
@@ -21,10 +21,13 @@ namespace test { |
ScopedMessagePipeHandle PassShellHandle(); |
void SetShellHandle(ScopedMessagePipeHandle handle); |
+const Array<String>& Args(); |
msw
2014/11/22 18:23:38
nit: Add a comment like "Access the command line a
Chris Masone
2014/11/22 20:14:44
Done.
|
+void InitializeArgs(int argc, std::vector<const char*> argv); |
+ |
// A GTEST base class for application testing executed in mojo_shell. |
class ApplicationTestBase : public testing::Test { |
public: |
- explicit ApplicationTestBase(Array<String> args); |
+ ApplicationTestBase(); |
~ApplicationTestBase() override; |
protected: |
@@ -33,6 +36,8 @@ class ApplicationTestBase : public testing::Test { |
// Get the ApplicationDelegate for the application to be tested. |
virtual ApplicationDelegate* GetApplicationDelegate() = 0; |
+ void SetUpWithArgs(Array<String> args); |
msw
2014/11/22 18:23:38
nit: Add a comment, like "A testing::Test::SetUp h
Chris Masone
2014/11/22 20:14:44
Done.
|
+ |
// testing::Test: |
void SetUp() override; |
void TearDown() override; |