OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/message_loop/message_loop.h" | 5 #include "base/message_loop/message_loop.h" |
6 #include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h" | 6 #include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h" |
7 #include "chrome/browser/extensions/extension_apitest.h" | 7 #include "chrome/browser/extensions/extension_apitest.h" |
8 | 8 |
9 namespace extensions { | 9 namespace extensions { |
10 | 10 |
11 class FeedbackApiTest: public ExtensionApiTest { | 11 class FeedbackApiTest: public ExtensionApiTest { |
12 public: | 12 public: |
13 FeedbackApiTest() {} | 13 FeedbackApiTest() {} |
14 virtual ~FeedbackApiTest() {} | 14 virtual ~FeedbackApiTest() {} |
15 }; | 15 }; |
16 | 16 |
17 IN_PROC_BROWSER_TEST_F(FeedbackApiTest, Basic) { | 17 // Fails on Linux/Win. http://crbug.com/408917 |
| 18 #if defined(OS_WIN) || defined(OS_LINUX) |
| 19 #define MAYBE_Basic DISABLED_Basic |
| 20 #else |
| 21 #define MAYBE_Basic Basic |
| 22 #endif |
| 23 |
| 24 IN_PROC_BROWSER_TEST_F(FeedbackApiTest, MAYBE_Basic) { |
18 EXPECT_TRUE(RunExtensionTest("feedback_private/basic")) << message_; | 25 EXPECT_TRUE(RunExtensionTest("feedback_private/basic")) << message_; |
19 } | 26 } |
20 | 27 |
21 } // namespace extensions | 28 } // namespace extensions |
OLD | NEW |