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().
Andreas Schneider [Wed, 17 Oct 2012 15:20:38 +0000 (17:20 +0200)]
include: Document assert_false().
Andreas Schneider [Wed, 17 Oct 2012 15:16:23 +0000 (17:16 +0200)]
include: Document assert_true().
Andreas Schneider [Tue, 16 Oct 2012 14:38:49 +0000 (16:38 +0200)]
cmocka: Add a missing space in tests output.
Andreas Schneider [Tue, 16 Oct 2012 10:04:00 +0000 (12:04 +0200)]
doc: Fix testcase.
Andreas Schneider [Tue, 16 Oct 2012 10:01:08 +0000 (12:01 +0200)]
include: Document run_tests().
Andreas Schneider [Tue, 16 Oct 2012 10:01:20 +0000 (12:01 +0200)]
tests: Extend the run_tests example.
Andreas Schneider [Tue, 16 Oct 2012 10:01:08 +0000 (12:01 +0200)]
include: Document run_tests().
Andreas Schneider [Tue, 16 Oct 2012 09:23:54 +0000 (11:23 +0200)]
include: Document unit_test*() macros.
Andreas Schneider [Tue, 16 Oct 2012 09:23:39 +0000 (11:23 +0200)]
include: Document run_tests().
Andreas Schneider [Tue, 16 Oct 2012 09:15:29 +0000 (11:15 +0200)]
include: Document fail().
Andreas Schneider [Mon, 15 Oct 2012 19:47:19 +0000 (21:47 +0200)]
cmake: Add missing inclue dir.
Andreas Schneider [Mon, 15 Oct 2012 18:43:08 +0000 (20:43 +0200)]
include: Add a group for mock objects.
Andreas Schneider [Mon, 15 Oct 2012 18:06:16 +0000 (20:06 +0200)]
include: Document will_return_count().
Andreas Schneider [Mon, 15 Oct 2012 18:06:03 +0000 (20:06 +0200)]
include: Document will_return().
Andreas Schneider [Mon, 15 Oct 2012 18:03:25 +0000 (20:03 +0200)]
include: Document mock().
Andreas Schneider [Mon, 15 Oct 2012 18:37:36 +0000 (20:37 +0200)]
doc: Add example for cmocka test case.
Andreas Schneider [Mon, 15 Oct 2012 18:31:13 +0000 (20:31 +0200)]
doc: Add more details to the main page.
Andreas Schneider [Mon, 15 Oct 2012 18:18:44 +0000 (20:18 +0200)]
cmake: Add API documentation support using doxygen.
Andreas Schneider [Mon, 15 Oct 2012 17:45:48 +0000 (19:45 +0200)]
cmake: Remove superflous function and header checks.
Andreas Schneider [Mon, 15 Oct 2012 17:41:27 +0000 (19:41 +0200)]
cmake: Add a check for strsignal().
Andreas Schneider [Mon, 15 Oct 2012 17:39:39 +0000 (19:39 +0200)]
cmake: Fix build warning on OpenIndiana.
Andreas Schneider [Mon, 15 Oct 2012 15:10:08 +0000 (17:10 +0200)]
example: Move examples to top level dir.
Andreas Schneider [Mon, 15 Oct 2012 15:09:02 +0000 (17:09 +0200)]
include: Move include dir to top level.
Andreas Schneider [Mon, 15 Oct 2012 15:01:58 +0000 (17:01 +0200)]
cmocka: Fix a build warning on x86.
Andreas Schneider [Fri, 12 Oct 2012 21:19:28 +0000 (23:19 +0200)]
Remove the obsolite m4 files.
Andreas Schneider [Fri, 12 Oct 2012 21:10:50 +0000 (23:10 +0200)]
cmake: Mark failing tests as passed.
Check that failing tests are really failing. They fail by intention.
Andreas Schneider [Fri, 12 Oct 2012 21:10:30 +0000 (23:10 +0200)]
example: Fix 64bit problems in product_database_test.
Andreas Schneider [Fri, 12 Oct 2012 21:00:36 +0000 (23:00 +0200)]
example: Fix casting on 64bit platforms.
Andreas Schneider [Fri, 12 Oct 2012 21:00:01 +0000 (23:00 +0200)]
include: Fix casting on 64bit platforms.
Andreas Schneider [Fri, 12 Oct 2012 19:32:45 +0000 (21:32 +0200)]
example: Fix build warnings for assert_module test.
Andreas Schneider [Fri, 12 Oct 2012 19:21:46 +0000 (21:21 +0200)]
cmake: Build assert_module_test.
Andreas Schneider [Wed, 10 Oct 2012 08:29:54 +0000 (10:29 +0200)]
include: Fix build on OpenIndiana.
Andreas Schneider [Wed, 10 Oct 2012 07:13:41 +0000 (09:13 +0200)]
include: Correctly detect uintptr_t size on Linux.
This is needed to compile for i686 on a x86_64 system.
Andreas Schneider [Tue, 9 Oct 2012 11:16:50 +0000 (13:16 +0200)]
cpack: Update version number.
Andreas Schneider [Tue, 9 Oct 2012 11:12:55 +0000 (13:12 +0200)]
cmake: Set version number to 0.2.0.
Andreas Schneider [Tue, 9 Oct 2012 10:53:40 +0000 (12:53 +0200)]
cmake: Add missing AddCMockaTest.cmake.
Andreas Schneider [Tue, 9 Oct 2012 10:49:52 +0000 (12:49 +0200)]
cmake: Add ctest support.
Andreas Schneider [Tue, 9 Oct 2012 10:41:53 +0000 (12:41 +0200)]
cmake: Add an option to turn on unit testing.
Andreas Schneider [Tue, 9 Oct 2012 10:19:13 +0000 (12:19 +0200)]
cmake: Add a CTestConfig.cmake.
Andreas Schneider [Mon, 25 Jun 2012 14:01:36 +0000 (16:01 +0200)]
examples: Fix warnings of allocate_module_test.
Andreas Schneider [Mon, 25 Jun 2012 13:56:36 +0000 (15:56 +0200)]
examples: Fix warnings of assert_macro_test.
Andreas Schneider [Mon, 25 Jun 2012 13:55:15 +0000 (15:55 +0200)]
examples: Fix warnings of calculator_test.
Andreas Schneider [Mon, 25 Jun 2012 13:27:37 +0000 (15:27 +0200)]
examples: Fix warnings of customer_database.
Andreas Schneider [Mon, 25 Jun 2012 13:26:42 +0000 (15:26 +0200)]
examples: Fix warnings of customer_database_test.
Andreas Schneider [Mon, 25 Jun 2012 13:21:08 +0000 (15:21 +0200)]
examples: Fix warnings of key_value_test.
Andreas Schneider [Mon, 25 Jun 2012 13:19:04 +0000 (15:19 +0200)]
examples: Fix warnings of product_database_test.
Andreas Schneider [Mon, 25 Jun 2012 13:44:26 +0000 (15:44 +0200)]
lib: Use discard_const for casting.
Andreas Schneider [Mon, 25 Jun 2012 13:44:20 +0000 (15:44 +0200)]
header: Add cmocka_private header with useful macros.
Andreas Schneider [Mon, 25 Jun 2012 13:11:41 +0000 (15:11 +0200)]
header: Add printf attribute checking for vprint functions.
Andreas Schneider [Mon, 25 Jun 2012 13:05:42 +0000 (15:05 +0200)]
lib: Fix printf with size_t.
Andreas Schneider [Mon, 25 Jun 2012 12:44:03 +0000 (14:44 +0200)]
lib: Fix printf warnings.
Andreas Schneider [Mon, 25 Jun 2012 12:43:32 +0000 (14:43 +0200)]
header: Add printf attribute checking with gcc.
Andreas Schneider [Mon, 25 Jun 2012 12:30:31 +0000 (14:30 +0200)]
cmake: Check for _GNU_SOURCE and add it if available.
This is needed for strsignal().
Andreas Schneider [Thu, 14 Jun 2012 10:52:08 +0000 (12:52 +0200)]
include: Use C style comments.
Andreas Schneider [Thu, 14 Jun 2012 10:45:59 +0000 (12:45 +0200)]
Rename cmokery to cmocka for a fork.
Andreas Schneider [Fri, 12 Aug 2011 11:12:35 +0000 (13:12 +0200)]
build: Export global_last_failed_assert.
Andreas Schneider [Fri, 12 Aug 2011 11:08:40 +0000 (13:08 +0200)]
build: Fix fail_if_leftover_values export.
fail_if_leftover_values is a static function now.
Andreas Schneider [Tue, 31 May 2011 20:50:56 +0000 (22:50 +0200)]
example: Fix build warnings of allocate_module.
Andreas Schneider [Tue, 31 May 2011 20:48:15 +0000 (22:48 +0200)]
example: Fix a segfault in calculator test.
Andreas Schneider [Tue, 31 May 2011 20:22:33 +0000 (22:22 +0200)]
example: Fix build warnings of calculator.
Andreas Schneider [Tue, 31 May 2011 20:02:33 +0000 (22:02 +0200)]
example: Fix build warnings of customer_database.
Andreas Schneider [Tue, 31 May 2011 19:57:55 +0000 (21:57 +0200)]
example: Fix build warnings of key_value.
Andreas Schneider [Tue, 31 May 2011 19:48:22 +0000 (21:48 +0200)]
example: Fix build warnings of product_database_test.
Andreas Schneider [Tue, 31 May 2011 19:44:54 +0000 (21:44 +0200)]
example: Fix build warnings of run_tests.
Patrick Perry [Wed, 6 Apr 2011 02:47:27 +0000 (22:47 -0400)]
src: Fix expect_assert_failure bug not holding a char pointer.
Andreas Schneider [Tue, 31 May 2011 19:17:09 +0000 (21:17 +0200)]
misc: Fix license in COPYING.
Andreas Schneider [Tue, 31 May 2011 19:08:32 +0000 (21:08 +0200)]
build: Fix Visual Studio warnings.
Andreas Schneider [Tue, 31 May 2011 18:52:53 +0000 (20:52 +0200)]
build: Remove obsolete autoconf.
Andreas Schneider [Tue, 31 May 2011 18:37:57 +0000 (20:37 +0200)]
src: Fix includes.
Andreas Schneider [Tue, 31 May 2011 18:37:38 +0000 (20:37 +0200)]
src: Fix a missing prototype warning.
Steve Byan [Tue, 2 Mar 2010 02:47:35 +0000 (21:47 -0500)]
src: Fix pointer-to-int cast warnings on ILP32 platforms.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Steve Byan [Tue, 2 Mar 2010 02:02:40 +0000 (21:02 -0500)]
src: Fix pointer casts to int on LP64 platforms.
This fixes cmockery defect 23.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Steve Byan [Tue, 2 Mar 2010 01:58:00 +0000 (20:58 -0500)]
src: Fix pointer casts to smaller integral type.
This fixes cmockery defect 21.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Steve Byan [Tue, 2 Mar 2010 01:28:23 +0000 (20:28 -0500)]
src: Fix gcc compiler warning.
This fixes cmockery defect 19
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Steve Byan [Thu, 25 Feb 2010 19:36:32 +0000 (11:36 -0800)]
src: Fix GCC warning on Windows.
This removes a warning under gcc 4.4 on WinXP SP3 and mingw: Variable
'state' might get clobbered by 'longjmp'.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Remove warning under gcc 4.4 on WinXP SP3 and mingw: Variable 'state' might get clobbered by 'longjmp'
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Steve Byan [Wed, 17 Feb 2010 22:32:43 +0000 (17:32 -0500)]
src: Fix a bunch of build warnings.
This fixes cmockery issue #17.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
ademin [Sat, 13 Feb 2010 18:17:38 +0000 (18:17 +0000)]
src: Fixed IsDebuggerPresent() function declaration.
This fixes cmockery issue #6. The IsDebuggerPresent() function is not
declared in Visual Studion 2005 and lower.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
ademin [Sat, 13 Feb 2010 18:12:29 +0000 (18:12 +0000)]
src: Fixed integer conversion warning on HPUX.
This fixes cmockery issue #10.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
ademin [Sat, 13 Feb 2010 18:10:22 +0000 (18:10 +0000)]
src: Fixed a problem on HPUX.
This fixes cmockery issue #12. This fixes the char* to int conversion
truncation warning on HP-UX in 64-bit mode.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
ademin [Sat, 13 Feb 2010 18:07:27 +0000 (18:07 +0000)]
src: Fixed build on HP-UX IA64 v3.
This fixes cmockery defect #11. The strsignal() function is not
available on HP-UX IA64 v3.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
ademin [Sat, 13 Feb 2010 14:58:19 +0000 (14:58 +0000)]
src: Use Google Test output format.
http://groups.google.com/group/cmockery/browse_thread/thread/
19cd0ec29c08ecb2
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
ademin [Sat, 13 Feb 2010 14:17:56 +0000 (14:17 +0000)]
src: Fixed stdout and stderr problems.
This fixes cmockery defect #13.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Wed, 29 Dec 2010 17:42:27 +0000 (18:42 +0100)]
build: Added a def file for windows build.
This exports the symbols which are needed to get a .lib file.
Andreas Schneider [Wed, 29 Dec 2010 14:30:03 +0000 (15:30 +0100)]
build: Added CPack config for source and binary generators.
Andreas Schneider [Wed, 29 Dec 2010 13:48:07 +0000 (14:48 +0100)]
build: Added example build.
Andreas Schneider [Wed, 29 Dec 2010 13:14:25 +0000 (14:14 +0100)]
build: Added option to build with static library.
Andreas Schneider [Wed, 29 Dec 2010 12:51:21 +0000 (13:51 +0100)]
build: Added CMake build of cmockery.
stewartamiles [Fri, 28 Aug 2009 15:37:04 +0000 (15:37 +0000)]
* Fixed assert_*() macros so they no longer truncate values to int.
* Fixed printf format specifier for unsigned long long.
* Worked around a 64-bit gcc warning when casting a 32-bit integer to
a pointer in the expect_assert_failure() macro.
git-svn-id: http://cmockery.googlecode.com/svn/trunk@42
40f4469a-5155-0410-be90-
2de3f0bae501
stewartamiles [Fri, 14 Aug 2009 16:15:48 +0000 (16:15 +0000)]
Fixed memory_not_equal_display_error() to display an error if memory blocks are the same.
git-svn-id: http://cmockery.googlecode.com/svn/trunk@41
40f4469a-5155-0410-be90-
2de3f0bae501
stewartamiles [Thu, 23 Jul 2009 16:37:20 +0000 (16:37 +0000)]
Fixed internal links (<a href="#.*">) to headings that contain spaces when index.html is converted to wiki format.
git-svn-id: http://cmockery.googlecode.com/svn/trunk@40
40f4469a-5155-0410-be90-
2de3f0bae501
stewartamiles [Thu, 23 Jul 2009 16:37:13 +0000 (16:37 +0000)]
* Added bash (awk / sed) script to convert cmockery's html docs to a googlecode.com wiki.
* Modified index.html slightly to make the conversion from html to wiki easier.
git-svn-id: http://cmockery.googlecode.com/svn/trunk@39
40f4469a-5155-0410-be90-
2de3f0bae501
stewartamiles [Thu, 23 Jul 2009 16:37:02 +0000 (16:37 +0000)]
Fixed truncation in integer range checking event structure to store min and max values as LargestIntegralType rather than int.
git-svn-id: http://cmockery.googlecode.com/svn/trunk@38
40f4469a-5155-0410-be90-
2de3f0bae501
stewartamiles [Thu, 23 Jul 2009 16:36:49 +0000 (16:36 +0000)]
* Support for mocking long long (>= 64-bit) parameters.
* Changed tabs to spaces in cmockery.c/.h to be consistent with the other source files.
* Deleted all trailing whitespace.
* Fixed warnings introduced in tests after adding support for 64-bit mocks.
git-svn-id: http://cmockery.googlecode.com/svn/trunk@37
40f4469a-5155-0410-be90-
2de3f0bae501
stewartamiles [Thu, 23 Jul 2009 16:36:01 +0000 (16:36 +0000)]
Deleted all trailing whitespace from cmockery source files.
git-svn-id: http://cmockery.googlecode.com/svn/trunk@36
40f4469a-5155-0410-be90-
2de3f0bae501
stewartamiles [Thu, 23 Jul 2009 16:35:37 +0000 (16:35 +0000)]
Modified the windows makefile for cmockery to enable debug mode.
git-svn-id: http://cmockery.googlecode.com/svn/trunk@35
40f4469a-5155-0410-be90-
2de3f0bae501