From af2144231eef8bc738b9de4acd2c41e296ae6ede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Wed, 6 Mar 2019 03:12:40 +0100 Subject: test: camera: Add state machine test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a test of the different access level enforced by the state machine inside the camera. The state machine aims to limit operations on the camera to the cameras state. The test exercises all states of the camera and verifies that only the intended operations are possible at each stage. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- test/camera/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'test/camera/meson.build') diff --git a/test/camera/meson.build b/test/camera/meson.build index a1fd2032..c4427945 100644 --- a/test/camera/meson.build +++ b/test/camera/meson.build @@ -3,6 +3,7 @@ camera_tests = [ [ 'configuration_default', 'configuration_default.cpp' ], [ 'configuration_set', 'configuration_set.cpp' ], + [ 'statemachine', 'statemachine.cpp' ], [ 'capture', 'capture.cpp' ], ] -- cgit v1.2.1