summaryrefslogtreecommitdiffstats
path: root/test/test-mock.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-mock.c')
-rw-r--r--test/test-mock.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/test-mock.c b/test/test-mock.c
index 7876f5b..e66ef8f 100644
--- a/test/test-mock.c
+++ b/test/test-mock.c
@@ -136,16 +136,14 @@ test_recording_property (Fixture *fixture, gconstpointer data)
gboolean is_recording = FALSE;
uca_camera_start_recording (camera, NULL);
- g_object_get (G_OBJECT (camera),
- "is-recording", &is_recording,
- NULL);
+ g_object_get (G_OBJECT (camera), "is-recording", &is_recording, NULL);
g_assert (is_recording == TRUE);
+ g_assert (uca_camera_is_recording (camera));
uca_camera_stop_recording (camera, NULL);
- g_object_get (G_OBJECT (camera),
- "is-recording", &is_recording,
- NULL);
+ g_object_get (G_OBJECT (camera), "is-recording", &is_recording, NULL);
g_assert (is_recording == FALSE);
+ g_assert (!uca_camera_is_recording (camera));
}
static void