| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 6 |
| 7 #include "googleurl/src/gurl.h" | |
| 8 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 #include "url/gurl.h" |
| 9 #include "webkit/browser/appcache/manifest_parser.h" | 9 #include "webkit/browser/appcache/manifest_parser.h" |
| 10 | 10 |
| 11 namespace appcache { | 11 namespace appcache { |
| 12 | 12 |
| 13 class AppCacheManifestParserTest : public testing::Test { | 13 class AppCacheManifestParserTest : public testing::Test { |
| 14 }; | 14 }; |
| 15 | 15 |
| 16 TEST(AppCacheManifestParserTest, NoData) { | 16 TEST(AppCacheManifestParserTest, NoData) { |
| 17 GURL url; | 17 GURL url; |
| 18 Manifest manifest; | 18 Manifest manifest; |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 manifest.online_whitelist_namespaces[0].target_url); | 463 manifest.online_whitelist_namespaces[0].target_url); |
| 464 EXPECT_EQ( | 464 EXPECT_EQ( |
| 465 GURL("http://foo.com/network_pattern*"), | 465 GURL("http://foo.com/network_pattern*"), |
| 466 manifest.online_whitelist_namespaces[1].namespace_url); | 466 manifest.online_whitelist_namespaces[1].namespace_url); |
| 467 EXPECT_EQ( | 467 EXPECT_EQ( |
| 468 GURL(), | 468 GURL(), |
| 469 manifest.online_whitelist_namespaces[1].target_url); | 469 manifest.online_whitelist_namespaces[1].target_url); |
| 470 } | 470 } |
| 471 | 471 |
| 472 } // namespace appcache | 472 } // namespace appcache |
| OLD | NEW |