OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/browser/autofill_xml_parser.h" | |
11 #include "components/autofill/browser/field_types.h" | |
12 #include "components/autofill/content/browser/autocheckout_page_meta_data.h" | 10 #include "components/autofill/content/browser/autocheckout_page_meta_data.h" |
| 11 #include "components/autofill/core/browser/autofill_xml_parser.h" |
| 12 #include "components/autofill/core/browser/field_types.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "third_party/libjingle/source/talk/xmllite/xmlparser.h" | 14 #include "third_party/libjingle/source/talk/xmllite/xmlparser.h" |
15 | 15 |
16 namespace autofill { | 16 namespace autofill { |
17 namespace { | 17 namespace { |
18 | 18 |
19 class AutofillQueryXmlParserTest : public testing::Test { | 19 class AutofillQueryXmlParserTest : public testing::Test { |
20 public: | 20 public: |
21 AutofillQueryXmlParserTest(): upload_required_(USE_UPLOAD_RATES) {}; | 21 AutofillQueryXmlParserTest(): upload_required_(USE_UPLOAD_RATES) {}; |
22 virtual ~AutofillQueryXmlParserTest() {}; | 22 virtual ~AutofillQueryXmlParserTest() {}; |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 EXPECT_DOUBLE_EQ(0, negative_); | 366 EXPECT_DOUBLE_EQ(0, negative_); |
367 | 367 |
368 ParseUploadXML(std::string(), false); | 368 ParseUploadXML(std::string(), false); |
369 | 369 |
370 EXPECT_DOUBLE_EQ(0, positive_); | 370 EXPECT_DOUBLE_EQ(0, positive_); |
371 EXPECT_DOUBLE_EQ(0, negative_); | 371 EXPECT_DOUBLE_EQ(0, negative_); |
372 } | 372 } |
373 | 373 |
374 } // namespace | 374 } // namespace |
375 } // namespace autofill | 375 } // namespace autofill |
OLD | NEW |