/external/chromium_org/content/browser/web_contents/ |
web_contents_user_data_unittest.cc | 42 ASSERT_EQ(NULL, class1); 45 ASSERT_EQ(NULL, class2); 51 ASSERT_EQ(NULL, class2); 59 ASSERT_EQ(class1, class1again); 70 ASSERT_EQ(NULL, one_class); 73 ASSERT_EQ(NULL, two_class); 79 ASSERT_EQ(NULL, two_class); 87 ASSERT_EQ(one_class, one_class_again); 95 ASSERT_EQ(NULL, clazz); 105 ASSERT_EQ(clazz, class_again) [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
write_batch_test.cc | 59 ASSERT_EQ("", PrintContents(&batch)); 60 ASSERT_EQ(0, WriteBatchInternal::Count(&batch)); 69 ASSERT_EQ(100, WriteBatchInternal::Sequence(&batch)); 70 ASSERT_EQ(3, WriteBatchInternal::Count(&batch)); 71 ASSERT_EQ("Put(baz, boo)@102" 85 ASSERT_EQ("Put(foo, bar)@200" 95 ASSERT_EQ("", 99 ASSERT_EQ("Put(a, va)@200", 104 ASSERT_EQ("Put(a, va)@200" 109 ASSERT_EQ("Put(a, va)@200 [all...] |
/frameworks/base/libs/androidfw/tests/ |
Idmap_test.cpp | 50 ASSERT_EQ(NO_ERROR, mTargetTable.add(basic_arsc, basic_arsc_len)); 51 ASSERT_EQ(NO_ERROR, mOverlayTable.add(overlay_arsc, overlay_arsc_len)); 53 ASSERT_EQ(NO_ERROR, mTargetTable.createIdmap(mOverlayTable, 0, 0, 68 ASSERT_EQ(NO_ERROR, mTargetTable.add(overlay_arsc, overlay_arsc_len, mData, mDataSize)); 75 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType); 83 ASSERT_EQ(String16("test2"), String16(targetStr16, strLen)); 85 ASSERT_EQ(NO_ERROR, mTargetTable.add(overlay_arsc, overlay_arsc_len, mData, mDataSize)); 90 ASSERT_EQ(Res_value::TYPE_STRING, val.dataType); 97 ASSERT_EQ(String16("test2-overlay"), String16(targetStr16, strLen)); 101 ASSERT_EQ(NO_ERROR, mTargetTable.add(overlay_arsc, overlay_arsc_len, mData, mDataSize)) [all...] |
/external/chromium_org/base/strings/ |
string_split_unittest.cc | 50 ASSERT_EQ(2U, kv_pairs.size()); 62 ASSERT_EQ(2U, kv_pairs.size()); 74 ASSERT_EQ(2U, kv_pairs.size()); 86 ASSERT_EQ(2U, kv_pairs.size()); 98 ASSERT_EQ(2U, kv_pairs.size()); 110 ASSERT_EQ(1U, kv_pairs.size()); 120 ASSERT_EQ(2U, kv_pairs.size()); 132 ASSERT_EQ(2U, kv_pairs.size()); 145 ASSERT_EQ(2U, kv_pairs.size()); 158 ASSERT_EQ(2U, kv_pairs.size()) [all...] |
/external/chromium_org/ppapi/tests/ |
test_graphics_3d.cc | 62 ASSERT_EQ(PP_OK, rv); 90 ASSERT_EQ(PP_OK, rv); 123 ASSERT_EQ(is_a_query, GL_TRUE); 133 ASSERT_EQ(PP_OK, rv); 151 ASSERT_EQ(pixel_color[0], expected_color[0]); 152 ASSERT_EQ(pixel_color[1], expected_color[1]); 153 ASSERT_EQ(pixel_color[2], expected_color[2]); 154 ASSERT_EQ(pixel_color[3], expected_color[3]); 163 ASSERT_EQ(pixel_color[0], expected_color[0]); 164 ASSERT_EQ(pixel_color[1], expected_color[1]) [all...] |
test_network_proxy.cc | 30 ASSERT_EQ(PP_OK, callback.result()); 34 ASSERT_EQ("DIRECT", callback.output().AsString()); 41 ASSERT_EQ(PP_OK, callback.result()); 51 ASSERT_EQ(PP_OK, callback.result()); 55 ASSERT_EQ("DIRECT", output.AsString()); 62 ASSERT_EQ(PP_ERROR_BADARGUMENT, callback.result()); 70 ASSERT_EQ(PP_ERROR_BADARGUMENT, callback.result());
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
two_client_typed_urls_sync_test.cc | 85 ASSERT_EQ(1U, urls.size()); 86 ASSERT_EQ(new_url, urls[0].url()); 107 ASSERT_EQ(1U, urls.size()); 108 ASSERT_EQ(new_url, urls[0].url()); 115 ASSERT_EQ(0U, urls.size()); 139 ASSERT_EQ(1U, urls.size()); 140 ASSERT_EQ(new_url, urls[0].url()); 147 ASSERT_EQ(0U, urls.size()); 157 ASSERT_EQ(1U, urls.size()); 171 ASSERT_EQ(1U, urls.size()) [all...] |
multiple_client_typed_urls_sync_test.cc | 41 ASSERT_EQ(1U, urls.size()); 42 ASSERT_EQ(new_url, urls[0].url()); 56 ASSERT_EQ(0U, urls.size()); 63 ASSERT_EQ(1U, urls.size()); 64 ASSERT_EQ(new_url, urls[0].url());
|
two_client_themes_sync_test.cc | 55 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 56 ASSERT_EQ(GetCustomTheme(0), GetThemeID(verifier())); 60 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 66 ASSERT_EQ(GetCustomTheme(0), GetThemeID(verifier())); 139 ASSERT_EQ(UsingSystemTheme(GetProfile(0)), 141 ASSERT_EQ(UsingDefaultTheme(GetProfile(0)), 156 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 164 ASSERT_EQ(HasOrWillHaveCustomTheme(GetProfile(0), GetCustomTheme(0)), 174 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 179 ASSERT_EQ(HasOrWillHaveCustomTheme(GetProfile(0), GetCustomTheme(0)) [all...] |
/frameworks/native/libs/gui/tests/ |
Surface_test.cpp | 41 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); 50 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7fffffff)); 51 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 98 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), 104 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 106 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); 114 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); 115 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), 119 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf, -1)); 123 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get() [all...] |
SurfaceTextureGLThreadToGL_test.cpp | 37 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); 57 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); 83 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); 113 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); 137 ASSERT_EQ(OK, mST->setDefaultMaxBufferCount(2)); 154 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); 173 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); 174 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); 181 ASSERT_EQ(NO_ERROR, mST->updateTexImage());
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
activity_log_policy_unittest.cc | 30 ASSERT_EQ("<incognito>http://www.google.com/", action->SerializePageUrl()); 35 ASSERT_EQ("", action->SerializePageUrl()); 36 ASSERT_EQ("", action->page_title()); 37 ASSERT_EQ("http://www.youtube.com/", action->arg_url().spec()); 55 ASSERT_EQ( 74 ASSERT_EQ("[\"woof\"]", ActivityLogPolicy::Util::Serialize(action->args())); 81 ASSERT_EQ("", ActivityLogPolicy::Util::Serialize(action->args()));
|
uma_policy_unittest.cc | 34 ASSERT_EQ(UmaPolicy::NONE, policy->MatchActionToStatus(action)); 38 ASSERT_EQ( 45 ASSERT_EQ( 53 ASSERT_EQ((1 << UmaPolicy::READ_DOM), policy->MatchActionToStatus(action)); 59 ASSERT_EQ( 78 ASSERT_EQ(UmaPolicy::NONE, policy->MatchActionToStatus(action)); 106 ASSERT_EQ(3u, policy->url_status().size()); 107 ASSERT_EQ(1, policy->url_status()[site1][UmaPolicy::kNumberOfTabs]); 108 ASSERT_EQ(2, policy->url_status()[site2][UmaPolicy::kNumberOfTabs]); 109 ASSERT_EQ(3, policy->url_status()[site3][UmaPolicy::kNumberOfTabs]) [all...] |
/external/chromium_org/chrome/browser/search_engines/ |
template_url_fetcher_unittest.cc | 174 ASSERT_EQ(0, add_provider_called_); 175 ASSERT_EQ(0, callbacks_destroyed_); 178 ASSERT_EQ(0, add_provider_called_); 179 ASSERT_EQ(1, callbacks_destroyed_); 199 ASSERT_EQ(0, add_provider_called_); 200 ASSERT_EQ(0, callbacks_destroyed_); 220 ASSERT_EQ( 225 ASSERT_EQ(i + 1, static_cast<size_t>(callbacks_destroyed_)); 229 ASSERT_EQ(1 + ARRAYSIZE_UNSAFE(test_cases), 231 ASSERT_EQ(0, add_provider_called_) [all...] |
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
syscalls_test.cc | 25 ASSERT_EQ(0, ki_push_state_for_testing()); 26 ASSERT_EQ(0, ki_init(&kp_)); 51 ASSERT_EQ(0, mkdir("/tmp", S_IREAD | S_IWRITE)); 56 ASSERT_EQ(0, result); 59 ASSERT_EQ(EEXIST, errno); 61 ASSERT_EQ(0, result); 67 ASSERT_EQ(0, close(fd));
|
kernel_proxy_test.cc | 58 ASSERT_EQ(0, ki_push_state_for_testing()); 59 ASSERT_EQ(0, ki_init(&kp_)); 92 ASSERT_EQ(0, ki_fcntl_wrapper(fd, F_GETFD)); 96 ASSERT_EQ(0, ki_fcntl_wrapper(fd, F_SETFD, flags)) 98 ASSERT_EQ(FD_CLOEXEC, ki_fcntl_wrapper(fd, F_GETFD)); 102 ASSERT_EQ(-1, ki_fcntl_wrapper(fd, F_SETFD, flags)); 103 ASSERT_EQ(EINVAL, errno); 114 ASSERT_EQ(0, filesystem->Open(Path("/"), O_RDONLY, &root)); 115 ASSERT_EQ(0, root->ChildCount()); 121 ASSERT_EQ(1, root->ChildCount()) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
StringBuilderTest.cpp | 102 ASSERT_EQ(characters, builder2.characters8()); 108 ASSERT_EQ(2U, builderForUChar32Append.length()); 110 ASSERT_EQ(3U, builderForUChar32Append.length()); 120 ASSERT_EQ(String("0123456789"), string); 121 ASSERT_EQ(string.impl(), builder.toString().impl()); 125 ASSERT_EQ(String("0123456789"), string); 130 ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyz"), string); 132 ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyz"), string); 136 ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyzABC"), string1); 138 ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyzABC"), builder.toString()) [all...] |
/bionic/tests/ |
malloc_test.cpp | 37 ASSERT_EQ(NULL, malloc(SIZE_MAX)); 38 ASSERT_EQ(ENOMEM, errno); 48 ASSERT_EQ(0, ptr[i]); 55 ASSERT_EQ(NULL, calloc(-1, 100)); 56 ASSERT_EQ(ENOMEM, errno); 61 ASSERT_EQ(NULL, calloc(1, SIZE_MAX)); 62 ASSERT_EQ(ENOMEM, errno); 64 ASSERT_EQ(NULL, calloc(SIZE_MAX, SIZE_MAX)); 65 ASSERT_EQ(ENOMEM, errno); 67 ASSERT_EQ(NULL, calloc(2, SIZE_MAX)) [all...] |
math_test.cpp | 94 ASSERT_EQ(FP_INFINITE, fpclassify(INFINITY)); 95 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VALF)); 96 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VAL)); 97 ASSERT_EQ(FP_INFINITE, fpclassify(HUGE_VALL)); 99 ASSERT_EQ(FP_NAN, fpclassify(nanf(""))); 100 ASSERT_EQ(FP_NAN, fpclassify(nan(""))); 101 ASSERT_EQ(FP_NAN, fpclassify(nanl(""))); 103 ASSERT_EQ(FP_NORMAL, fpclassify(1.0f)); 104 ASSERT_EQ(FP_NORMAL, fpclassify(1.0)); 105 ASSERT_EQ(FP_NORMAL, fpclassify(1.0L)) [all...] |
/system/core/libsync/tests/ |
sync_test.cpp | 253 ASSERT_EQ(fence.wait(0), -1); 254 ASSERT_EQ(errno, ETIME); 257 ASSERT_EQ(timeline.inc(1), 0); 260 ASSERT_EQ(fence.wait(0), -1); 261 ASSERT_EQ(errno, ETIME); 264 ASSERT_EQ(timeline.inc(4), 0); 267 ASSERT_EQ(fence.wait(0), 0); 270 ASSERT_EQ(timeline.inc(10), 0); 271 ASSERT_EQ(fence.wait(0), 0); 287 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 0) [all...] |
/external/chromium_org/sandbox/win/src/ |
job_unittest.cc | 19 ASSERT_EQ(ERROR_SUCCESS, job.Init(JOB_LOCKDOWN, L"my_test_job_name", 0, 0)); 33 ASSERT_EQ(ERROR_FILE_NOT_FOUND, ::GetLastError()); 43 ASSERT_EQ(ERROR_SUCCESS, job.Init(JOB_LOCKDOWN, L"my_test_job_name", 0, 0)); 65 ASSERT_EQ(ERROR_FILE_NOT_FOUND, ::GetLastError()); 75 ASSERT_EQ(ERROR_SUCCESS, job.Init(JOB_LOCKDOWN, L"my_test_job_name", 88 ASSERT_EQ(jbur.UIRestrictionsClass & JOB_OBJECT_UILIMIT_READCLIPBOARD, 0); 96 ASSERT_EQ(ERROR_SUCCESS, job.Init(JOB_LOCKDOWN, L"my_test_job_name", 0, 0)); 108 ASSERT_EQ(jbur.UIRestrictionsClass & JOB_OBJECT_UILIMIT_READCLIPBOARD, 118 ASSERT_EQ(ERROR_SUCCESS, job.Init(JOB_LOCKDOWN, L"my_test_job_name", 0, 0)); 119 ASSERT_EQ(ERROR_ALREADY_INITIALIZED, job.Init(JOB_LOCKDOWN, L"test", 0, 0)) [all...] |
/external/chromium_org/ppapi/proxy/ |
file_system_resource_unittest.cc | 108 ASSERT_EQ(PP_OK_COMPLETIONPENDING, result); 113 ASSERT_EQ(2U, open_messages.size()); 121 ASSERT_EQ(PP_OK, cb.result()); 135 ASSERT_EQ(PP_OK_COMPLETIONPENDING, result); 171 ASSERT_EQ(PP_OK_COMPLETIONPENDING, result); 175 ASSERT_EQ(2U, open_messages.size()); 182 ASSERT_EQ(PP_ERROR_FAILED, cb.result()); 195 ASSERT_EQ(PP_OK_COMPLETIONPENDING, result); 199 ASSERT_EQ(2U, open_messages.size()); 206 ASSERT_EQ(PP_ERROR_FAILED, cb.result()) [all...] |
/external/webrtc/src/modules/audio_processing/test/ |
process_test.cc | 171 ASSERT_EQ(apm->kNoError, apm->level_estimator()->Enable(true)); 198 ASSERT_EQ(1, sscanf(argv[i], "%d", &sample_rate_hz)); 201 ASSERT_EQ(apm->kNoError, 207 ASSERT_EQ(1, sscanf(argv[i], "%d", &num_capture_input_channels)); 209 ASSERT_EQ(1, sscanf(argv[i], "%d", &num_capture_output_channels)); 211 ASSERT_EQ(apm->kNoError, 218 ASSERT_EQ(1, sscanf(argv[i], "%d", &num_render_channels)); 220 ASSERT_EQ(apm->kNoError, 224 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); 225 ASSERT_EQ(apm->kNoError [all...] |
/external/chromium_org/content/browser/ |
browser_url_handler_impl_unittest.cc | 44 ASSERT_EQ("bar://bar", url.spec()); 52 ASSERT_EQ("foo://foo", url.spec()); 59 ASSERT_EQ(saved_url, url); 74 ASSERT_EQ(original_url, url); 79 ASSERT_EQ("foo://foo", url.spec());
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
BufferedLineReaderTest.cpp | 69 ASSERT_EQ(line, "A"); 79 ASSERT_EQ(line, "A"); 92 ASSERT_EQ(line, "A"); 105 ASSERT_EQ(line, "X"); 107 ASSERT_EQ(line, "Y"); 117 ASSERT_EQ(line, "X"); 128 ASSERT_EQ(line, "X"); 130 ASSERT_EQ(line, "Y"); 140 ASSERT_EQ(line, "X"); 151 ASSERT_EQ(line, "X") [all...] |