#include "components/policy/test_support/request_handler_for_remote_commands.h"
#include <utility>
#include "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "components/policy/core/common/cloud/cloud_policy_validator.h"
#include "components/policy/proto/device_management_backend.pb.h"
#include "components/policy/test_support/embedded_policy_test_server_test_base.h"
#include "components/policy/test_support/policy_storage.h"
#include "net/http/http_status_code.h"
#include "testing/gtest/include/gtest/gtest.h"
em;
namespace policy {
namespace {
constexpr char kDeviceId1[] = …;
constexpr char kDeviceId2[] = …;
constexpr char kDeviceToken[] = …;
constexpr char kMachineName[] = …;
}
class RequestHandlerForRemoteCommandsTest
: public EmbeddedPolicyTestServerTestBase { … };
TEST_F(RequestHandlerForRemoteCommandsTest, HandleRequest_UnmatchedDeviceId) { … }
TEST_F(RequestHandlerForRemoteCommandsTest, HandleRequest_AcceptCommandResult) { … }
TEST_F(RequestHandlerForRemoteCommandsTest, HandleRequest_HasPendingCommand) { … }
}