HomeSort by relevance Sort by last modified time
    Searched refs:Expectations (Results 1 - 20 of 20) sorted by null

  /external/skia/dm/
DMExpectationsTask.h 11 // ExpectationsTask compares an SkBitmap against some Expectations.
15 ExpectationsTask(const Task& parent, const Expectations&, SkBitmap);
23 const Expectations& fExpectations;
DMExpectations.h 9 struct Expectations {
10 virtual ~Expectations() {}
16 class NoExpectations : public Expectations {
22 class JsonExpectations : public Expectations {
29 const skiagm::Expectations expectations = fGMExpectations.get(filename.c_str()); variable
31 if (expectations.ignoreFailure() || expectations.empty()) {
37 return expectations.match(digest);
DMWriteTask.h 30 class Expectations : public DM::Expectations {
32 explicit Expectations(const char* root) : fRoot(root) {}
DMCpuGMTask.h 24 const Expectations&,
35 const Expectations& fExpectations;
DMGpuGMTask.h 24 const Expectations&,
35 const Expectations& fExpectations;
DMExpectationsTask.cpp 7 const Expectations& expectations,
11 , fExpectations(expectations)
DMGpuGMTask.cpp 16 const Expectations& expectations,
22 , fExpectations(expectations)
DMCpuGMTask.cpp 17 const Expectations& expectations,
23 , fExpectations(expectations)
DM.cpp 42 DEFINE_string2(expectations, r, "",
44 "If a file, compare generated images against JSON expectations at this path."
98 const DM::Expectations& expectations,
107 START("565", CpuGMTask, expectations, kRGB_565_SkColorType);
108 START("8888", CpuGMTask, expectations, kN32_SkColorType);
109 START("gpu", GpuGMTask, expectations, native, 0);
110 START("msaa4", GpuGMTask, expectations, native, 4);
111 START("msaa16", GpuGMTask, expectations, native, 16);
112 START("nvprmsaa4", GpuGMTask, expectations, nvpr, 4)
    [all...]
DMWriteTask.cpp 180 bool WriteTask::Expectations::check(const Task& task, SkBitmap bitmap) const {
  /external/chromium_org/third_party/skia/gm/
gm_expectations.h 45 * checksum within JSON expectations file, in the form
95 * Test expectations (allowed image results, etc.)
97 class Expectations {
100 * No expectations at all.
102 explicit Expectations(bool ignoreFailure=kDefaultIgnoreFailure);
108 explicit Expectations(const SkBitmap& bitmap, bool ignoreFailure=kDefaultIgnoreFailure);
113 explicit Expectations(const BitmapAndDigest& bitmapAndDigest);
116 * Create Expectations from a JSON element as found within the
120 * don't have any expectations.
122 explicit Expectations(Json::Value jsonElement)
    [all...]
gm_expectations.cpp 119 // Expectations class...
121 Expectations::Expectations(bool ignoreFailure) {
125 Expectations::Expectations(const SkBitmap& bitmap, bool ignoreFailure) {
131 Expectations::Expectations(const BitmapAndDigest& bitmapAndDigest) {
137 Expectations::Expectations(Json::Value jsonElement) {
170 bool Expectations::match(GmResultDigest actualGmResultDigest) const
    [all...]
gmmain.cpp 786 * Compares actual hash digest to expectations, returning the set of errors
793 * @param expectations what expectations to compare actualBitmap against
805 ErrorCombination compare_to_expectations(Expectations expectations,
818 if (expectations.empty()) {
821 // Write out the "actuals" for any tests without expectations, if we have
830 } else if (!expectations.match(actualBitmapAndDigest.fDigest)) {
962 Expectations expectations = expectationsSource->get(nameWithExtension.c_str()); local
    [all...]
  /external/skia/gm/
gm_expectations.h 45 * checksum within JSON expectations file, in the form
95 * Test expectations (allowed image results, etc.)
97 class Expectations {
100 * No expectations at all.
102 explicit Expectations(bool ignoreFailure=kDefaultIgnoreFailure);
108 explicit Expectations(const SkBitmap& bitmap, bool ignoreFailure=kDefaultIgnoreFailure);
113 explicit Expectations(const BitmapAndDigest& bitmapAndDigest);
116 * Create Expectations from a JSON element as found within the
120 * don't have any expectations.
122 explicit Expectations(Json::Value jsonElement)
    [all...]
gm_expectations.cpp 119 // Expectations class...
121 Expectations::Expectations(bool ignoreFailure) {
125 Expectations::Expectations(const SkBitmap& bitmap, bool ignoreFailure) {
131 Expectations::Expectations(const BitmapAndDigest& bitmapAndDigest) {
137 Expectations::Expectations(Json::Value jsonElement) {
170 bool Expectations::match(GmResultDigest actualGmResultDigest) const
    [all...]
gmmain.cpp 785 * Compares actual hash digest to expectations, returning the set of errors
792 * @param expectations what expectations to compare actualBitmap against
804 ErrorCombination compare_to_expectations(Expectations expectations,
817 if (expectations.empty()) {
820 // Write out the "actuals" for any tests without expectations, if we have
829 } else if (!expectations.match(actualBitmapAndDigest.fDigest)) {
961 Expectations expectations = expectationsSource->get(nameWithExtension.c_str()); local
    [all...]
  /external/chromium_org/v8/test/cctest/
test-decls.cc 38 enum Expectations {
65 Expectations expectations,
143 Expectations expectations,
154 if (expectations == EXPECT_ERROR) {
163 if (expectations == EXPECT_RESULT) {
169 CHECK(expectations == EXPECT_EXCEPTION);
575 Expectations expectations,
    [all...]
  /external/chromium_org/third_party/skia/tools/
skimage_main.cpp 26 DEFINE_string(createExpectationsPath, "", "Path to write JSON expectations.");
29 DEFINE_string(readExpectationsPath, "", "Path to read JSON expectations from.");
112 // Files/subsets that do not have expectations. Not reported as a failure of the test so
122 // Expections read from a file specified by readExpectationsPath. The expectations must have been
232 // Stored expectations to be written to a file if createExpectationsPath is specified.
236 * If expectations are to be recorded, record the bitmap expectations into the global
237 * expectations array.
238 * As is the case with reading expectations, the key used will combine the filename
246 // Creates an Expectations object, and add it to the list to write
    [all...]
  /external/skia/tools/
skimage_main.cpp 26 DEFINE_string(createExpectationsPath, "", "Path to write JSON expectations.");
29 DEFINE_string(readExpectationsPath, "", "Path to read JSON expectations from.");
112 // Files/subsets that do not have expectations. Not reported as a failure of the test so
122 // Expections read from a file specified by readExpectationsPath. The expectations must have been
232 // Stored expectations to be written to a file if createExpectationsPath is specified.
236 * If expectations are to be recorded, record the bitmap expectations into the global
237 * expectations array.
238 * As is the case with reading expectations, the key used will combine the filename
246 // Creates an Expectations object, and add it to the list to write
    [all...]
  /external/chromium_org/chrome/installer/util/
google_update_settings_unittest.cc 94 static struct Expectations {
97 } expectations[] = { local
118 for (size_t j = 0; j < arraysize(expectations); ++j) {
121 ap += expectations[j].ap_value;
123 const wchar_t* channel = expectations[j].channel;
    [all...]

Completed in 363 milliseconds