Searched defs:expectations (Results 1 - 25 of 32) sorted by last modified time

12

/external/skia/tests/
H A DFrontBufferedStreamTest.cpp15 const void* expectations, size_t bytesToRead) {
21 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0);
14 test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, const void* expectations, size_t bytesToRead) argument
/external/skia/dm/
H A DDM.cpp42 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);
113 START("nvprmsaa16", GpuGMTask, expectations, nvp
96 kick_off_gms(const SkTDArray<GMRegistry::Factory>& gms, const SkTArray<SkString>& configs, const DM::Expectations& expectations, DM::Reporter* reporter, DM::TaskRunner* tasks) argument
[all...]
H A DDMCpuGMTask.cpp17 const Expectations& expectations,
23 , fExpectations(expectations)
13 CpuGMTask(const char* config, Reporter* reporter, TaskRunner* taskRunner, skiagm::GMRegistry::Factory gmFactory, const Expectations& expectations, SkColorType colorType) argument
H A DDMExpectations.h29 const skiagm::Expectations expectations = fGMExpectations.get(filename.c_str()); variable
31 if (expectations.ignoreFailure() || expectations.empty()) {
37 return expectations.match(digest);
H A DDMExpectationsTask.cpp7 const Expectations& expectations,
11 , fExpectations(expectations)
6 ExpectationsTask(const Task& parent, const Expectations& expectations, SkBitmap bitmap) argument
H A DDMGpuGMTask.cpp16 const Expectations& expectations,
22 , fExpectations(expectations)
12 GpuGMTask(const char* config, Reporter* reporter, TaskRunner* taskRunner, skiagm::GMRegistry::Factory gmFactory, const Expectations& expectations, GrContextFactory::GLContextType contextType, int sampleCount) argument
/external/skia/gm/
H A Dgmmain.cpp785 * 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, argument
817 if (expectations.empty()) {
820 // Write out the "actuals" for any tests without expectations, if we have
829 } else if (!expectations.match(actualBitmapAndDigest.fDigest)) {
850 const SkBitmap *expectedBitmapPtr = expectations.asBitmap();
859 expectations.ignoreFailure());
860 add_expected_results_to_json_summary(completeName, expectations);
910 add_expected_results_to_json_summary(const char testName[], Expectations expectations) argument
961 Expectations expectations = expectationsSource->get(nameWithExtension.c_str()); local
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/chromium_org/v8/test/cctest/
H A Dtest-decls.cc65 Expectations expectations,
143 Expectations expectations,
154 if (expectations == EXPECT_ERROR) {
163 if (expectations == EXPECT_RESULT) {
169 CHECK(expectations == EXPECT_EXCEPTION);
575 Expectations expectations,
582 if (expectations == EXPECT_ERROR) {
588 if (expectations == EXPECT_RESULT) {
594 CHECK(expectations == EXPECT_EXCEPTION);
141 Check(const char* source, int get, int set, int query, Expectations expectations, v8::Handle<Value> value) argument
574 Check(const char* source, Expectations expectations, v8::Handle<Value> value = Local<Value>()) argument
H A Dtest-object-observe.cc230 const RecordExpectation expectations[],
239 CHECK(expectations[i].object->StrictEquals(
241 CHECK(String::NewFromUtf8(isolate, expectations[i].type)->Equals(
243 if (strcmp("splice", expectations[i].type) != 0) {
244 CHECK(String::NewFromUtf8(isolate, expectations[i].name)->Equals(
246 if (!expectations[i].old_value.IsEmpty()) {
247 CHECK(expectations[i].old_value->Equals(
254 #define EXPECT_RECORDS(records, expectations) \
255 ExpectRecords(CcTest::isolate(), records, expectations, \
256 arraysize(expectations))
228 ExpectRecords(v8::Isolate* isolate, Handle<Value> records, const RecordExpectation expectations[], int num) argument
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dgmmain.cpp786 * 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, argument
818 if (expectations.empty()) {
821 // Write out the "actuals" for any tests without expectations, if we have
830 } else if (!expectations.match(actualBitmapAndDigest.fDigest)) {
851 const SkBitmap *expectedBitmapPtr = expectations.asBitmap();
860 expectations.ignoreFailure());
861 add_expected_results_to_json_summary(completeName, expectations);
911 add_expected_results_to_json_summary(const char testName[], Expectations expectations) argument
962 Expectations expectations = expectationsSource->get(nameWithExtension.c_str()); local
[all...]
/external/chromium_org/third_party/skia/tests/
H A DFrontBufferedStreamTest.cpp15 const void* expectations, size_t bytesToRead) {
21 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0);
14 test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, const void* expectations, size_t bytesToRead) argument
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/javatests/src/org/webrtc/
H A DPeerConnectionTest.java297 // Return a set of expectations that haven't been satisfied yet, possibly
298 // empty if no such expectations exist.
356 // - avoid serializing expectations explicitly; the test is not as robust
357 // as it could be because it must place expectations between wait
751 PeerConnection pc, ObserverExpectations expectations) {
752 expectations.dataChannel.unregisterObserver();
753 expectations.dataChannel.dispose();
754 expectations.expectStatsCallback();
755 assertTrue(pc.getStats(expectations, null));
756 expectations
750 shutdownPC( PeerConnection pc, ObserverExpectations expectations) argument
[all...]
/external/chromium_org/third_party/libaddressinput/chromium/
H A Dchrome_rule_test.cc24 } expectations[] = { local
48 const size_t num_cases = sizeof(expectations) / sizeof(expectations[0]);
50 const std::string input(base::WideToUTF8(expectations[i].input));
51 const std::string expected_output(base::WideToUTF8(expectations[i].output));
/external/chromium_org/third_party/ocmock/OCMock/
H A DOCMockObject.h13 NSMutableArray *expectations; variable
/external/chromium_org/ppapi/tests/
H A Dtest_file_io.cc1278 size_t expectations) {
1281 bool invalid_combination = !!(expectations & INVALID_FLAG_COMBINATION);
1283 if (expectations != INVALID_FLAG_COMBINATION)
1288 for (size_t remains = expectations, end = END_OF_OPEN_EXPECATION_PAIRS;
1294 bool create_if_doesnt_exist = !!(expectations & CREATE_IF_DOESNT_EXIST);
1295 bool open_if_exists = !!(expectations & OPEN_IF_EXISTS);
1296 bool truncate_if_exists = !!(expectations & TRUNCATE_IF_EXISTS);
1276 MatchOpenExpectations(pp::FileSystem* file_system, size_t open_flags, size_t expectations) argument
/external/chromium_org/media/filters/
H A Daudio_decoder_unittest.cc52 const DecodedBufferExpectations* expectations; member in struct:media::DecoderTestData
260 const DecodedBufferExpectations& sample_info = GetParam().expectations[i];
/external/chromium_org/content/test/gpu/gpu_tests/
H A Dgpu_process.py4 import gpu_process_expectations as expectations namespace
41 return expectations.GpuProcessExpectations()
H A Dgpu_process_expectations.py5 from telemetry.page import test_expectations as expectations namespace
21 class GpuProcessExpectations(expectations.TestExpectations):
H A Dhardware_accelerated_feature.py4 import hardware_accelerated_feature_expectations as expectations namespace
53 return expectations.HardwareAcceleratedFeatureExpectations()
H A Dhardware_accelerated_feature_expectations.py5 from telemetry.page import test_expectations as expectations namespace
21 class HardwareAcceleratedFeatureExpectations(expectations.TestExpectations):
H A Dscreenshot_sync.py6 import screenshot_sync_expectations as expectations namespace
52 return expectations.ScreenshotSyncExpectations()
H A Dscreenshot_sync_expectations.py5 from telemetry.page import test_expectations as expectations namespace
21 class ScreenshotSyncExpectations(expectations.TestExpectations):
/external/chromium_org/chrome/installer/util/
H A Dgoogle_update_settings_unittest.cc97 } 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;
H A Dinstallation_validator.cc31 SwitchExpectations* expectations) const {
42 SwitchExpectations* expectations) const {
50 expectations->push_back(
68 SwitchExpectations* expectations) const {
70 expectations->push_back(std::make_pair(std::string(switches::kChromeFrame),
73 expectations->push_back(std::make_pair(std::string(switches::kChrome),
79 SwitchExpectations* expectations) const {
81 expectations->push_back(std::make_pair(std::string(switches::kChromeFrame),
84 expectations->push_back(std::make_pair(std::string(switches::kChrome),
102 SwitchExpectations* expectations) cons
293 ValidateAppCommandExpectations( const ProductContext& ctx, const CommandExpectations& expectations, bool* is_valid) argument
340 CommandExpectations expectations; local
629 CommandExpectations expectations; local
[all...]

Completed in 337 milliseconds

12