// 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/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "components/services/storage/indexed_db/scopes/varint_coding.h" #include <string_view> #include "base/dcheck_is_on.h" #include "testing/gtest/include/gtest/gtest.h" namespace content { namespace { static std::string WrappedEncodeVarInt(int64_t value) { … } TEST(VarIntCoding, Encode) { … } TEST(VarIntCoding, Decode) { … } TEST(VarIntCoding, SingleByteCases) { … } } // namespace } // namespace content