/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
test_util.cc | 330 ASSERT_EQ(2, message.repeated_int32_size ()); 331 ASSERT_EQ(2, message.repeated_int64_size ()); 332 ASSERT_EQ(2, message.repeated_uint32_size ()); 333 ASSERT_EQ(2, message.repeated_uint64_size ()); 334 ASSERT_EQ(2, message.repeated_sint32_size ()); 335 ASSERT_EQ(2, message.repeated_sint64_size ()); 336 ASSERT_EQ(2, message.repeated_fixed32_size ()); 337 ASSERT_EQ(2, message.repeated_fixed64_size ()); 338 ASSERT_EQ(2, message.repeated_sfixed32_size()); 339 ASSERT_EQ(2, message.repeated_sfixed64_size()) [all...] |
test_util_lite.cc | 43 #define ASSERT_EQ GOOGLE_CHECK_EQ 258 ASSERT_EQ(2, message.repeated_int32_size ()); 259 ASSERT_EQ(2, message.repeated_int64_size ()); 260 ASSERT_EQ(2, message.repeated_uint32_size ()); 261 ASSERT_EQ(2, message.repeated_uint64_size ()); 262 ASSERT_EQ(2, message.repeated_sint32_size ()); 263 ASSERT_EQ(2, message.repeated_sint64_size ()); 264 ASSERT_EQ(2, message.repeated_fixed32_size ()); 265 ASSERT_EQ(2, message.repeated_fixed64_size ()); 266 ASSERT_EQ(2, message.repeated_sfixed32_size()) [all...] |
/external/chromium_org/chrome/browser/history/ |
history_browsertest.cc | 138 ASSERT_EQ(1U, urls.size()); 174 ASSERT_EQ(1U, urls.size()); 186 ASSERT_EQ(1U, urls.size()); 211 ASSERT_EQ(1U, urls.size()); 293 ASSERT_EQ(1u, urls.size()); 294 ASSERT_EQ(GetTestUrl(), urls[0]); 299 ASSERT_EQ(1u, urls.size()); 300 ASSERT_EQ(GetTestUrl(), urls[0]); 329 ASSERT_EQ(1u, urls.size()); 330 ASSERT_EQ(GetTestUrl(), urls[0]) [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
panel_drag_browsertest.cc | 609 ASSERT_EQ(4, docked_collection->num_panels()); 633 ASSERT_EQ(4, docked_collection->num_panels()); 651 ASSERT_EQ(3, docked_collection->num_panels()); 665 ASSERT_EQ(3, docked_collection->num_panels()); 690 ASSERT_EQ(3, docked_collection->num_panels()); 706 ASSERT_EQ(2, docked_collection->num_panels()); 718 ASSERT_EQ(2, docked_collection->num_panels()); 742 ASSERT_EQ(2, docked_collection->num_panels()); 762 ASSERT_EQ(1, docked_collection->num_panels()); [all...] |
/external/chromium_org/ppapi/tests/ |
test_file_io.cc | 203 ASSERT_EQ(PP_OK, callback.result()); 296 ASSERT_EQ(PP_OK, callback.result()); 303 ASSERT_EQ(PP_OK, callback.result()); 311 ASSERT_EQ(PP_ERROR_NOTAFILE, callback.result()); 323 ASSERT_EQ(PP_OK, callback.result()); 333 ASSERT_EQ(PP_OK, callback.result()); 338 ASSERT_EQ(PP_OK, rv); 347 ASSERT_EQ(PP_ERROR_FAILED, callback.result()); 353 ASSERT_EQ(PP_OK, rv); 354 ASSERT_EQ(std::string("test_test"), read_buffer) [all...] |
/art/runtime/ |
transaction_test.cc | 40 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); 56 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); 95 ASSERT_EQ(h_obj->GetClass(), h_klass.Get()); 119 ASSERT_EQ(booleanField->GetTypeAsPrimitiveType(), Primitive::kPrimBoolean); 120 ASSERT_EQ(booleanField->GetBoolean(h_klass.Get()), false); 124 ASSERT_EQ(byteField->GetTypeAsPrimitiveType(), Primitive::kPrimByte); 125 ASSERT_EQ(byteField->GetByte(h_klass.Get()), 0); 129 ASSERT_EQ(charField->GetTypeAsPrimitiveType(), Primitive::kPrimChar); 130 ASSERT_EQ(charField->GetChar(h_klass.Get()), 0u); 134 ASSERT_EQ(shortField->GetTypeAsPrimitiveType(), Primitive::kPrimShort) [all...] |
/external/chromium_org/chrome/test/chromedriver/net/ |
port_server_unittest.cc | 77 ASSERT_EQ(0, 81 ASSERT_EQ(0, listen(server_sock_fd, 1)); 148 ASSERT_EQ(kOk, status.code()) << status.message(); 149 ASSERT_EQ(port, 12345); 162 ASSERT_EQ(kOk, status.code()) << status.message(); 163 ASSERT_EQ(port, 12345); 167 ASSERT_EQ(kOk, status.code()) << status.message(); 168 ASSERT_EQ(port, 12345); 181 ASSERT_EQ(kOk, status.code()) << status.message(); 182 ASSERT_EQ(port, 12345) [all...] |
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/ |
memenv_test.cc | 39 ASSERT_EQ(0, children.size()); 48 ASSERT_EQ(0, file_size); 50 ASSERT_EQ(1, children.size()); 51 ASSERT_EQ("f", children[0]); 60 ASSERT_EQ(3, file_size); 68 ASSERT_EQ(3, file_size); 83 ASSERT_EQ(0, children.size()); 104 ASSERT_EQ(0, result.compare("hello")); 107 ASSERT_EQ(0, result.compare("world")); 109 ASSERT_EQ(0, result.size()) [all...] |
/external/webrtc/test/testsupport/ |
fileutils_unittest.cc | 83 ASSERT_EQ(chdir(original_working_dir_.c_str()), 0); 86 ASSERT_EQ(chdir(original_working_dir_.c_str()), 0); 108 ASSERT_EQ(path.length() - expected_end.length(), path.find(expected_end)); 116 ASSERT_EQ(path.length() - expected_end.length(), path.find(expected_end)); 126 ASSERT_EQ(0, chdir(empty_dummy_dir_.c_str())); 127 ASSERT_EQ(original_working_dir, webrtc::test::ProjectRootPath()); 134 ASSERT_EQ(0, chdir(empty_dummy_dir_.c_str())); 135 ASSERT_EQ(original_working_dir, webrtc::test::OutputPath()); 144 ASSERT_EQ(0, chdir(kPathDelimiter)); 145 ASSERT_EQ(webrtc::test::kCannotFindProjectRootDir [all...] |
/frameworks/base/libs/androidfw/tests/ |
Split_test.cpp | 64 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); 74 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); 99 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); 100 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); 120 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); 125 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); 148 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); 157 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); 168 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); 174 ASSERT_EQ(NO_ERROR, table.add(feature_arsc, feature_arsc_len)) [all...] |
/frameworks/native/services/surfaceflinger/tests/ |
Transaction_test.cpp | 37 ASSERT_EQ(NO_ERROR, s->lock(&outBuffer, NULL)); 48 ASSERT_EQ(NO_ERROR, s->unlockAndPost()); 61 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, &heap, &w, &h, &fmt, 0, 0, 64 ASSERT_EQ(PIXEL_FORMAT_RGBA_8888, fmt); 95 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); 131 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->setLayer(INT_MAX-2)); 132 ASSERT_EQ(NO_ERROR, mBGSurfaceControl->show()); 134 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setLayer(INT_MAX-1)); 135 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->setPosition(64, 64)); 136 ASSERT_EQ(NO_ERROR, mFGSurfaceControl->show()) [all...] |
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_editor_view_unittest.cc | 162 ASSERT_EQ(3, editor_root->child_count()); 164 ASSERT_EQ(2, editor_root->child_count()); 169 ASSERT_EQ(2, bb_node->child_count()); 170 ASSERT_EQ(ASCIIToUTF16("F1"), bb_node->GetChild(0)->GetTitle()); 171 ASSERT_EQ(ASCIIToUTF16("F2"), bb_node->GetChild(1)->GetTitle()); 174 ASSERT_EQ(1, bb_node->GetChild(0)->child_count()); 175 ASSERT_EQ(ASCIIToUTF16("F11"), bb_node->GetChild(0)->GetChild(0)->GetTitle()); 179 ASSERT_EQ(1, other_node->child_count()); 180 ASSERT_EQ(ASCIIToUTF16("OF1"), other_node->GetChild(0)->GetTitle()); 194 ASSERT_EQ(ASCIIToUTF16("new_a"), bb_node->GetChild(0)->GetTitle()) [all...] |
/frameworks/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...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
mediasessionclient_unittest.cc | [all...] |
/hardware/libhardware/tests/camera2/ |
CameraMultiStreamTests.cpp | 97 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); 108 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7FFFFFFF)); 109 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); 209 ASSERT_EQ(OK, 282 ASSERT_EQ(OK, mDevice->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, 284 ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_OUTPUT_STREAMS, 286 ASSERT_EQ(OK, previewRequest.update(ANDROID_REQUEST_ID, 296 ASSERT_EQ(OK, mDevice->createDefaultRequest( 299 ASSERT_EQ(OK, meteringRequest.update( 302 ASSERT_EQ(OK, meteringRequest.update [all...] |
/external/protobuf/src/google/protobuf/ |
test_util.cc | 306 ASSERT_EQ(2, message.repeated_int32_size ()); 307 ASSERT_EQ(2, message.repeated_int64_size ()); 308 ASSERT_EQ(2, message.repeated_uint32_size ()); 309 ASSERT_EQ(2, message.repeated_uint64_size ()); 310 ASSERT_EQ(2, message.repeated_sint32_size ()); 311 ASSERT_EQ(2, message.repeated_sint64_size ()); 312 ASSERT_EQ(2, message.repeated_fixed32_size ()); 313 ASSERT_EQ(2, message.repeated_fixed64_size ()); 314 ASSERT_EQ(2, message.repeated_sfixed32_size()); 315 ASSERT_EQ(2, message.repeated_sfixed64_size()) [all...] |
test_util_lite.cc | 43 #define ASSERT_EQ GOOGLE_CHECK_EQ 247 ASSERT_EQ(2, message.repeated_int32_size ()); 248 ASSERT_EQ(2, message.repeated_int64_size ()); 249 ASSERT_EQ(2, message.repeated_uint32_size ()); 250 ASSERT_EQ(2, message.repeated_uint64_size ()); 251 ASSERT_EQ(2, message.repeated_sint32_size ()); 252 ASSERT_EQ(2, message.repeated_sint64_size ()); 253 ASSERT_EQ(2, message.repeated_fixed32_size ()); 254 ASSERT_EQ(2, message.repeated_fixed64_size ()); 255 ASSERT_EQ(2, message.repeated_sfixed32_size()) [all...] |
/external/chromium_org/content/browser/accessibility/ |
browser_accessibility_win_unittest.cc | 146 ASSERT_EQ(3, CountedBrowserAccessibility::num_instances()); 150 ASSERT_EQ(0, CountedBrowserAccessibility::num_instances()); 157 ASSERT_EQ(3, CountedBrowserAccessibility::num_instances()); 164 ASSERT_EQ(S_OK, hr); 167 ASSERT_EQ(S_OK, hr); 172 ASSERT_EQ(2, CountedBrowserAccessibility::num_instances()); 177 ASSERT_EQ(1, CountedBrowserAccessibility::num_instances()); 179 ASSERT_EQ(0, CountedBrowserAccessibility::num_instances()); 214 ASSERT_EQ(S_OK, hr); 218 ASSERT_EQ(S_OK, hr) [all...] |
/external/ceres-solver/internal/ceres/ |
parameter_block_test.cc | 76 ASSERT_EQ(1.0, local_parameterization_jacobian(0, 0)); 77 ASSERT_EQ(0.0, local_parameterization_jacobian(0, 1)); 78 ASSERT_EQ(0.0, local_parameterization_jacobian(1, 0)); 79 ASSERT_EQ(0.0, local_parameterization_jacobian(1, 1)); 80 ASSERT_EQ(0.0, local_parameterization_jacobian(2, 0)); 81 ASSERT_EQ(1.0, local_parameterization_jacobian(2, 1)); 87 ASSERT_EQ(1.5, x_plus_delta[0]); 88 ASSERT_EQ(2.0, x_plus_delta[1]); 89 ASSERT_EQ(3.3, x_plus_delta[2]);
|
/external/chromium_org/chrome/browser/chromeos/file_system_provider/ |
service_unittest.cc | 149 ASSERT_EQ(1u, observer.mounts.size()); 160 ASSERT_EQ(0u, observer.unmounts.size()); 164 ASSERT_EQ(1u, file_system_info_list.size()); 181 ASSERT_EQ(2u, observer.mounts.size()); 187 ASSERT_EQ(1u, file_system_info_list.size()); 204 ASSERT_EQ(kMaxFileSystems, observer.mounts.size()); 211 ASSERT_EQ(kMaxFileSystems + 1, observer.mounts.size()); 217 ASSERT_EQ(kMaxFileSystems, file_system_info_list.size()); 229 ASSERT_EQ(1u, observer.mounts.size()); 234 ASSERT_EQ(1u, observer.unmounts.size()) [all...] |
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
html5_fs_test.cc | 136 ASSERT_EQ(int32_t(PP_OK), ppapi_html5_.GetFileSystemInterface()->Open( 146 ASSERT_EQ(0, fs->Access(Path("/foo"), R_OK | W_OK | X_OK)); 159 ASSERT_EQ(0, fs->Access(Path("/bar"), R_OK | W_OK | X_OK)); 160 ASSERT_EQ(ENOENT, fs->Access(Path("/foo/bar"), F_OK)); 169 ASSERT_EQ(0, fs->Access(Path("/foo"), R_OK | W_OK | X_OK)); 170 ASSERT_EQ(ENOENT, fs->Access(Path("/bar"), F_OK)); 181 ASSERT_EQ(ENOENT, fs->Access(path, F_OK)); 182 ASSERT_EQ(0, fs->Mkdir(path, 0644)); 186 ASSERT_EQ(0, fs->Open(path, O_RDONLY, &node)); 198 ASSERT_EQ(0, fs->Access(path, F_OK)) [all...] |
http_fs_test.cc | 84 ASSERT_EQ(0, fs_.Access(Path("/foo"), R_OK)); 85 ASSERT_EQ(EACCES, fs_.Access(Path("/foo"), W_OK)); 86 ASSERT_EQ(EACCES, fs_.Access(Path("/foo"), X_OK)); 87 ASSERT_EQ(ENOENT, fs_.Access(Path("/bar"), F_OK)); 94 ASSERT_EQ(EIO, fs_.Open(Path("/file"), O_RDONLY, &node)); 108 ASSERT_EQ(0, fs_.Open(Path("/file"), O_RDONLY, &node)); 116 ASSERT_EQ(0, node->Read(attr, buf, sizeof(buf) - 1, &result_bytes)); 117 ASSERT_EQ(strlen("abcdefg"), result_bytes); 138 ASSERT_EQ(0, fs_.Open(Path("/file"), O_RDONLY, &node)); 146 ASSERT_EQ(0, node->Read(attr, buf, sizeof(buf) - 1, &result_bytes)) [all...] |
/external/chromium_org/ppapi/proxy/ |
talk_resource_unittest.cc | 77 ASSERT_EQ(PP_OK_COMPLETIONPENDING, result); 91 ASSERT_EQ(1, callback.result()); 103 ASSERT_EQ(PP_OK_COMPLETIONPENDING, result); 117 ASSERT_EQ(1, callback.result()); 132 ASSERT_EQ(PP_OK_COMPLETIONPENDING, result); 139 ASSERT_EQ(PP_OK, callback.result()); 147 ASSERT_EQ(PP_TALKEVENT_ERROR, event_callback.result()); 154 ASSERT_EQ(PP_OK_COMPLETIONPENDING, result); 161 ASSERT_EQ(PP_OK, callback.result());
|
/external/chromium_org/remoting/ios/bridge/ |
frame_consumer_bridge_unittest.cc | 94 ASSERT_EQ(0, frameProducer_->frames.size()); 96 ASSERT_EQ(1, frameProducer_->frames.size()); 101 ASSERT_EQ(0, frameProducer_->frames.size()); 104 ASSERT_EQ(1, frameProducer_->frames.size()); 111 ASSERT_EQ(2, frameProducer_->frames.size()); 114 ASSERT_EQ(1, frameProducer_->frames.size()); 117 ASSERT_EQ(1, frameProducer_->frames.size()); 126 ASSERT_EQ(1, frameProducer_->frames.size()); 133 ASSERT_EQ(2, frameProducer_->frames.size());
|
/frameworks/wilhelm/tests/examples/ |
slesTestFeedback.cpp | 33 #define ASSERT_EQ(x, y) do { if ((x) == (y)) ; else { fprintf(stderr, "0x%x != 0x%x\n", \ 93 ASSERT_EQ(SL_RESULT_SUCCESS, result); 129 ASSERT_EQ(SL_RESULT_SUCCESS, result); 173 ASSERT_EQ(SL_RESULT_SUCCESS, result); 341 ASSERT_EQ(SL_RESULT_SUCCESS, result); 343 ASSERT_EQ(SL_RESULT_SUCCESS, result); 346 ASSERT_EQ(SL_RESULT_SUCCESS, result); 351 ASSERT_EQ(SL_RESULT_SUCCESS, result); 353 ASSERT_EQ(SL_RESULT_SUCCESS, result); 387 ASSERT_EQ(SL_RESULT_SUCCESS, result) [all...] |