ASSERT_EQ(EnterpriseInstallAttributes::LOCK_SUCCESS,
LockDeviceAndWaitForResult(
std::string(),
ASSERT_EQ(EnterpriseInstallAttributes::LOCK_SUCCESS,
LockDeviceAndWaitForResult(
std::string(),
- EXPECT_EQ(DEVICE_MODE_CONSUMER_KIOSK, install_attributes_.GetMode());
- ASSERT_TRUE(install_attributes_.IsConsumerKioskDevice());
+ EXPECT_EQ(DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH,
+ install_attributes_.GetMode());
+ ASSERT_TRUE(install_attributes_.IsConsumerKioskDeviceWithAutoLaunch());
ASSERT_EQ(static_cast<int>(blob.size()),
file_util::WriteFile(GetTempPath(), blob.c_str(), blob.size()));
install_attributes_.ReadCacheFile(GetTempPath());
ASSERT_EQ(static_cast<int>(blob.size()),
file_util::WriteFile(GetTempPath(), blob.c_str(), blob.size()));
install_attributes_.ReadCacheFile(GetTempPath());
EXPECT_EQ("", install_attributes_.GetDomain());
EXPECT_EQ("", install_attributes_.GetRegistrationUser());
EXPECT_EQ("", install_attributes_.GetDeviceId());
EXPECT_EQ("", install_attributes_.GetDomain());
EXPECT_EQ("", install_attributes_.GetRegistrationUser());
EXPECT_EQ("", install_attributes_.GetDeviceId());