| Index: crypto/md5_calculator_unittest.cc
|
| diff --git a/chrome/browser/sync/util/crypto_helpers_unittest.cc b/crypto/md5_calculator_unittest.cc
|
| similarity index 55%
|
| rename from chrome/browser/sync/util/crypto_helpers_unittest.cc
|
| rename to crypto/md5_calculator_unittest.cc
|
| index 7be1270956fe6e26d7af2b22ce7ab878e2c9df97..2937a0c6b3655d6a403b0d7a7908e822d9ca3437 100644
|
| --- a/chrome/browser/sync/util/crypto_helpers_unittest.cc
|
| +++ b/crypto/md5_calculator_unittest.cc
|
| @@ -1,8 +1,8 @@
|
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +// 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.
|
|
|
| -#include "chrome/browser/sync/util/crypto_helpers.h"
|
| +#include "crypto/md5_calculator.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| TEST(ChecksumTest, MD5ChecksumTest) {
|
| @@ -15,13 +15,3 @@ TEST(ChecksumTest, MD5ChecksumTest) {
|
| std::string checksum("e2c865db4162bed963bfaa9ef6ac18f0");
|
| ASSERT_EQ(checksum, md5.GetHexDigest());
|
| }
|
| -
|
| -TEST(CryptoHelpers, GetRandomBytes) {
|
| - for (int i = 1; i < 25; ++i) {
|
| - std::string random_bytes(i+1, ' ');
|
| - do {
|
| - GetRandomBytes(&random_bytes[0], i);
|
| - ASSERT_EQ(random_bytes[i], ' ');
|
| - } while (random_bytes[i - 1] == ' ');
|
| - }
|
| -}
|
|
|