summaryrefslogtreecommitdiffstats
path: root/tests/basic_tests.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-10-13 01:12:04 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-10-13 01:12:04 +0200
commit94a9fe4f02872bfb4fcb1d115194dbb3f3061cc4 (patch)
tree8fd49457e9a8b96a653023f89114a74a278b5b70 /tests/basic_tests.c
parentf69b561c47b0a49c3a7c119cfe5008e3724b2467 (diff)
downloadlasso-94a9fe4f02872bfb4fcb1d115194dbb3f3061cc4.tar.gz
lasso-94a9fe4f02872bfb4fcb1d115194dbb3f3061cc4.tar.xz
lasso-94a9fe4f02872bfb4fcb1d115194dbb3f3061cc4.zip
[xml saml-2.0] add a class to handle the KeyInfoConfirmationData type
* use a direct mapping to map this class to SubjectConfirmationData node having the xsi:type attribute. * overload get_xmlNode method to add the xsi:type attribute on output.
Diffstat (limited to 'tests/basic_tests.c')
-rw-r--r--tests/basic_tests.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/basic_tests.c b/tests/basic_tests.c
index 7f3657c9..e0158055 100644
--- a/tests/basic_tests.c
+++ b/tests/basic_tests.c
@@ -1873,6 +1873,10 @@ START_TEST(test10_test_alldumps)
lasso_release_doc(xmldoc);
++iter;
}
+ /* test serialization / deserialization of KeyInfoConfirmationDataType */
+ node = LASSO_NODE(lasso_saml2_key_info_confirmation_data_type_new());
+ printf("%s\n", lasso_node_debug(node, 10));
+ lasso_release_gobject(node);
}
END_TEST