summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2013-08-08 19:43:24 -0700
committerZhijun He <zhijunhe@google.com>2013-08-08 19:48:56 -0700
commit6e548cf960faf18975138a1a6952684ecbee3ba3 (patch)
tree7bedb435bfd832f76ff552159c38a09dd8a29cfe /tests
parentaf32a8d59463ddf67154cb432da232cfb185e6bc (diff)
downloadhardware_libhardware-6e548cf960faf18975138a1a6952684ecbee3ba3.zip
hardware_libhardware-6e548cf960faf18975138a1a6952684ecbee3ba3.tar.gz
hardware_libhardware-6e548cf960faf18975138a1a6952684ecbee3ba3.tar.bz2
Camera2 tests: Fix a typo of a test check
Change-Id: Ib47eba8d01e93d0c3ce2b1e8bc2ff638529e32f9
Diffstat (limited to 'tests')
-rw-r--r--tests/camera2/CameraBurstTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/camera2/CameraBurstTests.cpp b/tests/camera2/CameraBurstTests.cpp
index cf8f68a..5ad638a 100644
--- a/tests/camera2/CameraBurstTests.cpp
+++ b/tests/camera2/CameraBurstTests.cpp
@@ -420,7 +420,7 @@ TEST_F(CameraBurstTest, VariableBurst) {
maxDuration = maxFrameDuration.data.i64[0];
}
- EXPECT_GT(0, maxDuration) << "Max duration is 0 or not given, using fallback";
+ EXPECT_GT(maxDuration, 0) << "Max duration is 0 or not given, using fallback";
if (maxDuration == 0) {
maxDuration = 10 * SEC; // Fall back to 10 seconds as max duration