Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4796)

Unified Diff: chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js

Issue 2686233006: Add managed device signal (Closed)
Patch Set: Minor comments change Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
diff --git a/chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js b/chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
index f0808fc754af8d0a17288f8473a69e501c326994..b32eea09dcd04bdcac1b3c9c3c0bff0f1969a122 100644
--- a/chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
+++ b/chrome/test/data/extensions/api_test/chromeos_info_private/basic/background.js
@@ -23,6 +23,10 @@ function getTestFunctionFor(keys, fails) {
if (keys[i] == 'playStoreStatus') {
chrome.test.assertEq('not available', values[keys[i]]);
}
+ // ManagedDeviceStatus by default should be not managed.
tbarzic 2017/02/22 02:18:35 nit: I'd remove this comment - it doesn't add too
Wenzhao (Colin) Zang 2017/02/22 03:11:07 Done.
+ if (keys[i] == 'managedDeviceStatus') {
+ chrome.test.assertEq('not managed', values[keys[i]]);
+ }
// Debug
if (keys[i] in values) {
console.log(' values["' + keys[i] + '"] = ' +
@@ -117,6 +121,7 @@ var tests = generateTestsForKeys(['hwid',
'isOwner',
'sessionType',
'playStoreStatus',
+ 'managedDeviceStatus',
'clientId',
'a11yLargeCursorEnabled',
'a11yStickyKeysEnabled',

Powered by Google App Engine
This is Rietveld 408576698