chromium/mojo/public/cpp/bindings/tests/message_unittest.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#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) {}

}  // namespace
}  // namespace test
}  // namespace mojo