chromium/third_party/openscreen/src/util/base64_unittest.cc

// Copyright 2020 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/base64.h"

#include <cstring>
#include <string>
#include <vector>

#include "gtest/gtest.h"

namespace openscreen::base64 {

namespace {

constexpr char kText[] =;
constexpr char kBase64Text[] =;

// More sophisticated comparisons here, such as EXPECT_STREQ, may
// cause memory failures on some platforms (e.g. ASAN) due to mismatched
// lengths.
void CheckEquals(const char* expected, const std::vector<uint8_t>& actual) {}

void CheckEncodeDecode(const char* to_encode, const char* encode_expected) {}

}  // namespace

TEST(Base64Test, ZeroSize) {}

TEST(Base64Test, Basic) {}

TEST(Base64Test, Binary) {}

TEST(Base64Test, InPlace) {}

}  // namespace openscreen::base64