platform/upstream/cmocka.git
15 years ago* Fixed assert_*() macros so they no longer truncate values to int.
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

15 years agoFixed memory_not_equal_display_error() to display an error if memory blocks are the...
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

15 years agoFixed internal links (<a href="#.*">) to headings that contain spaces when index...
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

15 years ago* Added bash (awk / sed) script to convert cmockery's html docs to a googlecode.com...
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

15 years agoFixed truncation in integer range checking event structure to store min and max value...
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

15 years ago* Support for mocking long long (>= 64-bit) parameters.
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

15 years agoDeleted all trailing whitespace from cmockery source files.
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

15 years agoModified the windows makefile for cmockery to enable debug mode.
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

15 years agoIntegrated fix for cmockery "Issue 3: malloc.h not found on Mac OS Leopard".
stewartamiles [Thu, 23 Jul 2009 16:33:49 +0000 (16:33 +0000)]
Integrated fix for cmockery "Issue 3: malloc.h not found on Mac OS Leopard".

git-svn-id: http://cmockery.googlecode.com/svn/trunk@34 40f4469a-5155-0410-be90-2de3f0bae501

15 years agoFixed cmockery "Issue 9: assert_macro.c"
stewartamiles [Thu, 23 Jul 2009 16:33:33 +0000 (16:33 +0000)]
Fixed cmockery "Issue 9: assert_macro.c"

   Reported by khb.hnu, Apr 12, 2009
   Line30:

   for (i = 0; i < sizeof(status_code_string) / sizeof(status_code_string[0]);
   change it as follow:

   for (i = 0; i < sizeof(status_code_strings) / sizeof(status_code_strings[0]);

git-svn-id: http://cmockery.googlecode.com/svn/trunk@33 40f4469a-5155-0410-be90-2de3f0bae501

15 years agoFix for "Issue 7: value_in_set_display_error() falsely reports errors." reported...
stewartamiles [Thu, 23 Jul 2009 16:33:12 +0000 (16:33 +0000)]
Fix for "Issue 7: value_in_set_display_error() falsely reports errors." reported on code.google.com/p/cmockery.

git-svn-id: http://cmockery.googlecode.com/svn/trunk@32 40f4469a-5155-0410-be90-2de3f0bae501

15 years agoFixed Issue 6 from code.google.com/p/cmockery : IsDebuggerPresent() function is not...
stewartamiles [Thu, 23 Jul 2009 16:32:54 +0000 (16:32 +0000)]
Fixed Issue 6 from code.google.com/p/cmockery : IsDebuggerPresent() function is not declared in Visual Studion 2005 and lower

git-svn-id: http://cmockery.googlecode.com/svn/trunk@31 40f4469a-5155-0410-be90-2de3f0bae501

15 years agoFixed code.google.com/p/cmockery Issue 5: Using will_return_count with count=-1 ...
stewartamiles [Thu, 23 Jul 2009 16:32:06 +0000 (16:32 +0000)]
Fixed code.google.com/p/cmockery Issue 5: Using will_return_count with count=-1 (to always repeat return value) results in assertion failure.

git-svn-id: http://cmockery.googlecode.com/svn/trunk@30 40f4469a-5155-0410-be90-2de3f0bae501

15 years ago* Modified cmockery's windows makefile so that it's possible to build the library...
stewartamiles [Thu, 23 Jul 2009 16:31:35 +0000 (16:31 +0000)]
* Modified cmockery's windows makefile so that it's possible to build the library from any current directory.

git-svn-id: http://cmockery.googlecode.com/svn/trunk@29 40f4469a-5155-0410-be90-2de3f0bae501

15 years agoIntegrated patch from "code.google.com/p/cmockery Issue 4: [PATCH] Support for "out...
stewartamiles [Thu, 23 Jul 2009 16:05:50 +0000 (16:05 +0000)]
Integrated patch from "code.google.com/p/cmockery Issue 4: [PATCH] Support for "out of source-tree" builds"

git-svn-id: http://cmockery.googlecode.com/svn/trunk@28 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoMon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com>
stewartamiles [Tue, 16 Sep 2008 01:16:42 +0000 (01:16 +0000)]
Mon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com>
* cmockery: version 0.12
* Made it possible to specify additional compiler, lib tool and link
flags on Windows.
* Added Windows makefile to the tar ball.

Fri Aug 29 10:50:46 2008  Google Inc. <opensource@google.com>

git-svn-id: http://cmockery.googlecode.com/svn/trunk@18 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoMon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com>
stewartamiles [Tue, 16 Sep 2008 01:05:57 +0000 (01:05 +0000)]
Mon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com>
* cmockery: version 0.12
* Made it possible to specify additional compiler, lib tool and link
flags on Windows.
* Added Windows makefile to the tar ball.

Fri Aug 29 10:50:46 2008  Google Inc. <opensource@google.com>

git-svn-id: http://cmockery.googlecode.com/svn/trunk@17 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoMon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com>
stewartamiles [Tue, 16 Sep 2008 00:32:50 +0000 (00:32 +0000)]
Mon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com>
* cmockery: version 0.12
* Made it possible to specify additional compiler, lib tool and link
flags on Windows.
* Added Windows makefile to the tar ball.

Fri Aug 29 10:50:46 2008  Google Inc. <opensource@google.com>

git-svn-id: http://cmockery.googlecode.com/svn/trunk@15 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoMon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com>
stewartamiles [Tue, 16 Sep 2008 00:23:11 +0000 (00:23 +0000)]
Mon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com>
* cmockery: version 0.12
* Made it possible to specify additional compiler, lib tool and link
flags on Windows.
* Added Windows makefile to the tar ball.

Fri Aug 29 10:50:46 2008  Google Inc. <opensource@google.com>

git-svn-id: http://cmockery.googlecode.com/svn/trunk@13 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoFri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com>
stewartamiles [Tue, 16 Sep 2008 00:20:10 +0000 (00:20 +0000)]
Fri Aug 29 10:50:46 2008  Google Inc. <opensource@google.com>

* cmockery: version 0.11
* Made it possible to specify executable, library and object output
  directories.

git-svn-id: http://cmockery.googlecode.com/svn/trunk@12 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoFri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com>
stewartamiles [Tue, 2 Sep 2008 16:12:58 +0000 (16:12 +0000)]
Fri Aug 29 10:50:46 2008  Google Inc. <opensource@google.com>

* cmockery: version 0.11
* Made it possible to specify executable, library and object output
  directories.

git-svn-id: http://cmockery.googlecode.com/svn/trunk@11 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoFri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com>
stewartamiles [Fri, 29 Aug 2008 23:41:49 +0000 (23:41 +0000)]
Fri Aug 29 10:50:46 2008  Google Inc. <opensource@google.com>

* cmockery: version 0.11
* Made it possible to specify executable, library and object output
  directories.

git-svn-id: http://cmockery.googlecode.com/svn/trunk@10 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoRemoved some empty temporary directories
stewartamiles [Fri, 29 Aug 2008 22:57:09 +0000 (22:57 +0000)]
Removed some empty temporary directories

git-svn-id: http://cmockery.googlecode.com/svn/trunk@9 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoFri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com>
stewartamiles [Fri, 29 Aug 2008 22:42:17 +0000 (22:42 +0000)]
Fri Aug 29 10:50:46 2008  Google Inc. <opensource@google.com>

* cmockery: version 0.11
* Made it possible to specify executable, library and object output
  directories.

git-svn-id: http://cmockery.googlecode.com/svn/trunk@7 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoFri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com>
stewartamiles [Fri, 29 Aug 2008 17:58:06 +0000 (17:58 +0000)]
Fri Aug 29 10:50:46 2008  Google Inc. <opensource@google.com>

* cmockery: version 0.11
* Made it possible to specify executable, library and object output
  directories.

git-svn-id: http://cmockery.googlecode.com/svn/trunk@5 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoTue Aug 26 10:18:02 2008 Google Inc. <opensource@google.com>
stewartamiles [Tue, 26 Aug 2008 17:51:56 +0000 (17:51 +0000)]
Tue Aug 26 10:18:02 2008  Google Inc. <opensource@google.com>

* cmockery: initial release:
  A lightweight library to simplify and generalize the process of
  writing unit tests for C applications.

git-svn-id: http://cmockery.googlecode.com/svn/trunk@3 40f4469a-5155-0410-be90-2de3f0bae501

16 years agoInitial directory structure.
(no author) [Tue, 26 Aug 2008 00:01:16 +0000 (00:01 +0000)]
Initial directory structure.

git-svn-id: http://cmockery.googlecode.com/svn/trunk@1 40f4469a-5155-0410-be90-2de3f0bae501