chromium/device/fido/hid/fido_hid_message_unittest.cc

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

#include "device/fido/hid/fido_hid_message.h"

#include "base/memory/ptr_util.h"
#include "base/numerics/safe_conversions.h"
#include "device/fido/fido_constants.h"
#include "device/fido/hid/fido_hid_packet.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace device {

static const size_t kDefaultInitDataSize =;
static const size_t kDefaultContinuationDataSize =;

/*
 * U2f Init Packets are of the format:
 * Byte 0:    0
 * Byte 1-4:  Channel ID
 * Byte 5:    Command byte
 * Byte 6-7:  Big Endian size of data
 * Byte 8-n:  Data block
 *
 * Remaining buffer is padded with 0
 */
TEST(FidoHidMessageTest, TestPacketData) {}

TEST(FidoHidMessageTest, TestPacketConstructors) {}

TEST(FidoHidMessageTest, TestMaxLengthPacketConstructors) {}

TEST(FidoHidMessageTest, TestMessagePartitoning) {}

TEST(FidoHidMessageTest, TooLarge) {}

TEST(FidoHidMessageTest, TestMaxSize) {}

TEST(FidoHidMessageTest, TestDeconstruct) {}

TEST(FidoHidMessageTest, TestDeserialize) {}

}  // namespace device