| Index: chrome/test/data/extensions/platform_apps/launch_no_intent/test.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/launch_no_intent/test.js b/chrome/test/data/extensions/platform_apps/launch_no_intent/test.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4ec872a11f4d6f8acec97a6af03e84886228e7ba
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/platform_apps/launch_no_intent/test.js
|
| @@ -0,0 +1,15 @@
|
| +// Copyright (c) 2012 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.
|
| +
|
| +// Check that there is no launch data.
|
| +function onLaunched(launchData) {
|
| + chrome.test.runTests([
|
| + function testIntent() {
|
| + chrome.test.assertTrue(!launchData, "LaunchData found");
|
| + chrome.test.succeed();
|
| + }
|
| + ]);
|
| +}
|
| +
|
| +chrome.experimental.app.onLaunched.addListener(onLaunched);
|
|
|