#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include <stdint.h>
#include <algorithm>
#include <tuple>
#include <vector>
#include "mojo/public/cpp/bindings/message.h"
#include "mojo/public/cpp/system/message_pipe.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace test {
namespace {
constexpr int32_t kTestMessageName = …;
constexpr int32_t kTestMessageFlags = …;
constexpr uint32_t kTestPayloadSize = …;
void CreateTestMessagePayload(std::vector<uint8_t>* bytes,
std::vector<ScopedHandle>* handles) { … }
TEST(BindingsMessageTest, ConstructFromPayload) { … }
}
}
}