Andreas Schneider [Sat, 21 Dec 2013 16:22:35 +0000 (17:22 +0100)]
example: Define UNIT_TESTING in run_tests.c.
This makes sure we ue the unit test allocators.
Andreas Schneider [Sat, 21 Dec 2013 16:19:22 +0000 (17:19 +0100)]
cmake: Fix calling the assert_module test.
Andreas Schneider [Thu, 19 Dec 2013 17:00:17 +0000 (18:00 +0100)]
doc: Improve the API mainpage.
Andreas Schneider [Fri, 13 Dec 2013 09:54:53 +0000 (10:54 +0100)]
example: Add the most simple test with cmocka.
Andreas Schneider [Fri, 13 Dec 2013 09:51:04 +0000 (10:51 +0100)]
example: Fix exception handler test on Solaris.
Andreas Schneider [Fri, 13 Dec 2013 09:55:11 +0000 (10:55 +0100)]
Add obj directory for config.h to .clang_complete.
Andreas Schneider [Wed, 11 Dec 2013 17:52:12 +0000 (18:52 +0100)]
example: Add an exampele to test exception handling.
Andreas Schneider [Wed, 11 Dec 2013 17:51:25 +0000 (18:51 +0100)]
cmocka: Print better message for exceptions.
Andreas Schneider [Wed, 11 Dec 2013 17:51:04 +0000 (18:51 +0100)]
config: Add missing define for strsignal().
Andreas Schneider [Thu, 28 Nov 2013 13:10:03 +0000 (14:10 +0100)]
cmake: Fix compilation with -D_FORTIFY_SOURCE.
Andreas Schneider [Wed, 6 Nov 2013 08:25:38 +0000 (09:25 +0100)]
Add obj directory to .gitignore.
Andreas Schneider [Wed, 6 Nov 2013 07:13:01 +0000 (08:13 +0100)]
cmake: Exclude obj directory.
Andreas Schneider [Wed, 6 Nov 2013 06:54:45 +0000 (07:54 +0100)]
Update ChangeLog.
Travis Hendrickson [Sun, 27 Oct 2013 14:58:29 +0000 (15:58 +0100)]
include: Don't stringify twice with will_return_always().
Andreas Schneider [Sun, 27 Oct 2013 14:54:53 +0000 (15:54 +0100)]
include: Fix unit_test_teardown macro.
Aleksandr Vinokurov [Wed, 21 Aug 2013 14:38:39 +0000 (18:38 +0400)]
Fix GTest and GCC message style conformance
Move file:line ids to the beginning of the strings, adding 'note' levels as in GCC style
Andreas Schneider [Sun, 11 Aug 2013 10:12:05 +0000 (12:12 +0200)]
doc: Update the main doc page.
Andreas Schneider [Sun, 11 Aug 2013 10:11:50 +0000 (12:11 +0200)]
cmake: Disable broken latex doc generation.
Andreas Schneider [Mon, 29 Jul 2013 17:35:34 +0000 (19:35 +0200)]
include: Correctly define unit_test_setup() and unit_test_teardown().
Thanks to James Grenning <james@grenning.net>.
Andreas Schneider [Mon, 29 Jul 2013 17:39:46 +0000 (19:39 +0200)]
coverity: Add modeling file for assert functions.
Andreas Schneider [Thu, 25 Jul 2013 21:03:02 +0000 (23:03 +0200)]
README: Fix a typo and improve cmocka cmldine.
Thanks to James Grenning <james@grenning.net>.
Andreas Schneider [Wed, 24 Jul 2013 09:15:25 +0000 (11:15 +0200)]
cmake: Fix description and display name.
Andreas Schneider [Wed, 24 Jul 2013 09:13:07 +0000 (11:13 +0200)]
cmake: Fix a typo in FindNSIS.
Andreas Schneider [Wed, 24 Jul 2013 09:09:11 +0000 (11:09 +0200)]
cmake: Update FindNSIS module.
Andreas Schneider [Wed, 24 Jul 2013 08:43:11 +0000 (10:43 +0200)]
cmake: Fix homepage url.
Andreas Schneider [Wed, 24 Jul 2013 08:21:56 +0000 (10:21 +0200)]
cmake: Bump version number and so version.
Andreas Schneider [Wed, 24 Jul 2013 08:08:44 +0000 (10:08 +0200)]
example: Add missing stdlib.h.
This fixes a build error on Windows.
Andreas Schneider [Wed, 24 Jul 2013 08:03:31 +0000 (10:03 +0200)]
Add .gitignore.
Andreas Schneider [Wed, 24 Jul 2013 08:00:19 +0000 (10:00 +0200)]
include: Don't redefine uintptr_t on Windows.
Visual Studio defines _UINTPTR_T_DEFINED if we have uintptr_t.
Andreas Schneider [Wed, 24 Jul 2013 06:19:25 +0000 (08:19 +0200)]
cmake: Set nightly start time to UTC.
Pavel Březina [Thu, 18 Jul 2013 11:19:08 +0000 (13:19 +0200)]
Add new macro will_return_always
Signed-off-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Pavel Březina [Wed, 17 Jul 2013 09:07:39 +0000 (11:07 +0200)]
Add new macro fail_msg
Signed-off-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Fri, 12 Jul 2013 10:23:18 +0000 (12:23 +0200)]
cov: Add coverity modeling file.
Andreas Schneider [Wed, 10 Jul 2013 14:37:39 +0000 (16:37 +0200)]
cmake: Pass _FORTIFY_SOURCE directly to the preprocessor.
Andreas Schneider [Wed, 10 Jul 2013 13:29:49 +0000 (15:29 +0200)]
cmake: Bump version to 0.3.1.
Andreas Schneider [Wed, 10 Jul 2013 13:21:25 +0000 (15:21 +0200)]
src: Fix a typo.
Andreas Schneider [Wed, 10 Jul 2013 13:19:26 +0000 (15:19 +0200)]
src: Fix ValuePointer conversion on 32bit big endian.
Andreas Schneider [Wed, 10 Jul 2013 10:53:34 +0000 (12:53 +0200)]
example: Fix customer database test on big endian.
Andreas Schneider [Tue, 11 Jun 2013 07:50:43 +0000 (09:50 +0200)]
examples: Fix memory leaks in the waiter_test.
Andreas Schneider [Tue, 11 Jun 2013 07:41:11 +0000 (09:41 +0200)]
examples: Fix build warning in waiter_test.
Andreas Schneider [Wed, 5 Jun 2013 10:07:24 +0000 (12:07 +0200)]
Update AUTHORS file.
Andreas Schneider [Wed, 5 Jun 2013 06:29:27 +0000 (08:29 +0200)]
Change version number of the package.
Andreas Schneider [Wed, 5 Jun 2013 06:16:15 +0000 (08:16 +0200)]
Fix date in the changelog.
Andreas Schneider [Tue, 4 Jun 2013 16:16:38 +0000 (18:16 +0200)]
doc: Add some more documentation for Mock Objects.
Andreas Schneider [Tue, 4 Jun 2013 14:39:42 +0000 (16:39 +0200)]
doc: Document expect_memory().
Andreas Schneider [Tue, 4 Jun 2013 14:32:33 +0000 (16:32 +0200)]
doc: Document expect_any().
Andreas Schneider [Tue, 4 Jun 2013 14:32:25 +0000 (16:32 +0200)]
doc: Fix doc build.
Andreas Schneider [Tue, 4 Jun 2013 14:01:20 +0000 (16:01 +0200)]
doc: Document expect_value().
Jakub Hrozek [Tue, 4 Jun 2013 12:51:48 +0000 (14:51 +0200)]
doc: document expect_range family of functions
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 4 Jun 2013 12:04:44 +0000 (14:04 +0200)]
doc: Fix the doc of the count parameter in expect_*().
Andreas Schneider [Tue, 4 Jun 2013 11:49:07 +0000 (13:49 +0200)]
doc: Fix typo in expect_not_in_set_count().
Andreas Schneider [Tue, 4 Jun 2013 11:47:01 +0000 (13:47 +0200)]
Add cmocka-0.3.0 changes to ChangeLog.
Andreas Schneider [Tue, 4 Jun 2013 10:47:42 +0000 (12:47 +0200)]
doc: Add comment to check_expected().
Andreas Schneider [Tue, 4 Jun 2013 10:46:16 +0000 (12:46 +0200)]
doc: Add example for parameter checking.
Andreas Schneider [Tue, 4 Jun 2013 10:39:22 +0000 (12:39 +0200)]
doc: Document expect_string*()
Andreas Schneider [Tue, 4 Jun 2013 10:25:39 +0000 (12:25 +0200)]
doc: Document expect_in_set().
Andreas Schneider [Tue, 4 Jun 2013 10:23:49 +0000 (12:23 +0200)]
doc: Update doxygen config.
Jakub Hrozek [Mon, 3 Jun 2013 16:42:33 +0000 (18:42 +0200)]
Add new macros mock_type and mock_ptr_type
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 4 Jun 2013 08:13:51 +0000 (10:13 +0200)]
example: Fix building with optimization flags.
Andreas Schneider [Mon, 3 Jun 2013 16:48:44 +0000 (18:48 +0200)]
example: Fix a build warning.
Jakub Hrozek [Mon, 3 Jun 2013 14:42:20 +0000 (16:42 +0200)]
example: wrap trick
Adds a new example that illustrates the gcc wrap trick.
Andreas Schneider [Tue, 9 Apr 2013 12:12:30 +0000 (14:12 +0200)]
Update README.
Andreas Schneider [Tue, 9 Apr 2013 12:11:59 +0000 (14:11 +0200)]
cmake: Fix check for fortify source.
Andreas Schneider [Tue, 19 Mar 2013 07:45:54 +0000 (08:45 +0100)]
cmake: Try to fix problems with installation on other platforms.
Andreas Schneider [Mon, 18 Mar 2013 21:34:19 +0000 (22:34 +0100)]
Update the INSTALL file.
Andreas Schneider [Mon, 11 Feb 2013 15:25:59 +0000 (16:25 +0100)]
cmake: Add pkgconfig file.
Jakub Hrozek [Fri, 1 Feb 2013 13:18:27 +0000 (14:18 +0100)]
doc: Fix links in index.html
The links were pointing to ../src/example should have been ../example
Reviwed-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 17 Jan 2013 17:24:22 +0000 (18:24 +0100)]
file: Remove execute bits of C files.
Andreas Schneider [Tue, 15 Jan 2013 10:58:00 +0000 (11:58 +0100)]
doc: Fix a typo.
Andreas Schneider [Mon, 14 Jan 2013 10:21:11 +0000 (11:21 +0100)]
Updated ChangeLog.
Andreas Schneider [Tue, 4 Dec 2012 10:49:37 +0000 (11:49 +0100)]
Add clang_complete config file.
Andreas Schneider [Fri, 30 Nov 2012 16:17:16 +0000 (17:17 +0100)]
doc: Document check_expected().
Andreas Schneider [Fri, 30 Nov 2012 16:16:57 +0000 (17:16 +0100)]
doc: Document expect_check().
Andreas Schneider [Fri, 30 Nov 2012 15:59:24 +0000 (16:59 +0100)]
doc: Add section for checking parameters.
Andreas Schneider [Fri, 16 Nov 2012 13:16:53 +0000 (14:16 +0100)]
doc: Document expect_assert_failure().
Andreas Schneider [Fri, 16 Nov 2012 13:13:20 +0000 (14:13 +0100)]
doc: Document mock_assert().
Andreas Schneider [Fri, 16 Nov 2012 13:13:09 +0000 (14:13 +0100)]
doc: Document Standard Assertions group.
Andreas Schneider [Fri, 16 Nov 2012 13:00:23 +0000 (14:00 +0100)]
doc: Document test_free().
Andreas Schneider [Fri, 16 Nov 2012 12:58:18 +0000 (13:58 +0100)]
doc: Document test_calloc().
Andreas Schneider [Fri, 16 Nov 2012 12:54:11 +0000 (13:54 +0100)]
doc: Document test_malloc().
Andreas Schneider [Fri, 16 Nov 2012 12:46:29 +0000 (13:46 +0100)]
doc: Document Dynamic Memory Allocation group.
Andreas Schneider [Fri, 16 Nov 2012 12:38:06 +0000 (13:38 +0100)]
doc: Document assert_not_in_set().
Andreas Schneider [Fri, 16 Nov 2012 12:37:01 +0000 (13:37 +0100)]
doc: Document assert_in_set().
Andreas Schneider [Fri, 16 Nov 2012 09:48:42 +0000 (10:48 +0100)]
doc: Document assert_not_in_range().
Andreas Schneider [Sat, 10 Nov 2012 15:56:14 +0000 (16:56 +0100)]
doc: Document assert_in_range().
Andreas Schneider [Sat, 10 Nov 2012 15:56:14 +0000 (16:56 +0100)]
doc: Document assert_in_range().
Andreas Schneider [Sat, 10 Nov 2012 15:38:22 +0000 (16:38 +0100)]
doc: Document assert_memory_not_equal().
Andreas Schneider [Sat, 10 Nov 2012 15:32:00 +0000 (16:32 +0100)]
doc: Document assert_memory_equal().
Andreas Schneider [Sat, 10 Nov 2012 15:27:10 +0000 (16:27 +0100)]
doc: Document assert_string_not_equal().
Andreas Schneider [Mon, 5 Nov 2012 17:43:27 +0000 (18:43 +0100)]
doc: Document assert_string_equal().
Andreas Schneider [Mon, 5 Nov 2012 17:42:41 +0000 (18:42 +0100)]
doc: Document assert_int_not_equal().
Andreas Schneider [Mon, 5 Nov 2012 17:38:39 +0000 (18:38 +0100)]
doc: Document assert_int_equal().
Andreas Schneider [Mon, 5 Nov 2012 17:37:03 +0000 (18:37 +0100)]
doc: Document assert_null().
Andreas Schneider [Mon, 5 Nov 2012 17:32:03 +0000 (18:32 +0100)]
doc: Add a more detailed description to the Assert Macros section.
Andreas Schneider [Mon, 5 Nov 2012 17:28:26 +0000 (18:28 +0100)]
doc: Add example to Running Tests section.
Andreas Schneider [Fri, 19 Oct 2012 23:01:53 +0000 (01:01 +0200)]
example: Use C style comments.
Andreas Schneider [Fri, 19 Oct 2012 22:50:26 +0000 (00:50 +0200)]
cmocka: Make teardown_testing() static.
Andreas Schneider [Fri, 19 Oct 2012 22:48:07 +0000 (00:48 +0200)]
cmocka: Use C style comments.
Andreas Schneider [Fri, 19 Oct 2012 16:12:35 +0000 (18:12 +0200)]
cmocka: Add a missing space in tests output.
Andreas Schneider [Wed, 17 Oct 2012 15:27:37 +0000 (17:27 +0200)]
include: Document assert_non_null().