Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1698)

Unified Diff: webrtc/modules/desktop_capture/screen_capturer_integration_test.cc

Issue 2564173002: MANUAL tests of GDI capturers (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/desktop_capture/screen_capturer_integration_test.cc
diff --git a/webrtc/modules/desktop_capture/screen_capturer_integration_test.cc b/webrtc/modules/desktop_capture/screen_capturer_integration_test.cc
index 30002e992544173cd16716856004b496176512cf..b6821c2c42677592cceeb4230d1949a7f00db9b1 100644
--- a/webrtc/modules/desktop_capture/screen_capturer_integration_test.cc
+++ b/webrtc/modules/desktop_capture/screen_capturer_integration_test.cc
@@ -284,22 +284,28 @@ class ScreenCapturerIntegrationTest : public testing::Test {
}
};
-TEST_F(ScreenCapturerIntegrationTest, CaptureUpdatedRegion) {
-#if !defined(WEBRTC_WIN)
- // ScreenCapturerWinGdi randomly returns blank screen, the root cause is still
- // unknown. Bug, https://bugs.chromium.org/p/webrtc/issues/detail?id=6843.
- TestCaptureUpdatedRegion();
+#if defined(WEBRTC_WIN)
+// ScreenCapturerWinGdi randomly returns blank screen, the root cause is still
+// unknown. Bug, https://bugs.chromium.org/p/webrtc/issues/detail?id=6843.
+#define MAYBE_CaptureUpdatedRegion MANUAL_CaptureUpdatedRegion
Sergey Ulanov 2016/12/09 23:18:01 s/DISABLE_/MANUAL_/
Hzj_jie 2016/12/09 23:33:19 There is a mail thread between Henrik and me, we w
kjellander_webrtc 2016/12/12 07:30:31 It turns out I misunderstood that MANUAL_ was a pa
+#else
+#define MAYBE_CaptureUpdatedRegion CaptureUpdatedRegion
#endif
+TEST_F(ScreenCapturerIntegrationTest, MAYBE_CaptureUpdatedRegion) {
+ TestCaptureUpdatedRegion();
}
-TEST_F(ScreenCapturerIntegrationTest, TwoCapturers) {
-#if !defined(WEBRTC_WIN)
- // ScreenCapturerWinGdi randomly returns blank screen, the root cause is still
- // unknown. Bug, https://bugs.chromium.org/p/webrtc/issues/detail?id=6843.
+#if defined(WEBRTC_WIN)
+// ScreenCapturerWinGdi randomly returns blank screen, the root cause is still
+// unknown. Bug, https://bugs.chromium.org/p/webrtc/issues/detail?id=6843.
+#define MAYBE_TwoCapturers MANUAL_TwoCapturers
+#else
+#define MAYBE_TwoCapturers TwoCapturers
+#endif
+TEST_F(ScreenCapturerIntegrationTest, MAYBE_TwoCapturers) {
std::unique_ptr<DesktopCapturer> capturer2 = std::move(capturer_);
SetUp();
TestCaptureUpdatedRegion({capturer_.get(), capturer2.get()});
-#endif
}
#if defined(WEBRTC_WIN)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698