[aravis/dom] tests: fix test of P_BooleanRW pValue.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis/dom] tests: fix test of P_BooleanRW pValue.
- Date: Mon, 5 Mar 2012 09:21:56 +0000 (UTC)
commit 7d44c8cefa1fd94383306f6c3912a6a0792732e5
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Mon Mar 5 10:21:04 2012 +0100
tests: fix test of P_BooleanRW pValue.
tests/data/genicam.xml | 6 +++++-
tests/genicam.c | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/tests/data/genicam.xml b/tests/data/genicam.xml
index 640e480..46fb67a 100644
--- a/tests/data/genicam.xml
+++ b/tests/data/genicam.xml
@@ -34,8 +34,12 @@
<Value>1</Value>
</Boolean>
+ <Integer Name="RWBooleanValue">
+ <Value>1</Value>
+ </Integer>
+
<Boolean Name="P_RWBoolean">
- <pValue>RWBoolean</pValue>
+ <pValue>RWBooleanValue</pValue>
</Boolean>
<Integer Name="RWInteger">
diff --git a/tests/genicam.c b/tests/genicam.c
index c108387..53d6ed9 100644
--- a/tests/genicam.c
+++ b/tests/genicam.c
@@ -73,7 +73,7 @@ boolean_test (void)
g_assert (ARV_IS_GC_BOOLEAN (node));
v_boolean = arv_gc_boolean_get_value (ARV_GC_BOOLEAN (node));
- g_assert_cmpint (v_boolean, ==, FALSE);
+ g_assert_cmpint (v_boolean, ==, TRUE);
g_object_unref (device);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]