#include <memory>
#include <string>
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "base/unguessable_token.h"
#include "build/build_config.h"
#include "chrome/enterprise_companion/app/app.h"
#include "chrome/enterprise_companion/enterprise_companion_status.h"
#include "chrome/enterprise_companion/lock.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#if BUILDFLAG(IS_WIN)
#include "base/strings/utf_string_conversions.h"
#include "base/win/atl.h"
#endif
namespace enterprise_companion {
namespace {
Return;
std::unique_ptr<ScopedLock> CreateLockForTest(base::TimeDelta) { … }
}
class AppInstallTest : public ::testing::Test { … };
TEST_F(AppInstallTest, ShutdownRemote) { … }
TEST_F(AppInstallTest, LockContested) { … }
TEST_F(AppInstallTest, InstallFails) { … }
TEST_F(AppInstallTest, InstallSuccess) { … }
}