Lines Matching refs:ASSERT_EQ
321 ASSERT_EQ(PP_ERROR_BADRESOURCE, result);
334 ASSERT_EQ(PP_ERROR_BADARGUMENT, result);
348 ASSERT_EQ(PP_OK_COMPLETIONPENDING, result);
359 ASSERT_EQ(PP_ERROR_INPROGRESS, result);
369 ASSERT_EQ(PP_OK, cb.result());
378 ASSERT_EQ(PP_ERROR_FAILED, CallDecode(decoder.get(), &uncalled_cb, NULL));
381 ASSERT_EQ(PP_ERROR_FAILED, CallGetPicture(decoder.get(), NULL, &uncalled_cb));
384 ASSERT_EQ(PP_ERROR_FAILED, CallFlush(decoder.get(), &uncalled_cb));
387 ASSERT_EQ(PP_ERROR_FAILED, CallReset(decoder.get(), &uncalled_cb));
406 ASSERT_EQ(PP_OK, CallDecode(decoder.get(), &uncalled_cb, &shm_msg));
409 ASSERT_EQ(i, shm_id);
410 ASSERT_EQ(kDecodeBufferSize, decode_size);
413 ASSERT_EQ(uid, decode_id);
417 ASSERT_EQ(PP_OK_COMPLETIONPENDING,
420 ASSERT_EQ(7U, shm_id);
421 ASSERT_EQ(kDecodeBufferSize, decode_size);
424 ASSERT_EQ(PP_ERROR_INPROGRESS, CallDecode(decoder.get(), &uncalled_cb, NULL));
430 ASSERT_EQ(PP_OK, decode_cb.result());
435 ASSERT_EQ(PP_OK_COMPLETIONPENDING,
439 ASSERT_EQ(PP_ERROR_INPROGRESS,
448 ASSERT_EQ(PP_OK, get_picture_cb.result());
449 ASSERT_EQ(kDecodeId, picture.decode_id);
456 ASSERT_EQ(PP_OK, CallGetPicture(decoder.get(), &picture, &uncalled_cb));
458 ASSERT_EQ(kDecodeId, picture.decode_id);
473 ASSERT_EQ(PP_OK, CallDecode(decoder.get(), &decode_cb, &shm_msg));
484 ASSERT_EQ(PP_OK_COMPLETIONPENDING,
487 ASSERT_EQ(kTextureId1, picture.texture_id);
492 ASSERT_EQ(kTextureId1, texture_id);
503 ASSERT_EQ(PP_OK_COMPLETIONPENDING, CallFlush(decoder.get(), &flush_cb));
507 ASSERT_EQ(PP_ERROR_FAILED, CallDecode(decoder.get(), &uncalled_cb, NULL));
511 ASSERT_EQ(PP_OK_COMPLETIONPENDING,
515 ASSERT_EQ(PP_ERROR_INPROGRESS, CallFlush(decoder.get(), &uncalled_cb));
518 ASSERT_EQ(PP_ERROR_FAILED, CallReset(decoder.get(), &uncalled_cb));
531 ASSERT_EQ(PP_ERROR_ABORTED, get_picture_cb.result());
533 ASSERT_EQ(PP_OK, flush_cb.result());
550 ASSERT_EQ(PP_OK, CallDecode(decoder.get(), &decode_cb, &shm_msg));
552 ASSERT_EQ(PP_OK_COMPLETIONPENDING,
566 ASSERT_EQ(PP_ERROR_RESOURCE_FAILED, get_picture_cb.result());
569 ASSERT_EQ(PP_ERROR_RESOURCE_FAILED,
572 ASSERT_EQ(PP_ERROR_RESOURCE_FAILED,
575 ASSERT_EQ(PP_ERROR_RESOURCE_FAILED, CallFlush(decoder.get(), &uncalled_cb));
577 ASSERT_EQ(PP_ERROR_RESOURCE_FAILED, CallReset(decoder.get(), &uncalled_cb));