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

Unified Diff: chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/browser/chromeos/policy/enterprise_install_attributes_unittest.cc
diff --git a/chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc b/chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc
index 9b66adbabc6a478b5bdf60daf6bb732fad7b15f0..9ff65ebe434da12977cc4072ab994d257c5ea15f 100644
--- a/chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc
+++ b/chrome/browser/chromeos/policy/enterprise_install_attributes_unittest.cc
@@ -171,18 +171,6 @@ TEST_F(EnterpriseInstallAttributesTest, GetDeviceId) {
EXPECT_EQ(kTestDeviceId, install_attributes_->GetDeviceId());
}
-TEST_F(EnterpriseInstallAttributesTest, GetMode) {
- install_attributes_->ReadCacheFile(GetTempPath());
- EXPECT_EQ(DEVICE_MODE_PENDING, install_attributes_->GetMode());
- ASSERT_EQ(EnterpriseInstallAttributes::LOCK_SUCCESS,
- LockDeviceAndWaitForResult(
- kTestUser,
- DEVICE_MODE_RETAIL_KIOSK,
- kTestDeviceId));
- EXPECT_EQ(DEVICE_MODE_RETAIL_KIOSK,
- install_attributes_->GetMode());
-}
-
TEST_F(EnterpriseInstallAttributesTest, ConsumerDevice) {
install_attributes_->ReadCacheFile(GetTempPath());
EXPECT_EQ(DEVICE_MODE_PENDING, install_attributes_->GetMode());

Powered by Google App Engine
This is Rietveld 408576698