#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "ipc/ipc_message.h"
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <limits>
#include <memory>
#include <utility>
#include "base/memory/ptr_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "build/build_config.h"
#include "ipc/ipc_message_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#define IPC_MESSAGE_IMPL
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_start.h"
#define IPC_MESSAGE_START …
IPC_MESSAGE_CONTROL0(TestMsgClassEmpty)
IPC_MESSAGE_CONTROL1(TestMsgClassI, int)
IPC_SYNC_MESSAGE_CONTROL1_1(TestMsgClassIS, int, std::string)
namespace IPC {
TEST(IPCMessageTest, BasicMessageTest) { … }
TEST(IPCMessageTest, Value) { … }
TEST(IPCMessageTest, ValueDict) { … }
TEST(IPCMessageTest, FindNext) { … }
TEST(IPCMessageTest, FindNextOverflow) { … }
namespace {
class IPCMessageParameterTest : public testing::Test { … };
}
TEST_F(IPCMessageParameterTest, EmptyDispatcherWithParam) { … }
#if BUILDFLAG(IS_ANDROID)
#define MAYBE_OneIntegerWithParam …
#else
#define MAYBE_OneIntegerWithParam …
#endif
TEST_F(IPCMessageParameterTest, MAYBE_OneIntegerWithParam) { … }
}