| Index: chrome/browser/extensions/platform_app_browsertest.cc
|
| diff --git a/chrome/browser/extensions/platform_app_browsertest.cc b/chrome/browser/extensions/platform_app_browsertest.cc
|
| index 3aeac39a9f1de56ada32255e07dcb067dd0f81eb..7d7681950507e77ff5b9fde6a2b1ef68ad2a3d8a 100644
|
| --- a/chrome/browser/extensions/platform_app_browsertest.cc
|
| +++ b/chrome/browser/extensions/platform_app_browsertest.cc
|
| @@ -196,3 +196,14 @@ IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, DisallowStorage) {
|
| IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, MAYBE_WindowsApi) {
|
| ASSERT_TRUE(RunPlatformAppTest("platform_apps/windows_api")) << message_;
|
| }
|
| +
|
| +// Tests that command line parameters get passed through to platform apps
|
| +// via window.intent correctly, and that the file names passed through can be
|
| +// read successfully.
|
| +IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, DocumentEditor) {
|
| + CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| + FilePath test_doc(test_data_dir_.AppendASCII(
|
| + "platform_apps/document_editor/test.txt"));
|
| + command_line->AppendArgPath(test_doc);
|
| + ASSERT_TRUE(RunPlatformAppTest("platform_apps/document_editor")) << message_;
|
| +}
|
|
|