/external/chromium/chrome/common/ |
bzip2_unittest.cc | 35 ASSERT_EQ(BZ_OK, result); 44 ASSERT_EQ(BZ_STREAM_END, result); 46 ASSERT_EQ(BZ_OK, result); 54 ASSERT_EQ(BZ_OK, result); 66 ASSERT_EQ(result, BZ_STREAM_END); 68 ASSERT_EQ(result, BZ_OK);
|
web_apps_unittest.cc | 126 ASSERT_EQ(1u, web_app->icons.size()); 130 ASSERT_EQ(2u, web_app->urls.size()); 133 ASSERT_EQ(2u, web_app->permissions.size()); 177 ASSERT_EQ(result, data[i].expected_result); 179 ASSERT_EQ(data[i].is_any, is_any); 180 ASSERT_EQ(data[i].expected_size_count, sizes.size()); 182 ASSERT_EQ(data[i].width1, sizes[0].width()); 183 ASSERT_EQ(data[i].height1, sizes[0].height()); 186 ASSERT_EQ(data[i].width2, sizes[1].width()); 187 ASSERT_EQ(data[i].height2, sizes[1].height()) [all...] |
/external/webrtc/src/modules/audio_processing/main/test/process_test/ |
process_test.cc | 143 ASSERT_EQ(1, sscanf(argv[i], "%d", &sample_rate_hz)); 146 ASSERT_EQ(apm->kNoError, 152 ASSERT_EQ(1, sscanf(argv[i], "%d", &num_capture_input_channels)); 154 ASSERT_EQ(1, sscanf(argv[i], "%d", &num_capture_output_channels)); 156 ASSERT_EQ(apm->kNoError, 163 ASSERT_EQ(1, sscanf(argv[i], "%d", &num_render_channels)); 165 ASSERT_EQ(apm->kNoError, 169 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); 175 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); 178 ASSERT_EQ(apm->kNoError [all...] |
/external/chromium/chrome/browser/ |
browser_commands_unittest.cc | 33 ASSERT_EQ(0, browser()->active_index()); 37 ASSERT_EQ(1, browser()->active_index()); 41 ASSERT_EQ(0, browser()->active_index()); 45 ASSERT_EQ(2, browser()->active_index()); 66 ASSERT_EQ(initial_window_count, window_count); 69 ASSERT_EQ(2, browser()->tab_count()); 74 ASSERT_EQ(3, controller.entry_count()); 75 ASSERT_EQ(2, controller.GetCurrentEntryIndex()); 116 ASSERT_EQ(2, browser()->tab_count()); 147 ASSERT_EQ(3, browser()->tab_count()) [all...] |
/hardware/msm7k/libgralloc-qsd8k/tests/ |
pmemalloc_test.cpp | 131 ASSERT_EQ(0, result); 176 ASSERT_EQ(-ENOMEM, result); 202 ASSERT_EQ(-EACCES, result); 227 ASSERT_EQ(-EACCES, result); 240 ASSERT_EQ(0, result); 253 ASSERT_EQ(-EACCES, result); 266 ASSERT_EQ(0, result); 267 //XXX JMG: Add this back in maybe? ASSERT_EQ(1234, pmi.master); // Make sure the master fd wasn't changed 280 ASSERT_EQ(-EACCES, result); 331 ASSERT_EQ(0, result) [all...] |
/external/chromium/base/ |
string_split_unittest.cc | 40 ASSERT_EQ(1U, values.size()); 48 ASSERT_EQ(1U, values.size()); 73 ASSERT_EQ(1U, values.size()); 82 ASSERT_EQ(1U, values.size()); 104 ASSERT_EQ(2U, kv_pairs.size()); 116 ASSERT_EQ(2U, kv_pairs.size()); 128 ASSERT_EQ(2U, kv_pairs.size()); 138 ASSERT_EQ(1u, results.size()); 147 ASSERT_EQ(1U, r.size()); 152 ASSERT_EQ(3U, r.size()) [all...] |
/frameworks/base/libs/gui/tests/ |
Surface_test.cpp | 31 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); 40 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7fffffff)); 41 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 86 ASSERT_EQ(NO_ERROR, sf->captureScreen(0, &heap, &w, &h, &fmt, 64, 64, 0, 93 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 95 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); 103 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); 104 ASSERT_EQ(NO_ERROR, anw->dequeueBuffer(anw.get(), &buf)); 107 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf)); 111 ASSERT_EQ(NO_ERROR, anw->dequeueBuffer(anw.get(), &buf)) [all...] |
/external/chromium/chrome/browser/sessions/ |
session_restore_uitest.cc | 54 ASSERT_EQ(initial_count - 1, window_count); 60 ASSERT_EQ(1, window_count); 72 ASSERT_EQ(1, tab_count); 76 ASSERT_EQ(0, active_tab_index); 104 ASSERT_EQ(1, window_count); 111 ASSERT_EQ(url2_, GetActiveTabURL()); 112 ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, tab_proxy->GoBack()); 113 ASSERT_EQ(url1_, GetActiveTabURL()); 131 ASSERT_EQ(1, window_count); 172 ASSERT_EQ(1, window_count) [all...] |
tab_restore_service_browsertest.cc | 129 ASSERT_EQ(1U, service_->entries().size()); 133 ASSERT_EQ(TabRestoreService::TAB, entry->type); 137 ASSERT_EQ(3U, tab->navigations.size()); 151 ASSERT_EQ(2U, service_->entries().size()); 155 ASSERT_EQ(TabRestoreService::TAB, entry->type); 158 ASSERT_EQ(3U, tab->navigations.size()); 185 ASSERT_EQ(1U, service_->entries().size()); 189 ASSERT_EQ(TabRestoreService::TAB, entry->type); 192 ASSERT_EQ(3U, tab->navigations.size()); 209 ASSERT_EQ(1U, service_->entries().size()) [all...] |
/external/chromium/chrome/browser/sync/ |
profile_sync_service_session_unittest.cc | 174 ASSERT_EQ(model_associator_->GetSessionService(), helper_.service()); 190 ASSERT_EQ(machine_tag, specifics.session_tag()); 193 ASSERT_EQ(0, header_s.window_size()); 221 ASSERT_EQ(foreign_sessions.size(), 0U); 226 ASSERT_EQ(2U, tab_map.size()); 230 ASSERT_EQ(2, iter->second.tab()->controller().entry_count()); 231 ASSERT_EQ(GURL("http://foo/1"), iter->second.tab()->controller(). 233 ASSERT_EQ(GURL("http://foo/2"), iter->second.tab()->controller(). 236 ASSERT_EQ(2, iter->second.tab()->controller().entry_count()); 237 ASSERT_EQ(GURL("http://bar/1"), iter->second.tab()->controller() [all...] |
/external/chromium/chrome/browser/autofill/ |
autofill_field_unittest.cc | 15 ASSERT_EQ(NO_SERVER_DATA, field.server_type()); 16 ASSERT_EQ(UNKNOWN_TYPE, field.heuristic_type()); 36 ASSERT_EQ(string16(), field.value); 48 ASSERT_EQ(string16(), field.name); 49 ASSERT_EQ(string16(), field.form_control_type); 73 ASSERT_EQ(UNKNOWN_TYPE, field.type());
|
/external/chromium/chrome/browser/extensions/ |
extension_bookmarks_unittest.cc | 40 ASSERT_EQ(3U, children->GetSize()); 50 ASSERT_EQ(1U, children->GetSize()); 60 ASSERT_EQ(4U, children->GetSize()); 65 ASSERT_EQ("Digg", title); 75 ASSERT_EQ(2U, children->GetSize()); 80 ASSERT_EQ("inner folder 1", title);
|
/external/chromium/chrome/browser/policy/ |
policy_path_parser_unittest.cc | 19 ASSERT_EQ(var_result.find(var_name), FilePath::StringType::npos); 28 ASSERT_EQ(no_vars_result, no_vars); 34 ASSERT_EQ(unknown_vars_result, unknown_vars); 39 ASSERT_EQ(vars_result.find(FILE_PATH_LITERAL("${user_name}")), 41 ASSERT_EQ(vars_result.find(FILE_PATH_LITERAL("${machine_name}")), 49 ASSERT_EQ(vars_result.find(FILE_PATH_LITERAL("${machine_name}"), pos+1), 54 ASSERT_EQ(vars_result.find(FILE_PATH_LITERAL("${user_name}")), 56 ASSERT_EQ(vars_result.find(FILE_PATH_LITERAL("${machine_name}")),
|
/external/chromium/chrome/browser/sync/util/ |
crypto_helpers_unittest.cc | 16 ASSERT_EQ(checksum, md5.GetHexDigest()); 24 ASSERT_EQ(random_bytes[i], ' ');
|
/external/chromium/chrome/browser/history/ |
starred_url_database_unittest.cc | 118 ASSERT_EQ(initial_count + 1, GetStarredEntryCount()); 122 ASSERT_EQ(HistoryService::kBookmarkBarID, g_entry.parent_folder_id); 123 ASSERT_EQ(0, g_entry.visual_order); 145 ASSERT_EQ(initial_count + 2, GetStarredEntryCount()); 150 ASSERT_EQ(HistoryService::kBookmarkBarID, entry1.parent_folder_id); 153 ASSERT_EQ(HistoryService::kBookmarkBarID, entry2.parent_folder_id); 171 ASSERT_EQ(initial_count + 1, GetStarredEntryCount()); 176 ASSERT_EQ(HistoryService::kBookmarkBarID, entry1.parent_folder_id); 177 ASSERT_EQ(0, entry1.visual_order); 200 ASSERT_EQ(initial_count + 2, GetStarredEntryCount()) [all...] |
/external/chromium/chrome/browser/debugger/ |
devtools_remote_listen_socket_unittest.cc | 90 ASSERT_EQ(0, pthread_mutex_init(&lock_, NULL)); 107 ASSERT_EQ(ACTION_LISTEN, last_action_.type()); 123 ASSERT_EQ(ACTION_ACCEPT, last_action_.type()); 132 ASSERT_EQ(ret, 0); 135 ASSERT_EQ(ACTION_CLOSE, last_action_.type()); 140 ASSERT_EQ(ACTION_SHUTDOWN, last_action_.type()); 147 ASSERT_EQ(0, pthread_mutex_lock(&lock_)); 149 ASSERT_EQ(0, pthread_mutex_unlock(&lock_)); 150 ASSERT_EQ(0, sem_unlink(kSemaphoreName)); 151 ASSERT_EQ(0, pthread_mutex_destroy(&lock_)) [all...] |
devtools_remote_message_unittest.cc | 36 ASSERT_EQ(content.size(), 38 ASSERT_EQ(static_cast<DevToolsRemoteMessage::HeaderMap::size_type>(2), 50 ASSERT_EQ(static_cast<DevToolsRemoteMessage::HeaderMap::size_type>(3), 66 ASSERT_EQ(content.size(),
|
/external/chromium/chrome/browser/chromeos/input_method/ |
input_method_util_unittest.cc | 157 ASSERT_EQ(3U, language_codes.size()); 158 ASSERT_EQ("fr", language_codes[0]); // French 159 ASSERT_EQ("ja", language_codes[1]); // Japanese 160 ASSERT_EQ("t", language_codes[2]); // Others 165 ASSERT_EQ(4U, language_codes.size()); 166 ASSERT_EQ("fr", language_codes[0]); // French 167 ASSERT_EQ("ja", language_codes[1]); // Japanese 168 ASSERT_EQ("ja", language_codes[2]); // Japanese 169 ASSERT_EQ("t", language_codes[3]); // Others 185 ASSERT_EQ(1U, result.size()) [all...] |
/external/chromium/chrome/browser/chromeos/ |
name_value_pairs_parser_unittest.cc | 18 ASSERT_EQ(1U, map.size()); 28 ASSERT_EQ(3U, map.size()); 37 ASSERT_EQ(2U, map.size()); 58 ASSERT_EQ(3U, map.size());
|
/external/gtest/test/ |
gtest_xml_output_unittest_.cc | 48 ASSERT_EQ(1, 1); 55 ASSERT_EQ(1, 2); 67 ASSERT_EQ(1, 1); 72 ASSERT_EQ(2, 3);
|
/external/protobuf/gtest/test/ |
gtest_xml_output_unittest_.cc | 52 ASSERT_EQ(1, 1); 59 ASSERT_EQ(1, 2); 71 ASSERT_EQ(1, 1); 76 ASSERT_EQ(2, 3);
|
/external/chromium/chrome/browser/ui/webui/options/ |
options_ui_uitest.cc | 58 ASSERT_EQ(1, tab_count); 63 ASSERT_EQ(2, tab_count); 77 ASSERT_EQ(1, tab_count); 82 ASSERT_EQ(2, tab_count); 98 ASSERT_EQ(2, tab_count); 108 ASSERT_EQ(1, tab_count); 113 ASSERT_EQ(2, tab_count);
|
/external/chromium/net/base/ |
dnsrr_resolver_unittest.cc | 38 ASSERT_EQ(OK, callback.WaitForResult()); 39 ASSERT_EQ(1u, response.rrdatas.size()); 53 ASSERT_EQ(OK, callback.WaitForResult()); 54 ASSERT_EQ(1u, response.rrdatas.size()); 69 ASSERT_EQ(OK, callback.WaitForResult()); 70 ASSERT_EQ(1u, response.rrdatas.size()); 72 ASSERT_EQ(1u, resolver.requests()); 73 ASSERT_EQ(0u, resolver.cache_hits()); 74 ASSERT_EQ(0u, resolver.inflight_joins()); 80 ASSERT_EQ(OK, callback.WaitForResult()) [all...] |
/external/chromium/chrome/browser/ui/webui/ |
bookmarks_ui_uitest.cc | 54 ASSERT_EQ(L"chrome-extension:", out); 57 ASSERT_EQ(L"/main.html", out); 68 ASSERT_EQ(1, tab_count); 89 ASSERT_EQ(1, tab_count); 94 ASSERT_EQ(2, tab_count); 110 ASSERT_EQ(1, tab_count); 117 ASSERT_EQ(2, tab_count); 134 ASSERT_EQ(2, tab_count); 143 ASSERT_EQ(1, tab_count); 148 ASSERT_EQ(2, tab_count) [all...] |
/system/media/wilhelm/tests/automated/ |
BufferQueue_test.cpp | 178 ASSERT_EQ(SL_RESULT_PARAMETER_INVALID, result); 179 ASSERT_EQ(NULL, playerObject); 200 ASSERT_EQ(SL_PLAYSTATE_STOPPED, playerState); 209 ASSERT_EQ((SLuint32) 0, bufferqueueState.count); 210 ASSERT_EQ((SLuint32) 0, bufferqueueState.playIndex); 222 ASSERT_EQ(j + 1, bufferqueueState.count); 223 ASSERT_EQ((SLuint32) 0, bufferqueueState.playIndex); 230 ASSERT_EQ(SL_RESULT_BUFFER_INSUFFICIENT, res); 234 ASSERT_EQ(numBuffers, bufferqueueState.count); 235 ASSERT_EQ((SLuint32) 0, bufferqueueState.playIndex) [all...] |