OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stddef.h> |
| 6 |
5 #include <string> | 7 #include <string> |
6 | 8 |
| 9 #include "base/macros.h" |
7 #include "content/browser/appcache/appcache_manifest_parser.h" | 10 #include "content/browser/appcache/appcache_manifest_parser.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
9 #include "url/gurl.h" | 12 #include "url/gurl.h" |
10 | 13 |
11 namespace content { | 14 namespace content { |
12 | 15 |
13 class AppCacheManifestParserTest : public testing::Test { | 16 class AppCacheManifestParserTest : public testing::Test { |
14 }; | 17 }; |
15 | 18 |
16 TEST(AppCacheManifestParserTest, NoData) { | 19 TEST(AppCacheManifestParserTest, NoData) { |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 manifest.online_whitelist_namespaces[0].target_url); | 510 manifest.online_whitelist_namespaces[0].target_url); |
508 EXPECT_EQ( | 511 EXPECT_EQ( |
509 GURL("http://foo.com/network_pattern*"), | 512 GURL("http://foo.com/network_pattern*"), |
510 manifest.online_whitelist_namespaces[1].namespace_url); | 513 manifest.online_whitelist_namespaces[1].namespace_url); |
511 EXPECT_EQ( | 514 EXPECT_EQ( |
512 GURL(), | 515 GURL(), |
513 manifest.online_whitelist_namespaces[1].target_url); | 516 manifest.online_whitelist_namespaces[1].target_url); |
514 } | 517 } |
515 | 518 |
516 } // namespace content | 519 } // namespace content |
OLD | NEW |