summaryrefslogtreecommitdiffabout
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2008-06-25do not attempt to build programs dependent on absent librariesMichael Krelin1-1/+4
Thanks, Joseph, for spotting it! In addition, thanks for spotting it again in openid20 branch to Brian of Butterfat ;-) Conflicts: test/Makefile.am Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-16moved some stuff out of the now installed util.h headerMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-11more cleanupMichael Krelin1-1/+0
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-11removed obsoleted functions in test RPMichael Krelin1-28/+0
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08minor fixes and making compiler a bit happierMichael Krelin3-13/+13
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08renamed verify_op to verify_OPMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-08renamed basic_op class to basic_OPMichael Krelin1-1/+1
and doxygenated basic_OP a bit. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-04reworked extensions frameworkMichael Krelin1-2/+8
* changed {checkid,id_res}_hook to {rp,op}_{checkid,id_res}_hook * deprecated older hooks, although implemented it in sreg and chain extensions * added extension processing to basic_op * added sreg to test OP Signed-off-by: Michael Krelin <hacker@klever.net>
2008-02-03added test OPMichael Krelin4-4/+452
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-31fixed kingate_openid_message code in test areaMichael Krelin1-2/+3
rethrow kingate's notfound exceptions as opkele ones. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-31test: moved kingate_openid_message wrapper into a separate .hMichael Krelin2-109/+109
again, to be used in sample OP Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-20test part rewrittenMichael Krelin17-155/+693
* cut down test.cc to only test rfc uri normalization * redone idiscover to only list discovered endpoints * added test RP cgi Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-13Merge branch 'next' into devel/openid20Michael Krelin1-1/+1
2008-01-13add libcurl includes to test MakefileMichael Krelin1-1/+1
Thanks to Martin Wilke of FreeBSD for spotting the problem. Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04configurable -DNDEBUGMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04idiscover: dump ProviderIDMichael Krelin1-1/+3
Signed-off-by: Michael Krelin <hacker@klever.net>
2008-01-04make ./test/idiscover show expiration dataMichael Krelin1-2/+4
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-13keep track of whether the identity being discovered is XRIMichael Krelin1-0/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-09reworked identity resolution and service discoveryMichael Krelin4-40/+53
The discovery, which does both XRDS-based (Yadis, XRI, for XRI, using proxy) and HTML-based search, now returns results in opkele:idiscovery_t structure. It uses expat-based parser idigger_t, which itself is not exposed via any header files, but hidden in lib/discovery.cc, the discovery testing program is renamed from openid_resolve to idiscover. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-12-02first cut on XRI resolverMichael Krelin3-1/+41
This commit adds openid service resolver that does discovery using XRI (proxy only), Yadis protocol and html-based discovery. It uses expat as xml parsing engine, which makes it a bit more strict about html it receives, but I think failing to discover links in *severely* broken html is better than misdetecting links, hidden in comments or such. This is highly experimental code and needs more thoughts and testing. Thanks everyone pushing me towards this development. Namely Joseph, John, Gen. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-28fixed commit b71de8d6a2b2d8b57e229ac7887c5b74590f58b8Michael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-26add missing test case to EXTRA_DISTMichael Krelin1-1/+2
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-24added URI normalization procedure to opkele::utilMichael Krelin1-0/+67
as specified in RFC3896, section 6 Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21further calming compiler downMichael Krelin1-3/+3
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-11-21Fix for -pedantic buildMichael Krelin1-1/+1
Thanks to Marcus Rueckert for pointing this out. Signed-off-by: Michael Krelin <hacker@klever.net>
2007-10-31test case for space-separated rel attributesMichael Krelin2-0/+8
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-09-30fixed missing includes in test makefileMichael Krelin1-1/+1
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-09-14test: added more test-cases and improved reporting of failures.Michael Krelin5-3/+32
Signed-off-by: Michael Krelin <hacker@klever.net>
2007-09-11a quick set of tests for retrieve_links machineryMichael Krelin9-0/+120
Signed-off-by: Michael Krelin <hacker@klever.net>