| Index: printing/printing_utils_unittest.cc
|
| diff --git a/printing/backend/print_backend_unittest.cc b/printing/printing_utils_unittest.cc
|
| similarity index 75%
|
| rename from printing/backend/print_backend_unittest.cc
|
| rename to printing/printing_utils_unittest.cc
|
| index 356a34627bf4f6cba581a4067fc9255e70df53db..24a380d4436bee58eaf1cca6e7dd83430f31a388 100644
|
| --- a/printing/backend/print_backend_unittest.cc
|
| +++ b/printing/printing_utils_unittest.cc
|
| @@ -1,18 +1,18 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright 2013 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 "base/strings/utf_string_conversions.h"
|
| -#include "printing/backend/print_backend.h"
|
| +#include "printing/printing_utils.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace printing {
|
|
|
| std::string Simplify(const char* title) {
|
| - return UTF16ToUTF8(PrintBackend::SimplifyDocumentTitle(ASCIIToUTF16(title)));
|
| + return UTF16ToUTF8(SimplifyDocumentTitle(ASCIIToUTF16(title)));
|
| }
|
|
|
| -TEST(PrintBackendTest, SimplifyDocumentTitle) {
|
| +TEST(PrintingUtilsTest, SimplifyDocumentTitle) {
|
| EXPECT_STREQ("", Simplify("").c_str());
|
| EXPECT_STREQ("Long string. Long string...ng string. Long string.",
|
| Simplify("Long string. Long string. Long string. Long string. "
|
|
|