OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef BASE_TEST_EXPECTATIONS_EXPECTATION_H_ | 5 #ifndef BASE_TEST_EXPECTATIONS_EXPECTATION_H_ |
6 #define BASE_TEST_EXPECTATIONS_EXPECTATION_H_ | 6 #define BASE_TEST_EXPECTATIONS_EXPECTATION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/base_export.h" | 11 #include "base/base_export.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/string_piece.h" | 13 #include "base/strings/string_piece.h" |
14 | 14 |
15 namespace test_expectations { | 15 namespace test_expectations { |
16 | 16 |
17 // A Result is the expectation of a test's behavior. | 17 // A Result is the expectation of a test's behavior. |
18 enum Result { | 18 enum Result { |
19 // The test has a failing assertion. | 19 // The test has a failing assertion. |
20 RESULT_FAILURE, | 20 RESULT_FAILURE, |
21 | 21 |
22 // The test does not complete within the test runner's alloted duration. | 22 // The test does not complete within the test runner's alloted duration. |
23 RESULT_TIMEOUT, | 23 RESULT_TIMEOUT, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // The build configuration. | 85 // The build configuration. |
86 Configuration configuration; | 86 Configuration configuration; |
87 | 87 |
88 // The expected result of this test. | 88 // The expected result of this test. |
89 Result result; | 89 Result result; |
90 }; | 90 }; |
91 | 91 |
92 } // namespace test_expectations | 92 } // namespace test_expectations |
93 | 93 |
94 #endif // BASE_TEST_EXPECTATIONS_EXPECTATION_H_ | 94 #endif // BASE_TEST_EXPECTATIONS_EXPECTATION_H_ |
OLD | NEW |