OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Expectation
(Results
1 - 7
of
7
) sorted by null
/external/chromium_org/base/test/expectations/
expectation.cc
5
#include "base/test/expectations/
expectation
.h"
153
Expectation
::
Expectation
()
158
Expectation
::~
Expectation
() {}
expectation.h
17
// A Result is the
expectation
of a test's behavior.
31
// The test passes, used to override a more general
expectation
.
73
// An
Expectation
is records what the result for a given test name should be on
75
struct
Expectation
{
76
Expectation
();
77
~
Expectation
();
82
// The set of platforms for which this
expectation
is applicable.
/external/chromium_org/tools/telemetry/telemetry/page/
test_expectations.py
14
class
Expectation
(object):
15
def __init__(self,
expectation
, pattern, conditions=None, bug=None):
16
self.
expectation
=
expectation
.lower()
37
raise ValueError('Unknown
expectation
condition: "%s"' % c0)
47
raise ValueError('Unknown
expectation
condition: "%s"' % condition)
66
def _Expect(self,
expectation
, url_pattern, conditions=None, bug=None):
67
self.expectations.append(
Expectation
(
expectation
, url_pattern, conditions,
81
return e.
expectation
[
all
...]
/cts/libs/vogar-expect/src/vogar/
Expectation.java
38
public final class
Expectation
{
44
/** The
expectation
of a general successful run. */
45
public static final
Expectation
SUCCESS = new
Expectation
(Result.SUCCESS, MATCH_ALL_PATTERN,
48
/** Justification for this
expectation
*/
66
public
Expectation
(Result result, Pattern pattern, Set<String> tags, String description, long bug) {
96
* Set the current status of this
expectation
's bug. When a bug is open,
104
* Returns true if {@code outcome} matches this
expectation
.
115
return "
Expectation
[description=" + description + " pattern=" + pattern.pattern() + "]";
/external/chromium_org/chrome/browser/component_updater/test/
url_request_post_interceptor.h
46
// the
expectation
is met. If no |file_path| is provided, then an empty
48
// |request_matcher| object. Returns |true| if the
expectation
was set.
54
// an
expectation
. One
expectation
can only be matched by one request.
73
typedef std::pair<const RequestMatcher*, std::string>
Expectation
;
84
mutable std::queue<
Expectation
> expectations_;
/external/chromium_org/chrome/browser/extensions/api/desktop_capture/
desktop_capture_apitest.cc
71
struct
Expectation
{
81
void SetExpectations(const
Expectation
* expectation_array, int size) {
111
std::queue<
Expectation
> expectations_;
159
FakeDesktopMediaPickerFactory::
Expectation
picker_expectations[] = {
207
FakeDesktopMediaPickerFactory::
Expectation
picker_expectations[] = {
/external/chromium/testing/gmock/src/
gmock-spec-builders.cc
87
// Explicitly specifies the cardinality of this
expectation
. Used by
94
// Retires all pre-requisites of this
expectation
.
97
// We can take this short-cut as we never retire an
expectation
112
// Returns true iff all pre-requisites of this
expectation
have been
126
// Adds unsatisfied pre-requisites of this
expectation
to 'result'.
149
//
expectation
has occurred.
160
// Describes the state of the
expectation
(e.g. is it satisfied?
332
// No
expectation
is set on this mock method - we have an
406
// In case the action deletes a piece of the
expectation
, we
421
// No
expectation
matches this call - reports a failure
[
all
...]
Completed in 106 milliseconds