#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "remoting/host/native_messaging/native_messaging_writer.h"
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/json/json_reader.h"
#include "base/test/values_test_util.h"
#include "base/values.h"
#include "remoting/host/setup/test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
class NativeMessagingWriterTest : public testing::Test { … };
NativeMessagingWriterTest::NativeMessagingWriterTest() = default;
NativeMessagingWriterTest::~NativeMessagingWriterTest() = default;
void NativeMessagingWriterTest::SetUp() { … }
TEST_F(NativeMessagingWriterTest, GoodMessage) { … }
TEST_F(NativeMessagingWriterTest, SecondMessage) { … }
TEST_F(NativeMessagingWriterTest, FailedWrite) { … }
}