chromium/third_party/libaddressinput/src/cpp/test/util/md5_unittest.cc

// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// The original source code is from:
// https://chromium.googlesource.com/chromium/src/base/+/ec2c345/md5_unittest.cc

#include "util/md5.h"

#include <cstring>
#include <memory>
#include <string>

#include <gtest/gtest.h>

namespace {

MD5Context;
MD5Digest;
MD5Init;
MD5String;
MD5Update;

TEST(MD5, DigestToBase16) {}

TEST(MD5, MD5SumEmtpyData) {}

TEST(MD5, MD5SumOneByteData) {}

TEST(MD5, MD5SumLongData) {}

TEST(MD5, ContextWithEmptyData) {}

TEST(MD5, ContextWithLongData) {}

// Example data from http://www.ietf.org/rfc/rfc1321.txt A.5 Test Suite
TEST(MD5, MD5StringTestSuite1) {}

TEST(MD5, MD5StringTestSuite2) {}

TEST(MD5, MD5StringTestSuite3) {}

TEST(MD5, MD5StringTestSuite4) {}

TEST(MD5, MD5StringTestSuite5) {}

TEST(MD5, MD5StringTestSuite6) {}

TEST(MD5, MD5StringTestSuite7) {}

TEST(MD5, ContextWithStringData) {}

// Test that a digest generated by MD5IntermediateFinal() gives the same results
// as an independently-calculated digest, and also does not modify the context.
TEST(MD5, IntermediateFinal) {}

}  // namespace