Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Issue 2891153003: RELAND: Shape Detection: Face detection junit tests (Closed)

Created:
3 years, 7 months ago by mcasas
Modified:
3 years, 7 months ago
Reviewers:
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

RELAND: Shape Detection: Face detection junit tests The original CL got reverted due to a given test timing out in bots (might be slow). This CL, in the interest of increasing coverage, lands the part that worked fine: SharedBufferUtilsTest.java, and removes the FaceDetectionImplTest.java and mods to FaceDetectionImpl.java. TBR=rockot@chromium.org, scheib@chromium.org since it's a strict subset of the reviewed-approved CL. Original CL ----------------------------------------------------------- Shape Detection: Face detection junit tests This CL adds two robolectric Junit tests: - one for SharedBufferUtils, which tests error conditions such as unmappable buffer, wrong dimensions, or wrong map()ped size - one for Face Detection, that verifies that the given callback is called with the appropriate arguments in a series of cases. This test is parameterized with a boolean indicating fast-mode or not. Added alongside the (relatively new) service_junit_tests. BUG=722931 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2863773005 Cr-Commit-Position: refs/heads/master@{#472679} Committed: https://chromium.googlesource.com/chromium/src/+/5bd36b1f586432d4b127d956a4b3c355e19a9f3d patch from issue 2863773005 at patchset 180001 (http://crrev.com/2863773005#ps180001) Review-Url: https://codereview.chromium.org/2891153003 Cr-Commit-Position: refs/heads/master@{#473045} Committed: https://chromium.googlesource.com/chromium/src/+/440ee8acf5fc2995762db08f722aa060b14a5e5d

Patch Set 1 #

Patch Set 2 : Removed FaceDetectionImplTest.java, reverted FaceDetectionImpl.java, cleaned up services/BUILD.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -1 line) Patch
M services/BUILD.gn View 1 1 chunk +9 lines, -1 line 0 comments Download
A services/shape_detection/android/junit/src/org/chromium/shape_detection/SharedBufferUtilsTest.java View 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (5 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2891153003/20001
3 years, 7 months ago (2017-05-19 00:38:46 UTC) #4
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 02:50:02 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/440ee8acf5fc2995762db08f722a...

Powered by Google App Engine
This is Rietveld 408576698