//---------------------------------------------------------------------------------------------------------------------- /// \file /// API and data types for interacting with TAEF during Reboot and Disconnect scenarios. // Copyright (c) Microsoft Corporation. All Rights Reserved. //---------------------------------------------------------------------------------------------------------------------- #pragma once #if defined(_WIN32) #include "TE.Common.h" #pragma warning(push) // Disable "Prefer enum class over enum". #pragma warning(disable:26812) namespace WEX { namespace TestExecution { namespace RebootOption { enum Option { Rerun = 0x0, Continue = 0x1, // When running under DES or a TestMD, the test infrastructure waits for the OS shell to fully initialize // before launching TE.exe to have it run the remaining tests. The AvoidWaitingForShellInitialization option // can be used to have TAEF tell that test infrastructure to avoid this wait. This can be useful for tests that // need to run during OOBE. This currently only applies when running within a DES test pass or within a TestMD. AvoidWaitingForShellInitialization = 0x2, }; inline Option operator|(Option option1, Option option2) noexcept { return static_cast