| OLD | NEW |
| 1 // Copyright (c) 2011 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 #ifndef CHROME_TEST_RELIABILITY_AUTOMATED_UI_TESTS_H_ | 5 #ifndef CHROME_TEST_RELIABILITY_AUTOMATED_UI_TESTS_H_ |
| 6 #define CHROME_TEST_RELIABILITY_AUTOMATED_UI_TESTS_H_ | 6 #define CHROME_TEST_RELIABILITY_AUTOMATED_UI_TESTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // This takes an input file of commands, which consist of a series of | 9 // This takes an input file of commands, which consist of a series of |
| 10 // actions, and runs every command, reporting the status of each one | 10 // actions, and runs every command, reporting the status of each one |
| 11 // to an output file once all the commands have been run. | 11 // to an output file once all the commands have been run. |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 // help debug the tests if they are crashing before they get a chance | 98 // help debug the tests if they are crashing before they get a chance |
| 99 // to write their results to file. | 99 // to write their results to file. |
| 100 // | 100 // |
| 101 // --wait-after-action : waits the specified amount of time (1s by default) | 101 // --wait-after-action : waits the specified amount of time (1s by default) |
| 102 // after each action. Useful for debugging. | 102 // after each action. Useful for debugging. |
| 103 | 103 |
| 104 #include <string> | 104 #include <string> |
| 105 | 105 |
| 106 #include "chrome/test/reliability/automated_ui_test_base.h" | 106 #include "chrome/test/reliability/automated_ui_test_base.h" |
| 107 #include "chrome/test/ui/ui_test.h" | 107 #include "chrome/test/ui/ui_test.h" |
| 108 #include "libxml/libxml_utils.h" |
| 108 #include "ui/base/keycodes/keyboard_codes.h" | 109 #include "ui/base/keycodes/keyboard_codes.h" |
| 109 | 110 |
| 110 namespace base { | 111 namespace base { |
| 111 class Time; | 112 class Time; |
| 112 } | 113 } |
| 113 | 114 |
| 114 class AutomatedUITest : public AutomatedUITestBase { | 115 class AutomatedUITest : public AutomatedUITestBase { |
| 115 protected: | 116 protected: |
| 116 AutomatedUITest(); | 117 AutomatedUITest(); |
| 117 virtual ~AutomatedUITest(); | 118 virtual ~AutomatedUITest(); |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 // results. | 391 // results. |
| 391 bool debug_logging_enabled_; | 392 bool debug_logging_enabled_; |
| 392 | 393 |
| 393 // A delay in second we wait for after each action. Useful for debugging. | 394 // A delay in second we wait for after each action. Useful for debugging. |
| 394 int post_action_delay_; | 395 int post_action_delay_; |
| 395 | 396 |
| 396 DISALLOW_COPY_AND_ASSIGN(AutomatedUITest); | 397 DISALLOW_COPY_AND_ASSIGN(AutomatedUITest); |
| 397 }; | 398 }; |
| 398 | 399 |
| 399 #endif // CHROME_TEST_RELIABILITY_AUTOMATED_UI_TESTS_H_ | 400 #endif // CHROME_TEST_RELIABILITY_AUTOMATED_UI_TESTS_H_ |
| OLD | NEW |