New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 729653 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Use data file for mac face detection test

Project Member Reported by cco3@chromium.org, Jun 5 2017

Issue description

Currently the face detection test for mac uses an inlined base64 encoded jpg.
https://cs.chromium.org/chromium/src/services/shape_detection/face_detection_impl_mac_unittest.mm?l=33

This file now exists at services/test/data/mona_lisa.jpg, so we should use it.
 
Labels: ShapeDetection

Comment 2 by mcasas@chromium.org, Sep 18 2017

Owner: junwei...@intel.com
Status: Started (was: Available)
Project Member

Comment 3 by bugdroid1@chromium.org, Sep 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c3c3f343acf536583cdc8d25ae694837b6590c02

commit c3c3f343acf536583cdc8d25ae694837b6590c02
Author: junweifu <junwei.fu@intel.com>
Date: Thu Sep 21 07:05:27 2017

ShapeDetection: Use existing image file for mac face detection test

Use existing image file instead of current inlined base64 encoded data.

Remove Try Catch of creating frame from bitmap because the |bitmap| is
valid parameter.

BUG= 729653 

Cq-Include-Trybots: master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
Change-Id: I718570aedfe17a937a7f455fc5debe072cac0783
Reviewed-on: https://chromium-review.googlesource.com/670146
Reviewed-by: Miguel Casas <mcasas@chromium.org>
Commit-Queue: Junwei Fu <junwei.fu@intel.com>
Cr-Commit-Position: refs/heads/master@{#503378}
[modify] https://crrev.com/c3c3f343acf536583cdc8d25ae694837b6590c02/services/shape_detection/BUILD.gn
[modify] https://crrev.com/c3c3f343acf536583cdc8d25ae694837b6590c02/services/shape_detection/android/java/src/org/chromium/shape_detection/BitmapUtils.java
[modify] https://crrev.com/c3c3f343acf536583cdc8d25ae694837b6590c02/services/shape_detection/face_detection_impl_mac_unittest.mm

Comment 4 by junwei...@intel.com, Sep 21 2017

Status: Fixed (was: Started)

Sign in to add a comment