From 510369e27aca89da08d99b90710a9bc419315063 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 16 Feb 2016 13:37:39 +0100 Subject: Remove binnings test --- test/test-mock.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/test-mock.c b/test/test-mock.c index 0563197..2efc543 100644 --- a/test/test-mock.c +++ b/test/test-mock.c @@ -232,21 +232,6 @@ test_property_units (Fixture *fixture, gconstpointer data) g_assert (uca_camera_get_unit (fixture->camera, "frames-per-second") == UCA_UNIT_COUNT); } -static void -test_binnings_properties (Fixture *fixture, gconstpointer data) -{ - UcaCamera *camera = UCA_CAMERA (fixture->camera); - - GValueArray *array = NULL; - g_object_get (G_OBJECT (camera), - "sensor-horizontal-binnings", &array, - NULL); - - GValue *value = g_value_array_get_nth (array, 0); - g_assert (value != NULL); - g_assert (g_value_get_uint (value) == 1); -} - static void test_signal (Fixture *fixture, gconstpointer data) { @@ -356,7 +341,6 @@ int main (int argc, char *argv[]) {"/recording/buffered", test_recording_buffered}, {"/properties/base", test_base_properties}, {"/properties/recording", test_recording_property}, - {"/properties/binnings", test_binnings_properties}, {"/properties/frames-per-second", test_fps_property}, {"/properties/units", test_property_units}, {"/properties/units/overwrite", test_overwriting_units}, -- cgit v1.2.3