Commit 7bda818c authored by alex@thinkpad's avatar alex@thinkpad
Browse files

api_test.lua: additional checks for paused LiveView

--HG--
branch : lua_fix
parent 2e578045868f
......@@ -314,6 +314,11 @@ function test_camera_gui()
end
end
if lv.paused then
printf("Resume LiveView...\n");
lv.resume()
end
lv.stop()
assert(not lv.enabled)
......@@ -1182,6 +1187,7 @@ function test_lv()
lv.pause()
assert(lv.enabled, "LiveView stopped")
assert(lv.paused, "LiveView could not be paused")
assert(not lv.running, "LiveView should not be running")
assert(not lens.autofocusing)
assert(lv.vidmode == "PAUSED-LV");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment