[aravis] tests: fix test of entity in formula expression.



commit 511747c5fff7757e5556420513c1f00285cfa7f1
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sun Jun 3 20:55:32 2012 +0200

    tests: fix test of entity in formula expression.

 tests/data/genicam.xml |    4 ++--
 tests/genicam.c        |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/data/genicam.xml b/tests/data/genicam.xml
index c838c46..ff6e807 100644
--- a/tests/data/genicam.xml
+++ b/tests/data/genicam.xml
@@ -149,11 +149,11 @@
 	</IntReg>
 
 	<IntSwissKnife Name="IntSwissKnifeTestEntity">
-		<Formula>0x1234</Formula>
+		<Formula>(0x12345678 &amp; 0x10305070)</Formula>
 	</IntSwissKnife>
 
 	<IntSwissKnife Name="IntSwissKnifeTest">
-		<Formula>(0x12340000 &amp;&amp; 0x00005678)</Formula>
+		<Formula>0x1234</Formula>
 	</IntSwissKnife>
 
 	<Integer Name="TLParamsLocked">
diff --git a/tests/genicam.c b/tests/genicam.c
index 988692c..21b76bb 100644
--- a/tests/genicam.c
+++ b/tests/genicam.c
@@ -215,7 +215,7 @@ swiss_knife_test (void)
 	g_assert (ARV_IS_GC_SWISS_KNIFE (node));
 
 	value = arv_gc_integer_get_value (ARV_GC_INTEGER (node), NULL);
-	g_assert_cmpint (value, ==, 0x12345678);
+	g_assert_cmpint (value, ==, 0x10305070);
 
 	g_object_unref (device);
 }



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