summaryrefslogtreecommitdiffstats
path: root/bindings/perl/t
Commit message (Collapse)AuthorAgeFilesLines
* Binding perl: fix test so that it does not raise on add_providerBenjamin Dauvergne2010-06-061-1/+1
|
* Binding python: fix test fileBenjamin Dauvergne2010-03-271-1/+1
|
* Tests perl: raise number of testsBenjamin Dauvergne2010-02-101-1/+1
|
* Binding perl: many improvementsBenjamin Dauvergne2010-02-011-1/+4
| | | | | | | | | | | | | | | * lang.py: use lasso_unref instead of g_object_unref. * lang.py: handle 'optional' annotation for more types, needed by ID-WSF bindings. * lang.py, gobject_handling.c: check object type before making the C call * Makefile.am: improve silent rules, hide all normal output, show errors, and with V=1 shows everything * glist_handling.c, gobject_handling.c: make local functions static * t/Lasso.t: add non regression test for method receiver type checking. * glist_handlind.c; remove unused convertion functions. * lang.py: clear the semi-assigned list and croak if all list elements do not convert to non-NULL values.
* Binding perl: special case for lasso_check_versionBenjamin Dauvergne2010-01-291-1/+5
| | | | | | | | * bindings/perl/lang.py: special case lasso_check_version for not raising an error when it returns 1. * bindings/perl/t/Lasso.t: add a non regression test.
* Binding perl: many improvementsBenjamin Dauvergne2010-01-291-2/+27
| | | | | | | | | * handle GHashTable of strings and objects. * report errors with 'croak' as a Lasso::Error object. * add more basic tests. * for string arguments, convert undef to NULL, and croak if function does not accept NULL. * fix library paths in Makefile.PL.
* Bindings: add a new perl binding using the new binding infrastructureBenjamin Dauvergne2010-01-251-0/+15
* XS files is autogenerated using bindings/binding.py model of the Lasso API. All constants are in the Lasso::Constants package, the LASSO_ prefix is removed. All classes are now Lasso::ClassName, field accessor also serves as setters, i.e you can do this: $name_id = Lasso::Saml2NameID::new(); $name_id->content('coin'); print $name_id->content; Is still missing: - a lot of test files, - support for hashtables, - and throwing exceptions when return code is non-zero.