summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-16 12:40:18 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-16 12:40:18 +0200
commitde2e8e3191eae37b91f672a03e028a35c8863c9d (patch)
treebe30db890721ef2ba676fad75d081184f03f2c90 /test
parentd8743d20b93d34497183d05ccb17519194ec5abb (diff)
downloadlibuca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.gz
libuca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.bz2
libuca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.xz
libuca-de2e8e3191eae37b91f672a03e028a35c8863c9d.zip
Add temperature unit and descriptions for pco
Diffstat (limited to 'test')
-rw-r--r--test/test-mock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-mock.c b/test/test-mock.c
index 08f24b8..85c1ba4 100644
--- a/test/test-mock.c
+++ b/test/test-mock.c
@@ -171,8 +171,12 @@ test_fps_property (Fixture *fixture, gconstpointer data)
static void
test_property_units (Fixture *fixture, gconstpointer data)
{
+ /* Default camera properties */
g_assert (uca_camera_get_unit (fixture->camera, "sensor-width") == UCA_UNIT_PIXEL);
g_assert (uca_camera_get_unit (fixture->camera, "name") == UCA_UNIT_NA);
+
+ /* Mock-specific properties */
+ g_assert (uca_camera_get_unit (fixture->camera, "frame-rate") == UCA_UNIT_COUNT);
}
static void