OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
7 #include "base/files/scoped_temp_dir.h" | 7 #include "base/files/scoped_temp_dir.h" |
8 #include "base/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "sql/connection.h" | 9 #include "sql/connection.h" |
10 #include "sql/meta_table.h" | 10 #include "sql/meta_table.h" |
11 #include "sql/statement.h" | 11 #include "sql/statement.h" |
12 #include "sql/transaction.h" | 12 #include "sql/transaction.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "webkit/browser/appcache/appcache_database.h" | 14 #include "webkit/browser/appcache/appcache_database.h" |
15 #include "webkit/browser/appcache/appcache_entry.h" | 15 #include "webkit/browser/appcache/appcache_entry.h" |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1103 EXPECT_EQ(kMockOrigin, fallbacks[i].origin); | 1103 EXPECT_EQ(kMockOrigin, fallbacks[i].origin); |
1104 EXPECT_EQ(expected_namespace_url, fallbacks[i].namespace_.namespace_url); | 1104 EXPECT_EQ(expected_namespace_url, fallbacks[i].namespace_.namespace_url); |
1105 EXPECT_EQ(expected_target_url, fallbacks[i].namespace_.target_url); | 1105 EXPECT_EQ(expected_target_url, fallbacks[i].namespace_.target_url); |
1106 EXPECT_FALSE(fallbacks[i].namespace_.is_pattern); | 1106 EXPECT_FALSE(fallbacks[i].namespace_.is_pattern); |
1107 EXPECT_EQ(expected_whitelist_url, whitelists[i].namespace_url); | 1107 EXPECT_EQ(expected_whitelist_url, whitelists[i].namespace_url); |
1108 EXPECT_FALSE(whitelists[i].is_pattern); | 1108 EXPECT_FALSE(whitelists[i].is_pattern); |
1109 } | 1109 } |
1110 } | 1110 } |
1111 | 1111 |
1112 } // namespace appcache | 1112 } // namespace appcache |
OLD | NEW |