Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-02-21 | Enable warning Wundef | Lukas Slebodnik | 1 | -26/+26 | |
It is better to use "#ifdef" for testing macros instead of "#if" In header file, "#ifdef DOXYGEN" was used 30 times and "#if DOXYGEN" 23 times. This patch makes it consistent and enable warning Wundef to prevent this kind of issues. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-02-21 | Use better formatting string for printing numbers | Lukas Slebodnik | 1 | -2/+2 | |
Numbers were printed as hexadecimal.n eror message, It is good practice to print "0x" before hexadecimal numbers, because it may be confusing without this. Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-12-23 | cmocka: Fix typo in the docs. | Andreas Schneider | 1 | -2/+4 | |
2013-12-23 | cmocka: Add assert_return_code(). | Andreas Schneider | 1 | -0/+26 | |
2013-10-27 | include: Don't stringify twice with will_return_always(). | Travis Hendrickson | 1 | -1/+1 | |
2013-10-27 | include: Fix unit_test_teardown macro. | Andreas Schneider | 1 | -1/+0 | |
2013-07-29 | include: Correctly define unit_test_setup() and unit_test_teardown(). | Andreas Schneider | 1 | -4/+13 | |
Thanks to James Grenning <james@grenning.net>. | |||||
2013-07-24 | include: Don't redefine uintptr_t on Windows. | Andreas Schneider | 1 | -30/+25 | |
Visual Studio defines _UINTPTR_T_DEFINED if we have uintptr_t. | |||||
2013-07-18 | Add new macro will_return_always | Pavel Březina | 1 | -0/+22 | |
Signed-off-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-07-18 | Add new macro fail_msg | Pavel Březina | 1 | -0/+12 | |
Signed-off-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-06-04 | doc: Add some more documentation for Mock Objects. | Andreas Schneider | 1 | -0/+36 | |
2013-06-04 | doc: Document expect_memory(). | Andreas Schneider | 1 | -4/+89 | |
2013-06-04 | doc: Document expect_any(). | Andreas Schneider | 1 | -4/+35 | |
2013-06-04 | doc: Fix doc build. | Andreas Schneider | 1 | -8/+8 | |
2013-06-04 | doc: Document expect_value(). | Andreas Schneider | 1 | -3/+78 | |
2013-06-04 | doc: document expect_range family of functions | Jakub Hrozek | 1 | -8/+88 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-06-04 | doc: Fix the doc of the count parameter in expect_*(). | Andreas Schneider | 1 | -7/+13 | |
2013-06-04 | doc: Fix typo in expect_not_in_set_count(). | Andreas Schneider | 1 | -1/+1 | |
2013-06-04 | doc: Add comment to check_expected(). | Andreas Schneider | 1 | -0/+2 | |
2013-06-04 | doc: Add example for parameter checking. | Andreas Schneider | 1 | -0/+24 | |
2013-06-04 | doc: Document expect_string*() | Andreas Schneider | 1 | -4/+80 | |
2013-06-04 | doc: Document expect_in_set(). | Andreas Schneider | 1 | -3/+78 | |
2013-06-04 | Add new macros mock_type and mock_ptr_type | Jakub Hrozek | 1 | -0/+54 | |
Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2013-01-17 | file: Remove execute bits of C files. | Andreas Schneider | 1 | -0/+0 | |
2012-11-30 | doc: Document check_expected(). | Andreas Schneider | 1 | -3/+11 | |
2012-11-30 | doc: Document expect_check(). | Andreas Schneider | 1 | -0/+20 | |
2012-11-30 | doc: Add section for checking parameters. | Andreas Schneider | 1 | -0/+22 | |
2012-11-16 | doc: Document expect_assert_failure(). | Andreas Schneider | 1 | -4/+13 | |
2012-11-16 | doc: Document mock_assert(). | Andreas Schneider | 1 | -8/+36 | |
2012-11-16 | doc: Document Standard Assertions group. | Andreas Schneider | 1 | -0/+20 | |
2012-11-16 | doc: Document test_free(). | Andreas Schneider | 1 | -0/+11 | |
2012-11-16 | doc: Document test_calloc(). | Andreas Schneider | 1 | -0/+18 | |
2012-11-16 | doc: Document test_malloc(). | Andreas Schneider | 1 | -1/+27 | |
2012-11-16 | doc: Document Dynamic Memory Allocation group. | Andreas Schneider | 1 | -0/+25 | |
2012-11-16 | doc: Document assert_not_in_set(). | Andreas Schneider | 1 | -1/+16 | |
2012-11-16 | doc: Document assert_in_set(). | Andreas Schneider | 1 | -1/+17 | |
2012-11-16 | doc: Document assert_not_in_range(). | Andreas Schneider | 1 | -1/+17 | |
2012-11-16 | doc: Document assert_in_range(). | Andreas Schneider | 1 | -1/+0 | |
2012-11-10 | doc: Document assert_in_range(). | Andreas Schneider | 1 | -0/+17 | |
2012-11-10 | doc: Document assert_memory_not_equal(). | Andreas Schneider | 1 | -2/+19 | |
2012-11-10 | doc: Document assert_memory_equal(). | Andreas Schneider | 1 | -2/+20 | |
2012-11-10 | doc: Document assert_string_not_equal(). | Andreas Schneider | 1 | -1/+14 | |
2012-11-05 | doc: Document assert_string_equal(). | Andreas Schneider | 1 | -1/+15 | |
2012-11-05 | doc: Document assert_int_not_equal(). | Andreas Schneider | 1 | -1/+16 | |
2012-11-05 | doc: Document assert_int_equal(). | Andreas Schneider | 1 | -1/+15 | |
2012-11-05 | doc: Document assert_null(). | Andreas Schneider | 1 | -1/+14 | |
2012-11-05 | doc: Add a more detailed description to the Assert Macros section. | Andreas Schneider | 1 | -0/+9 | |
2012-11-05 | doc: Add example to Running Tests section. | Andreas Schneider | 1 | -15/+17 | |
2012-10-19 | include: Document assert_non_null(). | Andreas Schneider | 1 | -2/+16 | |
2012-10-19 | include: Document assert_false(). | Andreas Schneider | 1 | -3/+18 | |