| 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 "base/file_path.h" | 5 #include "base/file_path.h" |
| 6 #include "chrome/test/layout_test_http_server.h" | 6 #include "chrome/test/base/layout_test_http_server.h" |
| 7 #include "chrome/test/ui/ui_layout_test.h" | 7 #include "chrome/test/ui/ui_layout_test.h" |
| 8 | 8 |
| 9 class AppCacheUITest : public UILayoutTest { | 9 class AppCacheUITest : public UILayoutTest { |
| 10 public: | 10 public: |
| 11 void RunAppCacheTests(const char* tests[], int num_tests) { | 11 void RunAppCacheTests(const char* tests[], int num_tests) { |
| 12 FilePath http_test_dir; | 12 FilePath http_test_dir; |
| 13 http_test_dir = http_test_dir.AppendASCII("http"); | 13 http_test_dir = http_test_dir.AppendASCII("http"); |
| 14 http_test_dir = http_test_dir.AppendASCII("tests"); | 14 http_test_dir = http_test_dir.AppendASCII("tests"); |
| 15 | 15 |
| 16 FilePath appcache_test_dir; | 16 FilePath appcache_test_dir; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 // TODO(michaeln): investigate these more closely | 98 // TODO(michaeln): investigate these more closely |
| 99 // "crash-when-navigating-away-then-back.html", | 99 // "crash-when-navigating-away-then-back.html", |
| 100 // "credential-url.html", | 100 // "credential-url.html", |
| 101 // "different-https-origin-resource-main.html", | 101 // "different-https-origin-resource-main.html", |
| 102 // "idempotent-update.html", not sure this is a valid test | 102 // "idempotent-update.html", not sure this is a valid test |
| 103 // "local-content.html", | 103 // "local-content.html", |
| 104 // "max-size.html", we use a different quota scheme | 104 // "max-size.html", we use a different quota scheme |
| 105 | 105 |
| 106 RunAppCacheTests(kPHPTests, arraysize(kPHPTests)); | 106 RunAppCacheTests(kPHPTests, arraysize(kPHPTests)); |
| 107 } | 107 } |
| OLD | NEW |