| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |