/external/chromium_org/net/websockets/ |
websocket_frame_test.cc | 37 static const TestCase kTests[] = { 46 static const int kNumTests = ARRAYSIZE_UNSAFE(kTests); 51 header.payload_length = kTests[i].frame_length; 54 kTests[i].frame_header, 55 kTests[i].frame_header + kTests[i].frame_header_length); 75 static const TestCase kTests[] = { 85 static const int kNumTests = ARRAYSIZE_UNSAFE(kTests); 96 header.payload_length = kTests[i].frame_length; 99 kTests[i].frame_header [all...] |
websocket_frame_parser_test.cc | 425 static const TestCase kTests[] = { 435 static const int kNumTests = ARRAYSIZE_UNSAFE(kTests); 438 const char* frame_header = kTests[i].frame_header; 439 size_t frame_header_length = kTests[i].frame_header_length; 463 static const TestCase kTests[] = { 483 static const int kNumTests = ARRAYSIZE_UNSAFE(kTests); 486 const char* frame_header = kTests[i].frame_header; 487 size_t frame_header_length = kTests[i].frame_header_length; 488 WebSocketFrameHeader::OpCode opcode = kTests[i].opcode; 527 static const TestCase kTests[] = [all...] |
/external/chromium_org/chrome/common/extensions/ |
command_unittest.cc | 61 } kTests[] = { 121 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTests); ++i) { 124 input->SetString("suggested_key", kTests[i].key); 125 input->SetString("description", kTests[i].description); 127 SCOPED_TRACE(std::string("Command name: |") + kTests[i].command_name + 128 "| key: |" + kTests[i].key + 129 "| description: |" + kTests[i].description + 135 command.Parse(input.get(), kTests[i].command_name, i, &error); 137 EXPECT_EQ(kTests[i].expected_result, result); 139 EXPECT_STREQ(kTests[i].description [all...] |
/external/chromium/net/http/ |
http_stream_factory_impl_unittest.cc | 96 TestCase kTests[] = { 215 for (size_t i = 0; i < arraysize(kTests); ++i) { 229 PreconnectHelper(kTests[i], session); 230 if (kTests[i].ssl) 231 EXPECT_EQ(kTests[i].num_streams, ssl_conn_pool->last_num_streams()); 233 EXPECT_EQ(kTests[i].num_streams, transport_conn_pool->last_num_streams()); 238 for (size_t i = 0; i < arraysize(kTests); ++i) { 253 PreconnectHelper(kTests[i], session); 254 if (kTests[i].ssl) 255 EXPECT_EQ(kTests[i].num_streams, ssl_conn_pool->last_num_streams()) [all...] |
/external/chromium_org/chrome/browser/chromeos/ |
keyboard_driven_event_rewriter_unittest.cc | 81 } kTests[] = { 117 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTests); ++i) { 118 EXPECT_EQ(GetExpectedResultAsString(kTests[i].ui_flags, 119 kTests[i].x_state, 121 GetRewrittenEventAsString(kTests[i].ui_keycode, 122 kTests[i].ui_flags, 124 kTests[i].x_keycode, 125 kTests[i].x_state)) 139 } kTests[] = { 148 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTests); ++i) [all...] |
/external/chromium_org/chrome/browser/spellchecker/ |
spelling_service_client_unittest.cc | 229 } kTests[] = { 307 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTests); ++i) { 308 client_.SetHTTPRequest(kTests[i].request_type, kTests[i].request_text, 309 kTests[i].language); 310 client_.SetHTTPResponse(kTests[i].response_status, kTests[i].response_data); 311 client_.SetExpectedTextCheckResult(kTests[i].success, 312 kTests[i].corrected_text); 313 pref->SetString(prefs::kSpellCheckDictionary, kTests[i].language) [all...] |
/external/ceres-solver/internal/ceres/ |
numeric_diff_test_utils.cc | 108 } kTests[] = { 129 for (int k = 0; k < CERES_ARRAYSIZE(kTests); ++k) { 130 double *x1 = &(kTests[k].x1[0]); 131 double *x2 = &(kTests[k].x2[0]);
|
runtime_numeric_diff_cost_function_test.cc | 168 } kTests[] = { 188 for (int k = 0; k < CERES_ARRAYSIZE(kTests); ++k) { 189 double *x1 = &(kTests[k].x1[0]); 190 double *x2 = &(kTests[k].x2[0]);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
stringencode_unittest.cc | 40 } kTests[] = { 54 for (size_t i = 0; kTests[i].encoded; ++i) { 56 ASSERT_EQ(kTests[i].enclen, utf8_decode(kTests[i].encoded, 57 kTests[i].encsize, 59 unsigned long result = (kTests[i].enclen == 0) ? 0 : kTests[i].decoded; 62 if (kTests[i].decoded == 0) { 69 ASSERT_EQ(kTests[i].enclen, utf8_encode(buffer, 70 kTests[i].encsize [all...] |
/external/chromium_org/net/http/ |
http_stream_factory_impl_unittest.cc | 300 TestCase kTests[] = { 450 for (size_t i = 0; i < arraysize(kTests); ++i) { 470 PreconnectHelper(kTests[i], session.get()); 471 if (kTests[i].ssl) 472 EXPECT_EQ(kTests[i].num_streams, ssl_conn_pool->last_num_streams()); 474 EXPECT_EQ(kTests[i].num_streams, transport_conn_pool->last_num_streams()); 479 for (size_t i = 0; i < arraysize(kTests); ++i) { 500 PreconnectHelper(kTests[i], session.get()); 501 if (kTests[i].ssl) 502 EXPECT_EQ(kTests[i].num_streams, ssl_conn_pool->last_num_streams()) [all...] |
/external/chromium_org/content/renderer/webcrypto/ |
webcrypto_impl_unittest.cc | 286 const TestCase kTests[] = { 340 for (size_t test_index = 0; test_index < ARRAYSIZE_UNSAFE(kTests); 343 const TestCase& test = kTests[test_index]; 363 const TestCase kTests[] = { 443 for (size_t test_index = 0; test_index < ARRAYSIZE_UNSAFE(kTests); 446 const TestCase& test = kTests[test_index]; 581 TestCase kTests[] = { 651 for (size_t index = 0; index < ARRAYSIZE_UNSAFE(kTests); index++) { 653 const TestCase& test = kTests[index]; [all...] |
/external/chromium/chrome/common/extensions/ |
extension_unittest.cc | [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_unittest_context.cc | 248 static const TestCase kTests[] = { 311 if (test_case_ >= arraysize(kTests)) 319 kTests[test_case_].times_to_lose_during_commit; 321 kTests[test_case_].times_to_lose_during_draw; 322 times_to_fail_recreate_ = kTests[test_case_].times_to_fail_recreate; 324 kTests[test_case_].times_to_fail_recreate_offscreen; 325 fallback_context_works_ = kTests[test_case_].fallback_context_works; [all...] |
/external/chromium_org/chrome/common/extensions/api/ |
extension_api_unittest.cc | [all...] |
/external/chromium_org/chrome/common/extensions/permissions/ |
permission_set_unittest.cc | 588 } kTests[] = { 625 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTests); ++i) { 628 std::string(kTests[i].base_name) + "_old.json")); 631 std::string(kTests[i].base_name) + "_new.json")); 633 EXPECT_TRUE(new_extension.get()) << kTests[i].base_name << "_new.json"; 645 EXPECT_EQ(kTests[i].expect_increase, increased) << kTests[i].base_name; [all...] |
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
web_request_api_unittest.cc | [all...] |