chromium/third_party/openscreen/src/util/big_endian_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.

#include "util/big_endian.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"

namespace openscreen {
namespace {

// Tests that ReadBigEndian() correctly imports values from various offsets in
// memory.
TEST(BigEndianTest, ReadValues) {}

// Tests that WriteBigEndian() correctly writes-out values to various offsets in
// memory. This test assumes ReadBigEndian() is working, using it to verify that
// WriteBigEndian() is working.
TEST(BigEndianTest, WriteValues) {}

TEST(BigEndianReaderTest, ConstructWithValidBuffer) {}

TEST(BigEndianReaderTest, SkipLessThanRemaining) {}

TEST(BigEndianReaderTest, SkipMoreThanRemaining) {}

TEST(BigEndianReaderTest, ConstructWithZeroLengthBuffer) {}

TEST(BigEndianReaderTest, ReadValues) {}

TEST(BigEndianReaderTest, RespectLength) {}

TEST(BigEndianBufferCursorTest, CursorCommit) {}

TEST(BigEndianBufferCursorTest, CursorRollback) {}

TEST(BigEndianWriterTest, ConstructWithValidBuffer) {}

TEST(BigEndianWriterTest, SkipLessThanRemaining) {}

TEST(BigEndianWriterTest, SkipMoreThanRemaining) {}

TEST(BigEndianWriterTest, ConstructWithZeroLengthBuffer) {}

TEST(BigEndianWriterTest, WriteValues) {}

TEST(BigEndianWriterTest, RespectLength) {}

}  // namespace
}  // namespace openscreen