Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2955)

Unified Diff: app/data_pack_unittest.cc

Issue 5992006: Move data pack from base to app (it's just part of the resource bundle system... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/data_pack.cc ('k') | app/resource_bundle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « app/data_pack.cc ('k') | app/resource_bundle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698