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

Side by Side Diff: components/autofill/browser/autofill_download_url_unittest.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/autofill/browser/autofill_download_url.h"
6 #include "googleurl/src/gurl.h"
7 #include "testing/gmock/include/gmock/gmock.h"
8 #include "testing/gtest/include/gtest/gtest.h"
9
10 using testing::StartsWith;
11
12 namespace autofill {
13
14 TEST(AutofillDownloadUrlTest, CheckDefaultUrls) {
15 std::string query_url =
16 autofill::GetAutofillQueryUrl().spec();
17 EXPECT_THAT(query_url,
18 StartsWith("https://clients1.google.com/tbproxy/af/query?client="));
19
20 std::string upload_url =
21 autofill::GetAutofillUploadUrl().spec();
22 EXPECT_THAT(upload_url,
23 StartsWith("https://clients1.google.com/tbproxy/af/upload?client="));
24 }
25
26 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/browser/autofill_download_url.cc ('k') | components/autofill/browser/autofill_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698