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

Unified Diff: components/update_client/test/update_response_unittest.cc

Issue 808773005: Move most of the component updater artifacts to update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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
Index: components/update_client/test/update_response_unittest.cc
diff --git a/components/component_updater/test/update_response_unittest.cc b/components/update_client/test/update_response_unittest.cc
similarity index 98%
rename from components/component_updater/test/update_response_unittest.cc
rename to components/update_client/test/update_response_unittest.cc
index 0a7070b4b6af4a697890147a1d786de5dc82a7c5..e1069168d9165552a2bbd3e5af7ea4a7a265ebbb 100644
--- a/components/component_updater/test/update_response_unittest.cc
+++ b/components/update_client/test/update_response_unittest.cc
@@ -3,11 +3,11 @@
// found in the LICENSE file.
#include "base/memory/scoped_vector.h"
-#include "components/component_updater/update_response.h"
+#include "components/update_client/update_response.h"
#include "libxml/globals.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace component_updater {
+namespace update_client {
const char* kValidXml =
"<?xml version='1.0' encoding='UTF-8'?>"
@@ -122,7 +122,8 @@ const char* kInvalidVersion =
// must be able to parse responses that include namespaces.
const char* kUsesNamespacePrefix =
"<?xml version='1.0' encoding='UTF-8'?>"
- "<g:response xmlns:g='http://www.google.com/update2/response' protocol='3.0'>"
+ "<g:response xmlns:g='http://www.google.com/update2/response' "
+ "protocol='3.0'>"
" <g:app appid='12345'>"
" <g:updatecheck status='ok'>"
" <g:urls>"
@@ -298,4 +299,4 @@ TEST(ComponentUpdaterUpdateResponseTest, TestParser) {
EXPECT_EQ(firstResult->extension_id, "bbbbbbbb");
}
-} // namespace component_updater
+} // namespace update_client

Powered by Google App Engine
This is Rietveld 408576698