summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: add target to Makefile to produce valgrind suppression entriesBenjamin Dauvergne2014-06-081-0/+5
|
* tests/valgrind: add suppression of all leaks related to initialisation of ↵Benjamin Dauvergne2014-06-081-0/+6
| | | | the GLib type system
* tests: fix leaksBenjamin Dauvergne2014-06-081-0/+2
|
* tests: fix leak in log message checkerBenjamin Dauvergne2014-06-071-1/+4
|
* tests: do not reuse tc_response_new_from_xmlNode test caseBenjamin Dauvergne2014-06-071-2/+6
|
* tests: pass automake CFLAGS when compiling tests2Benjamin Dauvergne2014-04-241-1/+1
|
* Fix license boilerplatesSimo Sorce2013-12-0311-22/+11
| | | | | | | 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/data/Makefile: regenerate list of files and directories to distributeBenjamin Dauvergne2013-09-261-8/+21
|
* tests: add non-regression test to check that we correctly provide the ↵Benjamin Dauvergne2013-09-084-30/+82
| | | | ArtifactResolutionService index in artifacts
* tests: in check_equals() and check_not_equals() macros use long long int as ↵Benjamin Dauvergne2013-09-081-2/+2
| | | | a catchall type for printing compared values
* fix compilation errors on 64bits architecturesBenjamin Dauvergne2013-09-084-4/+4
| | | | | * sizeof(unsigned int) != sizeof(size_t) * INT_MAX != LONG_MAX
* fix warnings about unused but set variablesBenjamin Dauvergne2013-09-084-2/+102
|
* tests: comment out dump/restore checks against complex nodesBenjamin Dauvergne2013-03-201-4/+4
|
* xml: really enforce elements cardinality when parsing messagesBenjamin Dauvergne2013-01-251-1/+17
| | | | | | | | - add a new SNIPPET_MANDATORY: we could only indicate 0-1 and 0-* cardinalities, now we can also indicate 1-1 and 1-* cardinalities. - repect cadinalities when parsing an xmlNode tree into a LassoNode tree.
* tests: add a SSO test with DSA keys to python bindings testsBenjamin Dauvergne2012-07-112-0/+106
|
* [tests] add test cases for the LassoKey classBenjamin Dauvergne2012-03-172-2/+104
|
* [tests] remove work-around for letting ID-FF 1.2 tests work with the ↵Benjamin Dauvergne2011-12-231-21/+24
| | | | | | | thin-sessions flag activated But when thin-sessions is activated we use the new way of passing artifact message content around.
* [tests] protect the ID-FF 1.2 test cases from effect of the thin-sessions ↵Benjamin Dauvergne2011-12-221-2/+19
| | | | flag until it is migrated to work also with thin sessions
* Simplify useless complexity in include pathsBenjamin Dauvergne2011-12-169-35/+35
|
* [tests] fix tests to comply with new implementation of parsingBenjamin Dauvergne2011-12-161-13/+33
| | | | | The test around parsing of EncryptedAssertion was wrong since it was missing the XMLEnc namespace declaration.
* [tests] improve checking for log outputBenjamin Dauvergne2011-12-166-10/+98
| | | | | | | | | | | - now any non expected log output is considered an error, by setting a g_log default handler. - block_lasso_logs()/unblock_lasso_logs() will block logging output at the DEBUG level - begin_check_do_log(level, message, endswith)/end_check_do_log() with check that the only message emitted between the two macros is one equals to "message" at the level "level", or ending (to work around variable parts in a log message) with "message" if "endswith" is True.
* [tests] rename login test suite, with mentions of ID-FF 1.2 and SAML 2.0Benjamin Dauvergne2011-12-162-2/+2
|
* [core] move XMLDsig related nodes in their own sub-library, add X509Data ↵Benjamin Dauvergne2011-12-161-0/+31
| | | | | | node implementation The goal is to use the KeyInfo structure as a transport format for our cryptographic keys
* remove debugging printf statementBenjamin Dauvergne2011-12-091-2/+0
|
* [core] rename lasso_provider_set_specific_signing_key to ↵Benjamin Dauvergne2011-12-052-3/+3
| | | | lasso_provider_set_server_signing_key
* [perfs] add command line options, add option to use shared secret key ↵Benjamin Dauvergne2011-12-051-11/+41
| | | | | | cryptography Performance with HMAC-SHA1 is 100x the one with 2048 bits RSA.
* [core] add the HMAC-SHA1 shared secret signature methodBenjamin Dauvergne2011-12-051-0/+100
|
* [tests] use helper macros in id-ff test caseBenjamin Dauvergne2011-12-051-31/+26
|
* [core] add a new class LassoKeyBenjamin Dauvergne2011-12-051-0/+30
| | | | | | LassoKey currenly store a LassoSignatureContext inside a reference-counted and bindable object. It will be used to export API around key management to bindings.
* [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.
* [integration tests] does not use full leak reportBenjamin Dauvergne2011-11-221-1/+1
|
* [integration tests] show more callers when using valgrind memcheck looking ↵Benjamin Dauvergne2011-11-221-1/+1
| | | | for leaks in authentic and lcs
* [tests] add test for rollover on the SP side, i.e. rollover of encryption keysBenjamin Dauvergne2011-11-228-0/+380
| | | | | | This test case is the first to abstract the workflow between two LassoLogin object (for the idp and sp side). This part of the code could be used to simplify the code of other tests in the future.
* [leakcheck] fix leaks seen by the unit testsBenjamin Dauvergne2011-11-223-16/+84
| | | | | This commit also improved valgrind suppression file to hide static allocations done by the GLib type system.
* [xml saml-2.0] add a class to handle the KeyInfoConfirmationData typeBenjamin Dauvergne2011-10-131-0/+4
| | | | | | * 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.
* [tests] add non-regression tests concerning the parsing of any xmlNode tree ↵Benjamin Dauvergne2011-10-101-1/+30
| | | | by LassoMiscTextNode when SNIPPET_ANY is used by a LassoNode
* Disable metadata loading test with the UK federation filesBenjamin Dauvergne2011-05-271-0/+5
|
* [tests] add unit test for the provider with multiple key featureBenjamin Dauvergne2011-05-191-0/+120
|
* [tests] add sample metadata for testing metadata with multiple key descriptorsBenjamin Dauvergne2011-05-195-0/+163
|
* [tests] fix broken renater metadata fileBenjamin Dauvergne2011-05-172-1483/+4137
| | | | | A modification was introduced which broke the signature, updating to the last version.
* [tests] move renater metadata files into the metadata/ subdirectoryBenjamin Dauvergne2011-05-163-2/+2
|
* [core] add flags parameter to lasso_server_load_metadata to tune signature ↵Benjamin Dauvergne2011-04-142-3/+12
| | | | | | | | | | | | | | | checking on metadata files The flags parameter allows to control the checking of digital signature upon EntityDescriptor and EntitiesDescriptor nodes in SAML 2.0 metadata files. The default behaviour is to check all found signatures and to inherit signature from EntitiesDescriptor to their children. By only enabling checking of EntityDescrtiptor node signatures it's also possible to only check signature at the EntityDescriptor level and so only trust individual entities and not the aggregating provider.
* [core] rename lasso_server_load_federation to lasso_server_load_metadataBenjamin Dauvergne2011-04-041-10/+7
| | | | | | | The aim of this function is now to load any metadata file, and to replace completely the use of lasso_server_add_provider. The metadata content argument is replaced by a metadata file path to more closely match other APIs.
* [core] add a loaded_entity_ids output parameter to lasso_server_load_federationBenjamin Dauvergne2011-03-301-2/+6
| | | | | It allows to know which entity has been loaded from the metadata file. It must be freed by the caller.
* [core] add a blacklisted_entity_ids parameter to lasso_server_load_federationBenjamin Dauvergne2011-03-301-1/+3
| | | | The goal is to prevent loading of provider known to have problems.
* [tests] remove spurious outputBenjamin Dauvergne2011-03-291-2/+0
|
* [tests] continue improving the lasso_server_load_federation test casesBenjamin Dauvergne2011-03-291-2/+4
|
* [tests] test lasso_server_load_federationBenjamin Dauvergne2011-03-292-0/+38
| | | | | The test operates on the metadata file of the french university network Renater.
* [tests] add renater federation metadata file for testingBenjamin Dauvergne2011-03-291-0/+27414
|
* [tests] add test case for multiple load and dump of the same objectBenjamin Dauvergne2011-03-011-0/+72
|