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

Side by Side Diff: chrome/browser/devtools/devtools_sanity_browsertest.cc

Issue 2106233003: DevToolsPixelOutputTests.TestLatencyInfoInstrumentation fails often. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
1298 #else 1298 #else
1299 #define MAYBE_TestScreenshotRecording TestScreenshotRecording 1299 #define MAYBE_TestScreenshotRecording TestScreenshotRecording
1300 #endif 1300 #endif
1301 IN_PROC_BROWSER_TEST_F(DevToolsPixelOutputTests, 1301 IN_PROC_BROWSER_TEST_F(DevToolsPixelOutputTests,
1302 MAYBE_TestScreenshotRecording) { 1302 MAYBE_TestScreenshotRecording) {
1303 RunTest("testScreenshotRecording", std::string()); 1303 RunTest("testScreenshotRecording", std::string());
1304 } 1304 }
1305 1305
1306 // This test enables switches::kUseGpuInTests which causes false positives 1306 // This test enables switches::kUseGpuInTests which causes false positives
1307 // with MemorySanitizer. 1307 // with MemorySanitizer.
1308 #if defined(MEMORY_SANITIZER) || defined(ADDRESS_SANITIZER) 1308 #if defined(MEMORY_SANITIZER) || defined(ADDRESS_SANITIZER) || defined(OS_WIN)
1309 #define MAYBE_TestLatencyInfoInstrumentation \ 1309 #define MAYBE_TestLatencyInfoInstrumentation \
1310 DISABLED_TestLatencyInfoInstrumentation 1310 DISABLED_TestLatencyInfoInstrumentation
1311 #else 1311 #else
1312 #define MAYBE_TestLatencyInfoInstrumentation TestLatencyInfoInstrumentation 1312 #define MAYBE_TestLatencyInfoInstrumentation TestLatencyInfoInstrumentation
1313 #endif 1313 #endif
1314 IN_PROC_BROWSER_TEST_F(DevToolsPixelOutputTests, 1314 IN_PROC_BROWSER_TEST_F(DevToolsPixelOutputTests,
1315 MAYBE_TestLatencyInfoInstrumentation) { 1315 MAYBE_TestLatencyInfoInstrumentation) {
1316 WebContents* web_contents = GetInspectedTab(); 1316 WebContents* web_contents = GetInspectedTab();
1317 OpenDevToolsWindow(kLatencyInfoTestPage, false); 1317 OpenDevToolsWindow(kLatencyInfoTestPage, false);
1318 DispatchAndWait("startTimeline"); 1318 DispatchAndWait("startTimeline");
(...skipping 14 matching lines...) Expand all
1333 1333
1334 SimulateTapAt(web_contents, gfx::Point(30, 60)); 1334 SimulateTapAt(web_contents, gfx::Point(30, 60));
1335 DispatchInPageAndWait("waitForEvent", "gesturetap"); 1335 DispatchInPageAndWait("waitForEvent", "gesturetap");
1336 1336
1337 DispatchAndWait("stopTimeline"); 1337 DispatchAndWait("stopTimeline");
1338 RunTestMethod("checkInputEventsPresent", "MouseMove", "MouseDown", 1338 RunTestMethod("checkInputEventsPresent", "MouseMove", "MouseDown",
1339 "MouseWheel", "GestureTap"); 1339 "MouseWheel", "GestureTap");
1340 1340
1341 CloseDevToolsWindow(); 1341 CloseDevToolsWindow();
1342 } 1342 }
OLDNEW
« 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