summaryrefslogtreecommitdiff
path: root/test/abts_tests.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert r1907986.Yann Ylavic2023-03-021-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1907987 13f79535-47bb-0310-9956-ffa450edef68
* configure: atomic builtins might be implemented for i586 and i686.Yann Ylavic2023-03-021-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1907986 13f79535-47bb-0310-9956-ffa450edef68
* apr_jose: Add support for encoding and decoding of JSON Object Graham Leggett2018-09-011-1/+2
| | | | | | | | Signing and Encryption messages as per RFC7515, RFC7516, RFC7517 and RFC7519. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839819 13f79535-47bb-0310-9956-ffa450edef68
* apr_json: Add support for encoding and decoding RFC8259 JSON.Graham Leggett2018-07-081-1/+2
| | | | | | | Submitted by: Moriyoshi Koizumi <mozo mozo jp> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1835348 13f79535-47bb-0310-9956-ffa450edef68
* Add the apr_encode_* API that implements RFC4648 and RFC7515Graham Leggett2018-06-251-0/+1
| | | | | | | | compliant BASE64, BASE64URL, BASE32, BASE32HEX and BASE16 encode/decode functions. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1834371 13f79535-47bb-0310-9956-ffa450edef68
* Redis in APR_2.0 tooJim Jagielski2016-11-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1768269 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1763672: remove debug triks :pYann Ylavic2016-10-071-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1763673 13f79535-47bb-0310-9956-ffa450edef68
* Provide apr_siphash*() functions family.Yann Ylavic2016-10-071-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1763672 13f79535-47bb-0310-9956-ffa450edef68
* Follow up to r1667900: revert spurious change on test/abts_tests.h.Yann Ylavic2015-03-191-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1667901 13f79535-47bb-0310-9956-ffa450edef68
* locks: introduce apr_{thread,proc,global}_mutex_timedlock().Yann Ylavic2015-03-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For proc mutexes, the new mechanism APR_LOCK_DEFAULT_TIMED usable at creation time allows for the best mechanism to be elected (unixes: 1 to 3, or specific: 4 to 7): 1. PROC_PTHREAD if pthread_mutex_timedlock() and pthread_mutex_set_robust_np() are both available, 2. SYSV if semtimedop() is availale, 3. POSIXSEM if sem_timedwait() is available, 4. BeOS' acquire_sem_etc() if available, 5. NetWare falls back to apr_thread_mutex_timedlock() as for others functions, 6. OS2's DosRequestMutexSem(), 7. Windows' WaitForSingleObject(). Otherwise (like when fcntl and flock only are availble, if that's ever possible), APR_ENOTIMPL is returned. For thread mutexes, the new flag APR_THREAD_MUTEX_TIMED, usable at create() time still, allows to switch to an implementation using a condition variable and apr_thread_cond_timedwait() when if no native mechanism is available (eg. NetWare, pthreads but without pthread_mutex_timedlock() available). On windows, this initializes a WaitForSingleObject()able handle (Mutex) instead of the fastest (but not timeout-able) CRITICAL_SECTION used by default. All apr_{thread,proc,global}_mutex_timedlock() functions can take a relative or absolute time, thanks to the last (boolean) argument. Test suite updated accordingly. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1667900 13f79535-47bb-0310-9956-ffa450edef68
* Add a basic skiplist test. Based on test program posted to PR 56654 by ↵Eric Covener2014-06-221-1/+2
| | | | | | | | | | | Takashi Sato. Submitted By: Takashi Sato, covener Committed By: covener git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1604596 13f79535-47bb-0310-9956-ffa450edef68
* Add the apr_escape interface.Graham Leggett2013-06-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1489517 13f79535-47bb-0310-9956-ffa450edef68
* Drop the incomplete LDAP abstraction layer from APR 2.0 as decided on-list.William A. Rowe Jr2011-05-311-1/+0
| | | | | | | | It was not possible to use this interface without ldap provider internals. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1129809 13f79535-47bb-0310-9956-ffa450edef68
* Add a test that checks that various apr types don't change their sizeStefan Fritsch2011-03-081-1/+2
| | | | | | | if an apr consumer specifies -D_FILE_OFFSET_BITS=64 or 32. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1079562 13f79535-47bb-0310-9956-ffa450edef68
* start a test bucket for apr hooksJeff Trawick2009-05-171-0/+1
| | | | | | | note that a failing assertion for an interesting predecessor issue is commented out for now git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@775682 13f79535-47bb-0310-9956-ffa450edef68
* Add quick base64 sanity checker to test suite.Justin Erenkrantz2009-04-161-0/+1
| | | | | | | | | * test/testbase64.c: Add simple test cases. * test/Makefile.in: Add testbase64.lo * test/abts_tests.h, test/testutil.h: Declare testbase64. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@765799 13f79535-47bb-0310-9956-ffa450edef68
* * test/abts_tests.h: Link in the apr-util test suites.Joe Orton2009-03-251-1/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@758191 13f79535-47bb-0310-9956-ffa450edef68
* Fix testrand2.c coding style and merge into testrand.cDavi Arnaut2007-07-211-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@558209 13f79535-47bb-0310-9956-ffa450edef68
* Add test program for the condition variable code. There are various CV behaviorDavi Arnaut2007-06-291-0/+1
| | | | | | | tests, including fairness ones. PR: 42305 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@551967 13f79535-47bb-0310-9956-ffa450edef68
* Fix the typo.Joe Orton2006-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.Joe Orton2006-08-031-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
* * test/abts_tests.h: Disable tests for API combination which doesn'tJoe Orton2004-06-071-0/+2
| | | | | | | currently work. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65172 13f79535-47bb-0310-9956-ffa450edef68
* Move the APR test suite from CuTest to abts. The output is cleaner,Ryan Bloom2004-05-131-0/+69
and it prints output while running the test. Also, if a test fails the rest of the test function is run, allowing for proper cleanup. Finally, it is possible to call the same function multiple times with different data, and each call is considered a separate test. This is the first of a multi-step process to get a more useful test suite. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65091 13f79535-47bb-0310-9956-ffa450edef68