[aravis] tests: uninteresting change.



commit 85eb1c394787b523afe67d2a25b849a6bc0c4e3b
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Fri May 14 23:20:13 2010 +0200

    tests: uninteresting change.

 src/tests/fake.c |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/src/tests/fake.c b/src/tests/fake.c
index b085d41..01c7299 100644
--- a/src/tests/fake.c
+++ b/src/tests/fake.c
@@ -41,22 +41,23 @@ fake_device_test (void)
 	int_value = arv_device_get_integer_feature_value (device, "Height");
 	g_assert_cmpint (int_value, ==, 1024);
 
-	int_value = arv_device_get_integer_feature_value (device, "PayloadSize");
-	g_assert_cmpint (int_value, ==, 1024 * 1024);
-
 	int_value = arv_device_get_integer_feature_value (device, "BinningHorizontal");
 	g_assert_cmpint (int_value, ==, 1);
 	int_value = arv_device_get_integer_feature_value (device, "BinningVertical");
 	g_assert_cmpint (int_value, ==, 1);
-	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);
 	dbl_value = arv_device_get_float_feature_value (device,  "ExposureTimeAbs");
 	g_assert_cmpfloat (dbl_value, ==, 40000.0);
 	int_value = arv_device_get_integer_feature_value (device, "PixelFormat");
 	g_assert_cmpint (int_value, ==, ARV_PIXEL_FORMAT_MONO_8);
 
+	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);
+
+	int_value = arv_device_get_integer_feature_value (device, "PayloadSize");
+	g_assert_cmpint (int_value, ==, 1024 * 1024);
+
 	g_object_unref (device);
 }
 



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