#include <cstdint>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/values.h"
#include "components/cbor/reader.h"
#include "components/cbor/values.h"
#include "components/cbor/writer.h"
#include "services/data_decoder/cbor_parser_impl.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace data_decoder {
namespace {
void CopyResultCallback(std::optional<::base::Value>& output_result,
std::optional<std::string>& output_error,
std::optional<::base::Value> result,
const std::optional<std::string>& error) { … }
}
CborToValueTest;
TEST_F(CborToValueTest, SuccesfulParseValues) { … }
TEST_F(CborToValueTest, FailingParseValues) { … }
}