| Index: app/data_pack_unittest.cc
|
| ===================================================================
|
| --- app/data_pack_unittest.cc (revision 69975)
|
| +++ app/data_pack_unittest.cc (working copy)
|
| @@ -1,8 +1,8 @@
|
| -// Copyright (c) 2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2010 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/data_pack.h"
|
| +#include "app/data_pack.h"
|
|
|
| #include "base/file_path.h"
|
| #include "base/file_util.h"
|
| @@ -11,11 +11,13 @@
|
| #include "base/string_piece.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| +namespace app {
|
| +
|
| TEST(DataPackTest, Load) {
|
| FilePath data_path;
|
| PathService::Get(base::DIR_SOURCE_ROOT, &data_path);
|
| data_path = data_path.Append(
|
| - FILE_PATH_LITERAL("base/data/data_pack_unittest/sample.pak"));
|
| + FILE_PATH_LITERAL("app/test/data/data_pack_unittest/sample.pak"));
|
|
|
| base::DataPack pack;
|
| ASSERT_TRUE(pack.Load(data_path));
|
| @@ -71,3 +73,5 @@
|
| ASSERT_TRUE(pack.GetStringPiece(15, &data));
|
| EXPECT_EQ(fifteen, data);
|
| }
|
| +
|
| +} // namespace app
|
|
|