#include "chrome/browser/ui/views/policy/enterprise_startup_dialog_view.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/single_thread_task_runner.h"
#include "build/build_config.h"
#include "chrome/browser/ui/test/test_browser_dialog.h"
#include "content/public/test/browser_test.h"
namespace policy {
namespace {
constexpr char16_t kMessage[] = …;
constexpr char16_t kButton[] = …;
void DialogResultCallback(bool result, bool can_show_browser_window) { … }
}
class EnterpriseStartupDialogViewBrowserTest : public DialogBrowserTest { … };
IN_PROC_BROWSER_TEST_F(EnterpriseStartupDialogViewBrowserTest,
InvokeUi_Information) { … }
IN_PROC_BROWSER_TEST_F(EnterpriseStartupDialogViewBrowserTest, InvokeUi_Error) { … }
IN_PROC_BROWSER_TEST_F(EnterpriseStartupDialogViewBrowserTest,
InvokeUi_Switch) { … }
}