chromium/third_party/openscreen/src/osp/msgs/messages_unittest.cc

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

#include "gtest/gtest.h"
#include "osp/msgs/osp_messages.h"

using openscreen::msgs::CborEncodeBuffer;
using openscreen::msgs::HttpHeader;
using openscreen::msgs::PresentationConnectionCloseEvent;
using openscreen::msgs::PresentationConnectionMessage;
using openscreen::msgs::PresentationStartRequest;
using openscreen::msgs::PresentationUrlAvailabilityRequest;

namespace openscreen::osp {

TEST(PresentationMessagesTest, EncodeRequestOneUrl) {}

TEST(PresentationMessagesTest, EncodeRequestMultipleUrls) {}

TEST(PresentationMessagesTest, EncodeWouldOverflow) {}

// TODO(btolsch): Expand invalid utf8 testing to good/bad files and fuzzing.
TEST(PresentationMessagesTest, EncodeInvalidUtf8) {}

TEST(PresentationMessagesTest, DecodeInvalidUtf8) {}

TEST(PresentationMessagesTest, InitiationRequest) {}

TEST(PresentationMessagesTest, InitiationRequestWithoutOptional) {}

TEST(PresentationMessagesTest, EncodeConnectionMessageString) {}

TEST(PresentationMessagesTest, EncodeConnectionMessageBytes) {}

TEST(PresentationMessagesTest, CborEncodeBufferSmall) {}

TEST(PresentationMessagesTest, CborEncodeBufferMedium) {}

TEST(PresentationMessagesTest, CborEncodeBufferTooLarge) {}

TEST(PresentationMessagesTest, EncodePresentationConnectionCloseEvent) {}

}  // namespace openscreen::osp