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

Side by Side Diff: components/update_client/update_response_unittest.cc

Issue 1102103002: Move the unit tests files side-by-side with the corresponding .cc files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/memory/scoped_vector.h" 5 #include "base/memory/scoped_vector.h"
6 #include "components/update_client/update_response.h" 6 #include "components/update_client/update_response.h"
7 #include "libxml/globals.h" 7 #include "libxml/globals.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace update_client { 10 namespace update_client {
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 293
294 // Parse xml with one error and one success <app> tag. 294 // Parse xml with one error and one success <app> tag.
295 EXPECT_TRUE(parser.Parse(kTwoAppsOneError)); 295 EXPECT_TRUE(parser.Parse(kTwoAppsOneError));
296 EXPECT_FALSE(parser.errors().empty()); 296 EXPECT_FALSE(parser.errors().empty());
297 EXPECT_EQ(1u, parser.results().list.size()); 297 EXPECT_EQ(1u, parser.results().list.size());
298 firstResult = &parser.results().list[0]; 298 firstResult = &parser.results().list[0];
299 EXPECT_EQ(firstResult->extension_id, "bbbbbbbb"); 299 EXPECT_EQ(firstResult->extension_id, "bbbbbbbb");
300 } 300 }
301 301
302 } // namespace update_client 302 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/update_client_unittest.cc ('k') | components/update_client/url_request_post_interceptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698