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

Side by Side Diff: components/autofill/core/browser/autofill_xml_parser_unittest.cc

Issue 545003004: Roll WebRTC 7011:7046 libjingle: 7007:7045 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "components/autofill/core/browser/autofill_xml_parser.h" 10 #include "components/autofill/core/browser/autofill_xml_parser.h"
11 #include "components/autofill/core/browser/field_types.h" 11 #include "components/autofill/core/browser/field_types.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "third_party/libjingle/source/talk/xmllite/xmlparser.h" 13 #include "third_party/webrtc/libjingle/xmllite/xmlparser.h"
14 14
15 namespace autofill { 15 namespace autofill {
16 namespace { 16 namespace {
17 17
18 class AutofillQueryXmlParserTest : public testing::Test { 18 class AutofillQueryXmlParserTest : public testing::Test {
19 public: 19 public:
20 AutofillQueryXmlParserTest(): upload_required_(USE_UPLOAD_RATES) {}; 20 AutofillQueryXmlParserTest(): upload_required_(USE_UPLOAD_RATES) {};
21 virtual ~AutofillQueryXmlParserTest() {}; 21 virtual ~AutofillQueryXmlParserTest() {};
22 22
23 protected: 23 protected:
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 EXPECT_DOUBLE_EQ(0, negative_); 193 EXPECT_DOUBLE_EQ(0, negative_);
194 194
195 ParseUploadXML(std::string(), false); 195 ParseUploadXML(std::string(), false);
196 196
197 EXPECT_DOUBLE_EQ(0, positive_); 197 EXPECT_DOUBLE_EQ(0, positive_);
198 EXPECT_DOUBLE_EQ(0, negative_); 198 EXPECT_DOUBLE_EQ(0, negative_);
199 } 199 }
200 200
201 } // namespace 201 } // namespace
202 } // namespace autofill 202 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_xml_parser.cc ('k') | components/autofill/core/browser/form_structure.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698