diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-16 12:40:18 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-10-16 12:40:18 +0200 |
commit | de2e8e3191eae37b91f672a03e028a35c8863c9d (patch) | |
tree | be30db890721ef2ba676fad75d081184f03f2c90 /test | |
parent | d8743d20b93d34497183d05ccb17519194ec5abb (diff) | |
download | uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.gz uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.bz2 uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.xz uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.zip |
Add temperature unit and descriptions for pco
Diffstat (limited to 'test')
-rw-r--r-- | test/test-mock.c | 4 |
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 |