Chromium Code Reviews
DescriptionRELAND: 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 #
Messages
Total messages: 7 (5 generated)
|
||||||||||||||||||||||||||||