[aravis] tests: GainAuto default value is 1 (Off).



commit 593669207bb70848bd030c42299322c196b231af
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Thu May 19 22:44:58 2011 +0200

    tests: GainAuto default value is 1 (Off).

 tests/fake.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/fake.c b/tests/fake.c
index ffba743..e4dc94f 100644
--- a/tests/fake.c
+++ b/tests/fake.c
@@ -93,7 +93,7 @@ fake_device_test (void)
 	int_value = arv_device_get_integer_feature_value (device, "GainRaw");
 	g_assert_cmpint (int_value, ==, 0);
 	int_value = arv_device_get_integer_feature_value (device, "GainAuto");
-	g_assert_cmpint (int_value, ==, 0);
+	g_assert_cmpint (int_value, ==, 1);
 
 	int_value = arv_device_get_integer_feature_value (device, "PayloadSize");
 	g_assert_cmpint (int_value, ==, 1024 * 1024);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]