| 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 "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "chrome/common/chrome_switches.h" | 8 #include "chrome/common/chrome_switches.h" |
| 9 #include "chrome/test/automation/tab_proxy.h" | 9 #include "chrome/test/automation/tab_proxy.h" |
| 10 #include "chrome/test/ui/ui_test.h" | 10 #include "chrome/test/ui/ui_test.h" |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 #else | 107 #else |
| 108 TEST_F(PPAPITest, ImageData) { | 108 TEST_F(PPAPITest, ImageData) { |
| 109 #endif | 109 #endif |
| 110 RunTest("ImageData"); | 110 RunTest("ImageData"); |
| 111 } | 111 } |
| 112 | 112 |
| 113 TEST_F(PPAPITest, Buffer) { | 113 TEST_F(PPAPITest, Buffer) { |
| 114 RunTest("Buffer"); | 114 RunTest("Buffer"); |
| 115 } | 115 } |
| 116 | 116 |
| 117 #if defined(OS_MACOSX) | |
| 118 // http://crbug.com/48734 | |
| 119 TEST_F(PPAPITest, FAILS_URLLoader) { | |
| 120 #elif defined(OS_POSIX) | |
| 121 // http://crbug.com/48944 | |
| 122 TEST_F(PPAPITest, DISABLED_URLLoader) { | |
| 123 #else | |
| 124 TEST_F(PPAPITest, URLLoader) { | 117 TEST_F(PPAPITest, URLLoader) { |
| 125 #endif | |
| 126 RunTestViaHTTP("URLLoader"); | 118 RunTestViaHTTP("URLLoader"); |
| 127 } | 119 } |
| 128 | 120 |
| 129 TEST_F(PPAPITest, PaintAgggregator) { | 121 TEST_F(PPAPITest, PaintAgggregator) { |
| 130 RunTestViaHTTP("PaintAggregator"); | 122 RunTestViaHTTP("PaintAggregator"); |
| 131 } | 123 } |
| 132 | 124 |
| 133 // http://crbug.com/48544 | 125 // http://crbug.com/48544 |
| 134 #if defined(OS_LINUX) | 126 #if defined(OS_LINUX) |
| 135 // TODO(jabdelmalek) this fails on Linux for unknown reasons. | 127 // TODO(jabdelmalek) this fails on Linux for unknown reasons. |
| 136 TEST_F(PPAPITest, FAILS_Scrollbar) { | 128 TEST_F(PPAPITest, FAILS_Scrollbar) { |
| 137 #else | 129 #else |
| 138 TEST_F(PPAPITest, Scrollbar) { | 130 TEST_F(PPAPITest, Scrollbar) { |
| 139 #endif | 131 #endif |
| 140 RunTest("Scrollbar"); | 132 RunTest("Scrollbar"); |
| 141 } | 133 } |
| OLD | NEW |