Searched defs:expectations (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/content/test/gpu/gpu_tests/
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_expectations.py5 from telemetry.page import test_expectations as expectations namespace
21 class HardwareAcceleratedFeatureExpectations(expectations.TestExpectations):
H A Dscreenshot_sync_expectations.py5 from telemetry.page import test_expectations as expectations namespace
21 class ScreenshotSyncExpectations(expectations.TestExpectations):
H A Dgpu_process.py4 import gpu_process_expectations as expectations namespace
41 return expectations.GpuProcessExpectations()
H A Dhardware_accelerated_feature.py4 import hardware_accelerated_feature_expectations as expectations namespace
53 return expectations.HardwareAcceleratedFeatureExpectations()
H A Dscreenshot_sync.py6 import screenshot_sync_expectations as expectations namespace
52 return expectations.ScreenshotSyncExpectations()
/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/skia/dm/
H A DDMExpectationsTask.cpp7 const Expectations& expectations,
11 , fExpectations(expectations)
6 ExpectationsTask(const Task& parent, const Expectations& expectations, SkBitmap bitmap) argument
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 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
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...]
/external/chromium_org/chrome/browser/extensions/
H A Dstartup_helper_browsertest.cc33 std::vector<std::pair<base::FilePath, bool> > expectations; local
34 expectations.push_back(
36 expectations.push_back(
38 expectations.push_back(
40 expectations.push_back(
44 expectations.begin();
45 i != expectations.end(); ++i) {
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dtextinput_browsertest.cc244 InputTypeExpectation expectations[] = { local
256 for (size_t i = 0; i < arraysize(expectations); ++i) {
259 helper.WaitForTextInputStateChanged(expectations[i].type);
260 EXPECT_EQ(expectations[i].type, helper.GetTextInputType());
263 for (size_t i = 0; i < arraysize(expectations); ++i) {
264 helper.ClickElement(expectations[i].node_id, tab);
266 helper.WaitForTextInputStateChanged(expectations[i].type);
267 EXPECT_EQ(expectations[i].type, helper.GetTextInputType());
/external/chromium_org/base/mac/
H A Dlibdispatch_task_runner_unittest.cc31 // VerifyTaskOrder takes the expectations from TaskOrderMarkers and compares
33 void VerifyTaskOrder(const char* const expectations[], argument
39 EXPECT_LE(i, actual_size) << "Expected " << expectations[i];
43 EXPECT_EQ(expectations[i], task_order_[i]);
94 const char* const expectations[] = { local
98 VerifyTaskOrder(expectations, arraysize(expectations));
108 const char* const expectations[] = { local
114 VerifyTaskOrder(expectations, arraysize(expectations));
124 const char* const expectations[] = { local
142 const char* const expectations[] = { local
167 const char* const expectations[] = { local
193 const char* const expectations[] = { local
217 const char* const expectations[] = { 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/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/chrome/browser/autocomplete/
H A Dbookmark_provider_unittest.cc150 // test expectations structure easier.
178 // Convience function to make comparing test expectations structure against the
181 const size_t expectations[9][2]) {
185 while (expectations[i][1]) {
187 TestBookmarkPosition(expectations[i][0], expectations[i][1]));
180 PositionsFromExpectations( const size_t expectations[9][2]) argument
/external/chromium_org/v8/test/cctest/
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...]
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
/external/chromium_org/chrome/installer/util/
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...]
/external/chromium_org/components/autofill/core/browser/
H A Dpersonal_data_manager_unittest.cc75 void ExpectSameElements(const std::vector<T*>& expectations, argument
77 ASSERT_EQ(expectations.size(), results.size());
79 std::vector<T*> expectations_copy = expectations;
2640 // These GUIDs are alphabetical to make validating expectations easier.
/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/chrome/browser/password_manager/
H A Dpassword_store_mac_unittest.cc219 #define CHECK_FORMS(forms, expectations, i) \
220 CheckFormsAgainstExpectations(forms, expectations, #forms, i)
222 // Ensures that the data in |forms| match |expectations|, causing test failures
225 // matter if |forms| and |expectations| are scrambled.
228 const std::vector<PasswordFormData*>& expectations,
234 EXPECT_EQ(expectations.size(), forms.size()) << test_label;
235 if (expectations.size() != forms.size())
238 for (unsigned int i = 0; i < expectations.size(); ++i) {
242 PasswordFormData* expectation = expectations[i];
226 CheckFormsAgainstExpectations( const std::vector<PasswordForm*>& forms, const std::vector<PasswordFormData*>& expectations, const char* forms_label, unsigned int test_number) argument

Completed in 543 milliseconds

12