Commit Graph

31 Commits

Author SHA1 Message Date
Benjamin Dauvergne c07cd3898c SAML 2.0&ID-FF 1.2: simplify and complete metadata loading for multi-role support 2010-03-27 16:52:04 +00:00
Benjamin Dauvergne f648941f01 SAML 2.0: when verifying query signature, do not presume order of field and 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.
2010-02-10 00:34:55 +00:00
Benjamin Dauvergne d2ff73c54f fix typo 2010-01-18 11:15:29 +00:00
Benjamin Dauvergne 3c08c3728b Merge EXTRA_DIST declarations in tests/Makefile.am 2010-01-18 11:04:28 +00:00
Benjamin Dauvergne 60f199e8ca Add tests/valgrind to dist tarballs 2010-01-18 10:03:59 +00:00
Benjamin Dauvergne 9efcaac3f3 Tests: fix inclusion of id-wsf 2.0 tests 2010-01-12 15:40:26 +00:00
Benjamin Dauvergne d1ada7b833 Tests: add idwsf2_tests.c, call from tests.c, update Makefile.am 2010-01-04 09:15:32 +00:00
Benjamin Dauvergne 4f973512b9 Add SP initiated logout test to SAML 2.0 regression tests
* tests/login_tests_saml2.c:
   add logout to first SAML 2.0 login regression test.
 * tests/tests.h:
   add macros to simplify checking of return value with check macros
   (encapsulate fail_unless macro to check for NULL/non-NULL values and
   good rc value (0) or expected bad value).
2009-12-01 02:06:07 +00:00
Benjamin Dauvergne 54ede0b981 Test: fix Makefile.am to work with 'out of source' build directory
* tests/Makefile.am:
   rpath must refer to the build directory, not the source directory.
2009-09-11 15:51:50 +00:00
Benjamin Dauvergne 8f84e3da68 Tests: distribute integration tests
* tests/Makefile.am:
   add integration directory to the distdir.
2009-08-26 15:14:58 +00:00
Benjamin Dauvergne a2abe27a68 Tests: allow tests2 to pass distcheck
* tests/Makefile.am
   add an SRCDIR symbol.
   remove unused include paths.
 * tests/tests2.c:
   use SRCDIR to find data files.
2009-08-26 15:14:14 +00:00
Benjamin Dauvergne be2825415e Add a stress test for serializing/deserializing code
* Makefile.am:
   add targets
 * tests2.c:
   this simple makes lots of serializing, deserializing.
 * data/response-1:
 * data/response-2:
 * data/response-3:
   data test files
2009-04-30 14:58:13 +00:00
Benjamin Dauvergne 50ea06e0f7 Tests: Add a SAML2 login test
* tests/login_tests_saml2.c:
   add a C login test for SAML 2.
 * tests/Makefile.am:
   add the new test to dependencies.
2009-04-22 23:49:17 +00:00
Benjamin Dauvergne 24430806e6 Fix regression when loading a LassoServer from dump.
Fix an error with -rpath setting in last commit, -rpath must always be absolute
paths.
2008-09-04 09:44:34 +00:00
Benjamin Dauvergne 380217c30d Add -rpath to LDFLAGS variable to use the builded lasso and not the local one. 2008-08-26 12:51:14 +00:00
Benjamin Dauvergne 933458c068 add Makefile.in to MAINTAINERCLEANFILES in every Makefile.am 2008-05-27 15:27:30 +00:00
Benjamin Dauvergne d2d5fcc4ab fix INCLUDES 2008-05-26 22:58:31 +00:00
Frédéric Péters 48b682c746 testing metadata files are in $(srcdir) 2006-12-08 11:51:05 +00:00
Frédéric Péters 41313eb388 include tests metadata subdir 2006-12-08 11:02:47 +00:00
Damien Laniel e528469110 tests for loading certs and keys from metadata 2006-11-07 10:24:44 +00:00
Frédéric Péters 9b5b78252d removed erroneously commited tests Makefile 2005-03-19 08:28:45 +00:00
Frédéric Péters 5ef972b27e don't compile id-wsf files when wsf is disabled; this cuts down build
time by a nice margin.
2005-03-18 20:58:34 +00:00
Frédéric Péters 5f74157e3a removed minitests from tests Makefile.am 2004-12-19 19:12:11 +00:00
Frédéric Péters ca7ca6c2ce Isolated CFLAGS to be used when compiling Lasso in LASSO_CORE_CFLAGS; don't use
those when compiling tests in order to catch errors in headers.  Also moved a
few things in header files; need more thinking about that.
2004-12-17 18:02:42 +00:00
Frédéric Péters f13772d62d Done with the move to structures and the removal of protocols/ (lasso branched
on October 2nd; occasional merges since then).

- Compatible with current souk test suites.
- Missing memory management for everything in xml/
- Missing xmlsec support for SOAP messages.
2004-10-27 09:49:13 +00:00
Frédéric Péters 9a8d1f6759 cleanup and remove result.xml 2004-08-19 23:20:48 +00:00
Frédéric Péters ec86c5955d include a bunch of ssl thingies in release (make distcheck goes further) 2004-08-19 21:10:50 +00:00
Frédéric Péters 6f79bbd107 fixed typo; fix bug230 2004-08-04 11:07:33 +00:00
Frédéric Péters 8db0c98e16 added stupid tests to annoy developers. 2004-07-29 09:14:37 +00:00
Frédéric Péters 70cd9c3a7b modularized tests; it is now possible to add more suites easily. 2004-07-28 15:54:14 +00:00
Frédéric Péters 1893900d09 using check <http://check.sourceforge.net/> for the test suite
(--enable-tests=no if you don't want them)
2004-07-24 18:00:16 +00:00