summaryrefslogtreecommitdiffstats
path: root/tests/camera3
diff options
context:
space:
mode:
authorYin-Chia Yeh <yinchiayeh@google.com>2014-10-31 15:10:11 -0700
committerYin-Chia Yeh <yinchiayeh@google.com>2014-11-06 10:11:32 -0800
commit8df990b3a2087e99d8a7c93e5f5084715263c4a6 (patch)
treee642330d1ccd447497ab5a427d9b38e9c8f8a25f /tests/camera3
parent357ce00a5b710711066097dad5533131f447fcfb (diff)
downloadhardware_libhardware-8df990b3a2087e99d8a7c93e5f5084715263c4a6.zip
hardware_libhardware-8df990b3a2087e99d8a7c93e5f5084715263c4a6.tar.gz
hardware_libhardware-8df990b3a2087e99d8a7c93e5f5084715263c4a6.tar.bz2
Camera2/3 HAL test: cleanup deprecated keys
Bug:16877860 Change-Id: I1eddec02cefa39692f63cc54cc40b75f449516a7
Diffstat (limited to 'tests/camera3')
-rw-r--r--tests/camera3/camera3test_fixtures.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/camera3/camera3test_fixtures.h b/tests/camera3/camera3test_fixtures.h
index 81d1997..17e3d45 100644
--- a/tests/camera3/camera3test_fixtures.h
+++ b/tests/camera3/camera3test_fixtures.h
@@ -68,7 +68,7 @@ class Camera3Device : public Camera3Module {
<< "Can't open camera device";
ASSERT_TRUE(NULL != device)
<< "Camera open() returned a NULL device";
- ASSERT_EQ(kVersion3_0, device->version)
+ ASSERT_LE(kVersion3_0, device->version)
<< "The device does not support HAL3";
cam_device_ = reinterpret_cast<camera3_device_t*>(device);
}