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

Side by Side Diff: components/test_runner/test_runner.h

Issue 2439083003: Replace flaky test, wrangle with harness/infra
Patch Set: Created 4 years, 1 month 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 | components/test_runner/test_runner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 6 #define COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // This function sets a flag that tells the test_shell to dump pages as 343 // This function sets a flag that tells the test_shell to dump pages as
344 // plain text, rather than as a text representation of the renderer's state. 344 // plain text, rather than as a text representation of the renderer's state.
345 // The pixel results will not be generated for this test. 345 // The pixel results will not be generated for this test.
346 void DumpAsText(); 346 void DumpAsText();
347 347
348 // This function sets a flag that tells the test_shell to dump pages as 348 // This function sets a flag that tells the test_shell to dump pages as
349 // the DOM contents, rather than as a text representation of the renderer's 349 // the DOM contents, rather than as a text representation of the renderer's
350 // state. The pixel results will not be generated for this test. 350 // state. The pixel results will not be generated for this test.
351 void DumpAsMarkup(); 351 void DumpAsMarkup();
352 352
353 // This function sets a flag that tells the test_shell to generate a pixel
354 // dump for the test.
355 void DumpPixelResults();
356
353 // This function sets a flag that tells the test_shell to dump pages as 357 // This function sets a flag that tells the test_shell to dump pages as
354 // plain text, rather than as a text representation of the renderer's state. 358 // plain text, rather than as a text representation of the renderer's state.
355 // It will also generate a pixel dump for the test. 359 // It will also generate a pixel dump for the test.
356 void DumpAsTextWithPixelResults(); 360 void DumpAsTextWithPixelResults();
357 361
358 // This function sets a flag that tells the test_shell to print out the 362 // This function sets a flag that tells the test_shell to print out the
359 // scroll offsets of the child frames. It ignores all. 363 // scroll offsets of the child frames. It ignores all.
360 void DumpChildFrameScrollPositions(); 364 void DumpChildFrameScrollPositions();
361 365
362 // This function sets a flag that tells the test_shell to recursively 366 // This function sets a flag that tells the test_shell to recursively
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 blink::WebEffectiveConnectionType effective_connection_type_; 667 blink::WebEffectiveConnectionType effective_connection_type_;
664 668
665 base::WeakPtrFactory<TestRunner> weak_factory_; 669 base::WeakPtrFactory<TestRunner> weak_factory_;
666 670
667 DISALLOW_COPY_AND_ASSIGN(TestRunner); 671 DISALLOW_COPY_AND_ASSIGN(TestRunner);
668 }; 672 };
669 673
670 } // namespace test_runner 674 } // namespace test_runner
671 675
672 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_ 676 #endif // COMPONENTS_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698