| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 chrome.autotestPrivate.setNaturalScroll(true); | 97 chrome.autotestPrivate.setNaturalScroll(true); |
| 98 chrome.test.succeed(); | 98 chrome.test.succeed(); |
| 99 }, | 99 }, |
| 100 function setMouseSensitivity() { | 100 function setMouseSensitivity() { |
| 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 }, |
| 108 function getVisibleNotifications() { |
| 109 chrome.autotestPrivate.getVisibleNotifications(function(){}); |
| 110 chrome.test.succeed(); |
| 107 } | 111 } |
| 108 ]); | 112 ]); |
| OLD | NEW |