summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Add -DHAVE_CONFIG_H to tests/*.cAlan Antonuk2014-04-131-0/+2
| | | | | test_hostcheck includes a file which includes amqp_private.h which needs config.h.
* [openssl] Support wildcard hostname verificationMichael Steinert2014-03-042-0/+83
| | | | Most of this code comes from version Curl 7.35.
* Correct usage of amqp_error_string in test codeAlan Antonuk2013-06-142-3/+3
|
* Fix code formatting to match the rest of the libAlan Antonuk2013-04-171-30/+30
|
* Add amqps:// support to the URL parserMichael Steinert2013-04-091-15/+96
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Updating license yearAlan Antonuk2013-04-082-0/+6
|
* Formatted source code with astyle utiltyAlan Antonuk2013-04-082-131/+143
|
* Adding vim modelines to help with source formattingAlan Antonuk2013-04-053-0/+3
|
* CMake: build both static and shared libs in one buildAlan Antonuk2012-11-141-2/+2
|
* Make inttypes.h available when compiling for msvcAlan Antonuk2012-10-022-0/+312
| | | | | | Test programs require inttypes.h which MSVC doesn't supply at any version (stdint.h is supplied at 1600+). Make it available in these situations
* Removed redundant msinttypes inclusion in testsAndrew Kravchuk2012-07-231-5/+0
|
* msinttypes.h is always required on MSVC for testscmake_build_improvementsAlan Antonuk2012-05-241-0/+5
|
* Adding tests/ directory to CMake buildAlan Antonuk2012-05-242-1/+11
|
* Set default visibility to hidden & enable a couple more warningsMichael Steinert2012-05-171-4/+3
| | | | | | | | | | | | | | Enable the following GCC options: 1. -Wstrict-prototypes 2. -Wcast-align 3. -fno-common 4. -fvisibility=hidden This commit also includes some general cleanup of header files (mostly for readability). Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Fix compiler warnings (checked clang & gcc)Michael Steinert2012-05-172-27/+21
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Convert to non-recursive AutomakeMichael Steinert2012-05-172-19/+1
| | | | | | | | This change should speed up parallel builds considerably. It also simplifies the structure of the build system making it possible to properly track dependencies. Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Automated relicensing of source files MPL/GPL -> MITMarek Majkowski2012-04-122-52/+40
|
* Update copyright 2012Emile Joubert2012-02-022-2/+2
|
* Add support for parsing amqp URLs to librabbitmqDavid Wragg2011-09-212-1/+175
|
* Automatically run test_tables in 'make check'David Wragg2011-09-212-122/+236
| | | | | | This involves making test_tables self-contained. Previously, it would write to stdout, and that output had to be manually compared with test_tables.expected. Now the comparison is automated.
* Remove the redundant float and double encoding testsDavid Wragg2011-09-211-26/+0
| | | | test_table_codec already tests these.
* Don't emit trailing spaces in test_tables.cDavid Wragg2011-07-051-14/+14
|
* Remove trailing whitespaceDavid Wragg2011-07-051-9/+9
|
* Update copyright noticesDavid Wragg2011-03-011-19/+7
| | | | And generally bring debian/copyright up to date.
* Use the msinttypes header when building with the Microsoft compilerDavid Wragg2010-10-211-0/+4
|
* Make test_tables.c ISO C90 cleanDavid Wragg2010-10-212-92/+195
| | | | | | | (As long as you have a stdint.h and inttypes.h available.) And kill the unclean macros in amqp.h that were only used from test_tables.c.
* Pass "-ansi -pedantic" to gcc, so it tells us when we stray from C90David Wragg2010-10-211-0/+8
| | | | | | | | And fix up the resulting warnings We don't use "-ansi -pedantic" in the tools dir, because that code relies on libpopt, and so is unlikely ever to work with the Microsoft compiler anyway.
* Eliminate unnecessary includes of errno.hDavid Wragg2010-07-281-1/+0
|
* Free heap-allocated error stringsDavid Wragg2010-07-271-4/+6
| | | | Even though we are about to exit anyway.
* A Windows port, using MinGW/MSYSDavid Wragg2010-05-301-1/+1
|
* Make error codes returned by librabbitmq functions opaqueDavid Wragg2010-05-301-2/+4
| | | | | | | | | | | | | Windows doesn't generally use POSIX error codes, which poses a problem for librabbitmq's approach of using those error codes in its API. So make the librabbitmq error codes opaque: They are still be integers, but client code is not supposed to assume anything about them, except that they can be passed to a new amqp_error_string() function which returns the corresponding error message Internally, the error codes are either taken from a set of librabbitmq-specific values, or correspond to an OS-specific (POSIX or win32) error code, with a simple encoding to indicate which is which.
* Remove uses of the GNU-specific %ll printf format modifierDavid Wragg2010-05-301-14/+14
| | | | | The MS C runtime doesn't support it. Use the C99 inttypes.h macros instead, which is supplied by MinGW.
* Update licensing to dual MPL/GPLTony Garnock-Jones2010-02-211-0/+50
|
* Add expected output for test_tablesTony Garnock-Jones2009-11-171-0/+90
|
* Implement Qpid/RabbitMQ/0-9-1 field table types.Tony Garnock-Jones2009-11-171-22/+225
|
* Make "make distcheck" work and passTony Garnock-Jones2009-07-141-2/+2
|
* Better support for tablesTony Garnock-Jones2009-05-062-0/+48