Commit Graph

  • 2453c23475 Alias ptr asserts to assert_msg with no message master Friedrich Schwedler 2024-03-12 17:26:30 +0100
  • dadc4c7e0c Add tests for asserting pointers with message Friedrich Schwedler 2024-03-12 13:57:17 +0100
  • 614175f145 Implement assert macros with user provided error messages Friedrich Schwedler 2024-03-12 17:13:10 +0100
  • 9fd057cc71 add a function to print an aditional message Friedrich Schwedler 2024-03-13 11:02:56 +0100
  • f9e5b1fa3b treewide: Use bool intead of int wherever possible Jakub Czapiga 2024-02-05 18:23:36 +0100
  • 48df48211c Add initial CONTRIBUTING.md Andreas Schneider 2024-02-06 08:08:56 +0100
  • 563df866d7 clang-format: Update to reflect coding style Andreas Schneider 2024-02-06 07:48:28 +0100
  • 5fee42e0ba cmocka: Implement better memory_equal_display_error() Andreas Schneider 2024-02-03 16:26:01 +0100
  • 327c359586 cmocka: Use bool and uint8_t for memory_equal_display_error() Andreas Schneider 2024-02-03 15:09:27 +0100
  • e48a664e75 cmocka: Add all_zero() function and test Andreas Schneider 2024-02-04 10:31:05 +0100
  • 371497b419 tests: Add tests for assert_memory_equal() Andreas Schneider 2024-02-03 16:25:34 +0100
  • 8be3737209 cmocka: Fix assert_memory_equal() display stable-1.1 Joseph Sutton 2022-10-12 15:28:15 +1300
  • 2206c22515 cmocka: Fix assert_memory_equal() display Joseph Sutton 2022-10-12 15:28:15 +1300
  • fb38de9dd4 cmake: disable `-Wdeclaration-after-statement` Alois Klink 2022-12-13 13:06:34 +0000
  • a74d9cd2ed Sanitize XML strings. Jakub Czapiga 2024-01-30 11:12:03 +0100
  • 4e9219815f Improve c_strreplace implementation Jakub Czapiga 2024-01-30 10:36:32 +0100
  • 90315882d6 Sanitize XML strings. Jakub Czapiga 2024-01-30 11:12:03 +0100
  • 54b3af4631 Improve c_strreplace implementation Jakub Czapiga 2024-01-30 10:36:32 +0100
  • ea6ab8bc26 cmake: Set CMOCKA_LIBRARIES in package config for backwards compatibility Alexander Dahl 2023-03-17 10:06:12 +0100
  • 53de473cdd cmocka: Add overflow check for test_calloc() Alexander Dahl 2022-12-23 10:35:49 +0100
  • e738d6eada tests: Add test for test_calloc() Alexander Dahl 2022-12-23 10:21:27 +0100
  • 390b9c1895 cmocka: Get rid of _expect_in_set() Andreas Schneider 2024-01-07 20:37:45 +0100
  • 722c7ad5ef tests: Add test for expect_uint_in_set_count() Andreas Schneider 2024-01-07 20:35:18 +0100
  • a9e34d885a cmocka: Implement expect_uint_in_set() Andreas Schneider 2024-01-07 20:29:31 +0100
  • 669b05fef6 cmocka: Add expect_uint_in_set_count() Andreas Schneider 2024-01-06 14:15:28 +0100
  • 6d93495050 cmocka: Implement __expect_uint_in_set() Andreas Schneider 2024-01-06 14:08:26 +0100
  • 59b61c72b1 cmocka: Implement expect_int_in_set_count() Andreas Schneider 2024-01-06 14:11:33 +0100
  • 241c933413 tests: Add test for expect_int_in_set_count() Andreas Schneider 2024-01-06 13:59:23 +0100
  • c999637585 cmocka: Add expect_int_in_set_count() Andreas Schneider 2024-01-06 13:24:52 +0100
  • 4b2dafe85d cmocka: Implement _expect_int_in_set() Andreas Schneider 2024-01-06 13:20:13 +0100
  • de511ab272 cmocka: Add missing null check in _expect_check() Andreas Schneider 2024-01-06 13:07:43 +0100
  • 9e6ab12ae2 cmocka: Use uint_value_in_set_display_error() in _assert_not_in_set() Andreas Schneider 2024-01-06 12:42:48 +0100
  • 83ed06d9aa cmocka: Reformat expect_check_count() define Andreas Schneider 2024-01-06 12:34:09 +0100
  • 4cb63191de cmocka: Reformat expect_check() Andreas Schneider 2024-01-06 12:32:56 +0100
  • 6f187f610b test: Add a uint64_t test for will_return_uint/mock_uint Andreas Schneider 2024-02-02 11:15:22 +0100
  • a5cb5c3354 Add unit tests for assert_false() Eshan Kelkar 2023-12-23 11:07:02 +0530
  • 5740aff1a1 Add unit tests for assert_true() Eshan Kelkar 2023-12-23 10:48:15 +0530
  • ad567f8d85 Make assert_true(), assert_false() more verbose Eshan Kelkar 2023-12-18 11:40:26 +0530
  • 109645a20f include: Remove old MVSC prototype Andreas Schneider 2023-08-01 11:09:46 +0200
  • 323e87dacc include: avoid GCC -Wuninitialized in assert_ptr* Alois Klink 2023-01-30 15:33:53 +0000
  • 6698413af7 update meson tests wdlkmpx 2023-06-14 15:08:00 -0500
  • e813179555 meson.build: install library if not a subproject wdlkmpx 2023-06-13 16:00:48 +0000
  • ad446d96d3 cmake: enable WINDOWS_EXPORT_ALL_SYMBOLS Alois Klink 2023-05-21 23:20:41 +0100
  • 1442e46446 include: add CMOCKA_DLLEXTERN for MSVC DLLs Alois Klink 2023-07-29 03:31:41 +0100
  • 1b019882ba 89 add deprecated cm_print_error Alexander Courtis 2023-04-29 13:05:27 +1000
  • 309ee5e402 Allow macros as input for convenience macros Thomas Bong 2023-01-20 13:40:46 +0100
  • 6ff1378b6f cmocka: Add overflow check for test_calloc() Alexander Dahl 2022-12-23 10:35:49 +0100
  • d87c470017 tests: Add test for test_calloc() Alexander Dahl 2022-12-23 10:21:27 +0100
  • a41ae23be3 gitlab-ci: Add code coverage Andreas Schneider 2023-03-22 15:34:25 +0100
  • dddce043e0 gitlab-ci: Do not install CMake Andreas Schneider 2023-03-22 15:40:32 +0100
  • de67675842 cmake: Set CMOCKA_LIBRARIES in package config for backwards compatibility Alexander Dahl 2023-03-17 10:06:12 +0100
  • a01cc69ee9 Bump version to 1.1.7 cmocka-1.1.7 Andreas Schneider 2023-02-23 15:04:02 +0100
  • 123f00e9b3 cpack: Update ignore files for source package generation Andreas Schneider 2023-02-19 09:36:28 +0100
  • 408ab76759 cpack: Update ignore files for source package generation Andreas Schneider 2023-02-19 09:36:28 +0100
  • f1e161507b Bump version 1.1.6 cmocka-1.1.6 Andreas Schneider 2023-02-16 15:40:14 +0100
  • 35dd06e2f6 tests: The exception handler doesn't work on Windows Andreas Schneider 2022-03-01 14:47:12 +0100
  • 9d72cf9b13 tests: Raise segmantation fault Andreas Schneider 2022-03-01 11:37:31 +0100
  • 2b20a4de30 tests: Rename exceptions tests array Andreas Schneider 2022-03-01 10:35:51 +0100
  • 4cd1fdadf3 tests: Better match for test_exception_handler Andreas Schneider 2023-02-16 22:07:00 +0100
  • 8ad2c4ed3d cmake: Fix path relocation in pkgconfig file for mingw Biswapriyo Nath 2022-06-24 23:51:20 +0530
  • 3137fa5200 cmake: Do not use CMAKE_(BINARY|SOURCE)_DIR for compile_commands.json Andreas Schneider 2023-01-24 18:06:10 +0100
  • 6e9d32f382 Improve INSTALL.md Andreas Schneider 2023-01-29 14:41:45 +0100
  • c4da7e1a44 doc: Link to the examples for mocking Andreas Schneider 2023-01-29 14:32:02 +0100
  • b13f29b808 include: Update copyright year info Andreas Schneider 2022-03-11 08:01:09 +0100
  • 98c451d67d include: Define strtok_r with Visual Studio Andreas Schneider 2022-03-05 22:01:50 +0100
  • 4aae8164a2 gitlab-ci: Move memory and ub sanitizer to analysis stage Andreas Schneider 2022-03-03 09:33:01 +0100
  • 559381b492 gitlab-ci: Move freebsd to test stage Andreas Schneider 2022-03-03 08:56:44 +0100
  • ce438139bf examples: Add missing compile and link options Andreas Schneider 2022-03-01 16:27:30 +0100
  • 5ead982c0c gitlab-ci: Introduce stages Andreas Schneider 2022-03-01 14:56:39 +0100
  • 5f366b6e48 gitlab-ci: Fix typo in fedora/mingw32 build Andreas Schneider 2022-03-01 10:04:58 +0100
  • 77476f7052 gitlab-ci: Use gitlab windows runners Andreas Schneider 2022-03-01 08:01:53 +0100
  • 200393beb5 gitlab-ci: Reformat yaml Andreas Schneider 2022-03-01 07:56:34 +0100
  • 406591aef3 tests: Initialize 'struct stat' in test_assert_macros.c Andreas Schneider 2022-03-01 11:43:03 +0100
  • b201da5e60 cmake: Fix path where to find cmocka.dll Andreas Schneider 2022-03-02 09:29:33 +0100
  • a47b3da765 include: Improved call ordering documentation Frédéric Jouault 2021-05-08 20:43:18 +0200
  • 61b1fb97fb doc: Remove redundant words Alexander Dahl 2022-02-08 14:07:29 +0100
  • 2cc8cba6ab Fix issue with fail_msg Ammar Ratnani 2021-03-27 21:58:21 -0400
  • a79b97cb92 coverity: Add missing functions to model file Andreas Schneider 2023-02-03 12:47:42 +0100
  • 4fccbc3466 gitlab-ci: Build also the coverity model files Andreas Schneider 2023-02-03 11:49:13 +0100
  • 776cc1f5eb coverity: Add makefile to build/test the model files Andreas Schneider 2023-02-03 11:43:04 +0100
  • fcb8a031b1 coverity: Add URL to modelling description Andreas Schneider 2023-02-02 17:44:17 +0100
  • bd266eb406 coverity: Add missing type definitions Andreas Schneider 2023-02-02 17:32:50 +0100
  • 4e8a7cd581 cmake: Add more compiler warnings Andreas Schneider 2023-01-29 15:54:35 +0100
  • 2df2d3a3ce cmake: Use C99 and define GNU and POSIX flags directly at source files Andreas Schneider 2023-01-29 15:53:44 +0100
  • 91b66f83c8 example: Fix pos value as snprintf returns an int Andreas Schneider 2023-01-29 15:54:07 +0100
  • a6b7cbca1c include: Improve expect_check() documentation Andreas Schneider 2023-01-29 15:15:33 +0100
  • 5e3411c7b9 tests: Mark state in some tests as unused Andreas Schneider 2023-02-01 08:38:09 +0100
  • 99b7572239 tests: Make test_expect_check more robust Andreas Schneider 2023-01-31 15:38:38 +0100
  • 57d2b8d207 Improve INSTALL.md Andreas Schneider 2023-01-29 14:41:45 +0100
  • 10569355fd doc: Link to the examples for mocking Andreas Schneider 2023-01-29 14:32:02 +0100
  • 6c021b6142 include: Improve documentation Andreas Schneider 2023-01-29 13:47:38 +0100
  • 23f1a46053 tests: Add tests for will_return/mock with ptr and type saftey checking Andreas Schneider 2023-01-29 13:40:34 +0100
  • 5ad69f2067 cmocka: Add some kind of type safety for will_return and mock Andreas Schneider 2023-01-29 12:30:14 +0100
  • 5f1159a9ad tests: Add tests for new will_return and mock macros Andreas Schneider 2023-01-29 11:55:42 +0100
  • 7a7653ca12 include: Add specific will_return and mock macros for different types Andreas Schneider 2023-01-29 11:02:59 +0100
  • c21515239b include: Add assign_(int|uint|double|ptr)_to_cmocka_value() macros Andreas Schneider 2023-01-29 10:47:52 +0100
  • 8bea210101 include: Move values in CMockaValueData union around Andreas Schneider 2023-01-29 10:38:21 +0100
  • 018bd67ad4 test: Test assert_ptr_equal and _not_equal macros Alois Klink 2022-12-30 13:49:17 +0000
  • a9cf98826b include: Remove cast_to_uintptr_type macro Alois Klink 2022-12-30 13:58:59 +0000
  • 4e2e7c16d0 include: Remove cast_ptr_to_uintmax_type macro Alois Klink 2022-12-30 13:56:40 +0000