summaryrefslogtreecommitdiffstats
path: root/tests/random_tests.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix license boilerplatesSimo Sorce2013-12-031-2/+1
| | | | | | | Instad of referring to an old FSF address, point the reader to the FSF website where the latest licenses and addresses are published. Signed-off-by: Simo Sorce <simo@redhat.com>
* [tests] add test cases for the LassoKey classBenjamin Dauvergne2012-03-171-0/+104
|
* Simplify useless complexity in include pathsBenjamin Dauvergne2011-12-161-5/+5
|
* [core] introduce the LassoSignatureContext context, to pass around signature ↵Benjamin Dauvergne2011-12-051-2/+4
| | | | | | | parameters This structure is used to pass around the signature algorithm and the signature key.
* [Tests] fix leak of content in test01_server_newBenjamin Dauvergne2010-09-171-0/+1
|
* Free xmlSecKeyBenjamin Dauvergne2010-04-221-0/+1
|
* SAML 2.0: when verifying query signature, do not presume order of field and ↵Benjamin Dauvergne2010-02-101-0/+48
| | | | | | | | | | | | | | separator * lasso/xml/tools.c: in lasso_saml2_verify_query_signature, extract needed field and order them appropriately before computing digest, expect ';' as well as '&' as separator. * tests/random_test.c: add non-regression tests for query signature validation. * tests/Makefile.am: make tests link agains static version of liblasso, to get access to private functions.
* Tests: adapt server constructor settings to recent changesBenjamin Dauvergne2010-02-041-2/+7
|
* Fix leaksBenjamin Dauvergne2010-02-041-0/+1
| | | | | | | | | | | * lasso/id-wsf-2.0/profile.c: release private data object. * lasso/saml-2.0/login.c: free NameID content after construction. * lasso/xml/tools.c: free algorithm attribute content in lasso_node_decrypt_xmlnode. * lasso/xml/xml.c: release cutom_element->nodename in destructor. remove useless finalize method. * tests/basic_tests.c: release xmldoc after use. * tests/random_tests.c: free resut of lasso_node_dump.
* Tests: add more assertion to random testBenjamin Dauvergne2009-09-111-3/+44
| | | | | * tests/random_tests.c: add more assertion testing for various return values or field values.
* All: Rework include files handling, separated ID-WSF code from SAML2/ID-FF codeBenjamin Dauvergne2009-08-261-5/+5
| | | | | | | | | | | | | * nearly all C files: change includes for relative paths. * lasso/id-wsf/id_wsf.h, lasso/id-wsf-2.0/id_wsf_2.h: add top level public include files for ID-WSF 1.0 and ID-WSF 2.0. * lasso/id-ff/server.*, lasso/id-ff/session.*, lasso/id-ff/identity.*: remove most of the code related to ID-WSF and push into lasso/id-wsf/id_ff_extensions.* and lasso/id-wsf-2.0/identity.c, lasso/id-wsf-2.0/server.c, lasso/id-wsf-2.0/session.c. * lasso/id-wsf-2.0/saml2_login.c, lasso/id-wsf-2.0/saml2_login_private.h: same change but for ID-WSF 2.0 support in SAML2 SSO profile.
* Fix leaks in testsBenjamin Dauvergne2009-04-301-5/+15
| | | | | | | | | * basic_tests.c: * login_tests.c: * login_tests_saml2.c: * random_tests.c: free replaced string, unref used nodes, initialize local variables when necessary, free newly allocated strings.
* Test: add missing release of objects and memoryBenjamin Dauvergne2009-03-271-5/+24
| | | | | | | | | * tests/basic_tests.c: * tests/login_tests.c: * tests/metadata_tests.c: * tests/random_tests.c: * tests/tests.c: add missing g_free and g_object_unref calls.
* * Remove ending blanksBenjamin Dauvergne2008-09-121-1/+1
|
* updated Copyright dates in all filesDamien Laniel2007-05-301-1/+1
|
* added non-regression test for bug #416 (missing namespace in someFrederic Peters2005-03-151-4/+24
| | | | samlp:Response)
* removed debugging outputFrederic Peters2005-03-071-1/+0
|
* use fail_unless since fail_if didn't exist in check 0.8.xFrederic Peters2005-03-071-2/+2
|
* only use xsi:type on elements that have a saml: ancestor (and added test to notFrederic Peters2005-03-071-0/+37
| | | | regress)
* Updated Copyright and authors.Emmanuel Raviart2005-01-221-3/+3
|
* accounts for changes in lasso_node_dumpFrederic Peters2005-01-011-7/+7
|
* added random suites with random testsFrederic Peters2004-12-211-2/+29
|
* new testsFrederic Peters2004-11-151-0/+145