| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 chrome.test.runTests([ | 5 chrome.test.runTests([ |
| 6 // logout/restart/shutdown don't do anything as we don't want to kill the | 6 // logout/restart/shutdown don't do anything as we don't want to kill the |
| 7 // browser with these tests. | 7 // browser with these tests. |
| 8 function logout() { | 8 function logout() { |
| 9 chrome.autotestPrivate.logout(); | 9 chrome.autotestPrivate.logout(); |
| 10 chrome.test.succeed(); | 10 chrome.test.succeed(); |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 chrome.autotestPrivate.setMouseSensitivity(3); | 101 chrome.autotestPrivate.setMouseSensitivity(3); |
| 102 chrome.test.succeed(); | 102 chrome.test.succeed(); |
| 103 }, | 103 }, |
| 104 function setPrimaryButtonRight() { | 104 function setPrimaryButtonRight() { |
| 105 chrome.autotestPrivate.setPrimaryButtonRight(false); | 105 chrome.autotestPrivate.setPrimaryButtonRight(false); |
| 106 chrome.test.succeed(); | 106 chrome.test.succeed(); |
| 107 }, | 107 }, |
| 108 function getVisibleNotifications() { | 108 function getVisibleNotifications() { |
| 109 chrome.autotestPrivate.getVisibleNotifications(function(){}); | 109 chrome.autotestPrivate.getVisibleNotifications(function(){}); |
| 110 chrome.test.succeed(); | 110 chrome.test.succeed(); |
| 111 }, |
| 112 function isPlayStoreEnabled() { |
| 113 chrome.autotestPrivate.isPlayStoreEnabled; |
| 114 chrome.test.succeed(); |
| 115 }, |
| 116 function isPlayStoreManaged() { |
| 117 chrome.autotestPrivate.isPlayStoreManaged; |
| 118 chrome.test.succeed(); |
| 119 }, |
| 120 function setPlayStoreEnabled() { |
| 121 chrome.autotestPrivate.setPlayStoreEnabled(true); |
| 122 chrome.test.succeed(); |
| 111 } | 123 } |
| 112 ]); | 124 ]); |
| OLD | NEW |