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_util.h" | 5 #include "base/file_util.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
7 #include "base/test/test_timeouts.h" | 7 #include "base/test/test_timeouts.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/chrome_switches.h" | 9 #include "chrome/common/chrome_switches.h" |
10 #include "chrome/test/automation/tab_proxy.h" | 10 #include "chrome/test/automation/tab_proxy.h" |
11 #include "chrome/test/ui/ui_test.h" | 11 #include "chrome/test/ui/ui_test.h" |
12 #include "net/base/net_util.h" | 12 #include "net/base/net_util.h" |
13 #include "net/test/test_server.h" | 13 #include "net/test/test_server.h" |
14 #include "webkit/glue/plugins/plugin_switches.h" | 14 #include "webkit/plugins/plugin_switches.h" |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
18 // Platform-specific filename relative to the chrome executable. | 18 // Platform-specific filename relative to the chrome executable. |
19 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
20 const wchar_t library_name[] = L"ppapi_tests.dll"; | 20 const wchar_t library_name[] = L"ppapi_tests.dll"; |
21 #elif defined(OS_MACOSX) | 21 #elif defined(OS_MACOSX) |
22 const char library_name[] = "ppapi_tests.plugin"; | 22 const char library_name[] = "ppapi_tests.plugin"; |
23 #elif defined(OS_POSIX) | 23 #elif defined(OS_POSIX) |
24 const char library_name[] = "libppapi_tests.so"; | 24 const char library_name[] = "libppapi_tests.so"; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 // TODO(dumi): figure out why this test is flaky / crashing. | 162 // TODO(dumi): figure out why this test is flaky / crashing. |
163 TEST_F(PPAPITest, DISABLED_FileRef) { | 163 TEST_F(PPAPITest, DISABLED_FileRef) { |
164 RunTestViaHTTP("FileRef"); | 164 RunTestViaHTTP("FileRef"); |
165 } | 165 } |
166 | 166 |
167 // http://crbug.com/63239 | 167 // http://crbug.com/63239 |
168 TEST_F(PPAPITest, DISABLED_DirectoryReader) { | 168 TEST_F(PPAPITest, DISABLED_DirectoryReader) { |
169 RunTestViaHTTP("DirectoryReader"); | 169 RunTestViaHTTP("DirectoryReader"); |
170 } | 170 } |
OLD | NEW |