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"
154
Expectation
::
Expectation
()
159
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/third_party/skia/tools/
image_expectations.h
18
* The digest of an image (either an image we have generated locally, or an image
expectation
).
93
* This is just an ImageDigest (or lack thereof, if there is no
expectation
) and a boolean
96
class
Expectation
{
99
* No
expectation
at all.
101
explicit
Expectation
(bool ignoreFailure=kDefaultIgnoreFailure);
106
explicit
Expectation
(const SkString &hashType, uint64_t hashValue,
112
explicit
Expectation
(const SkBitmap& bitmap,
130
* If this
expectation
DOES contain an image, and imageDigest doesn't match it,
195
* Returns the
Expectation
for this test.
203
Expectation
getExpectation(const char *sourceName, const int *tileNumber=NULL)
[
all
...]
image_expectations.cpp
99
//
Expectation
class...
105
Expectation
::
Expectation
(bool ignoreFailure) :
108
Expectation
::
Expectation
(const SkString &hashType, uint64_t hashValue, bool ignoreFailure) :
111
Expectation
::
Expectation
(const SkBitmap& bitmap, bool ignoreFailure) :
114
bool
Expectation
::ignoreFailure() const { return this->fIgnoreFailure; }
116
bool
Expectation
::empty() const { return this->fIsEmpty; }
118
bool
Expectation
::matches(ImageDigest &imageDigest)
167
Expectation
expectation
= this->getExpectation(sourceName, tileNumber);
local
[
all
...]
/external/chromium_org/components/component_updater/test/
url_request_post_interceptor.h
69
// the
expectation
is met. If no |file_path| is provided, then an empty
72
// Returns |true| if the
expectation
was set. This class takes ownership of
80
// an
expectation
. One
expectation
can only be matched by one request.
108
typedef std::pair<const RequestMatcher*, ExpectationResponse>
Expectation
;
123
mutable std::queue<
Expectation
> expectations_;
Completed in 139 milliseconds