summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2014-02-21Enable warning WundefLukas Slebodnik1-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-21Use better formatting string for printing numbersLukas Slebodnik1-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-23cmocka: Fix typo in the docs.Andreas Schneider1-2/+4
2013-12-23cmocka: Add assert_return_code().Andreas Schneider1-0/+26
2013-10-27include: Don't stringify twice with will_return_always().Travis Hendrickson1-1/+1
2013-10-27include: Fix unit_test_teardown macro.Andreas Schneider1-1/+0
2013-07-29include: Correctly define unit_test_setup() and unit_test_teardown().Andreas Schneider1-4/+13
Thanks to James Grenning <james@grenning.net>.
2013-07-24include: Don't redefine uintptr_t on Windows.Andreas Schneider1-30/+25
Visual Studio defines _UINTPTR_T_DEFINED if we have uintptr_t.
2013-07-18Add new macro will_return_alwaysPavel Březina1-0/+22
Signed-off-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-18Add new macro fail_msgPavel Březina1-0/+12
Signed-off-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-06-04doc: Add some more documentation for Mock Objects.Andreas Schneider1-0/+36
2013-06-04doc: Document expect_memory().Andreas Schneider1-4/+89
2013-06-04doc: Document expect_any().Andreas Schneider1-4/+35
2013-06-04doc: Fix doc build.Andreas Schneider1-8/+8
2013-06-04doc: Document expect_value().Andreas Schneider1-3/+78
2013-06-04doc: document expect_range family of functionsJakub Hrozek1-8/+88
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-06-04doc: Fix the doc of the count parameter in expect_*().Andreas Schneider1-7/+13
2013-06-04doc: Fix typo in expect_not_in_set_count().Andreas Schneider1-1/+1
2013-06-04doc: Add comment to check_expected().Andreas Schneider1-0/+2
2013-06-04doc: Add example for parameter checking.Andreas Schneider1-0/+24
2013-06-04doc: Document expect_string*()Andreas Schneider1-4/+80
2013-06-04doc: Document expect_in_set().Andreas Schneider1-3/+78
2013-06-04Add new macros mock_type and mock_ptr_typeJakub Hrozek1-0/+54
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-01-17file: Remove execute bits of C files.Andreas Schneider1-0/+0
2012-11-30doc: Document check_expected().Andreas Schneider1-3/+11
2012-11-30doc: Document expect_check().Andreas Schneider1-0/+20
2012-11-30doc: Add section for checking parameters.Andreas Schneider1-0/+22
2012-11-16doc: Document expect_assert_failure().Andreas Schneider1-4/+13
2012-11-16doc: Document mock_assert().Andreas Schneider1-8/+36
2012-11-16doc: Document Standard Assertions group.Andreas Schneider1-0/+20
2012-11-16doc: Document test_free().Andreas Schneider1-0/+11
2012-11-16doc: Document test_calloc().Andreas Schneider1-0/+18
2012-11-16doc: Document test_malloc().Andreas Schneider1-1/+27
2012-11-16doc: Document Dynamic Memory Allocation group.Andreas Schneider1-0/+25
2012-11-16doc: Document assert_not_in_set().Andreas Schneider1-1/+16
2012-11-16doc: Document assert_in_set().Andreas Schneider1-1/+17
2012-11-16doc: Document assert_not_in_range().Andreas Schneider1-1/+17
2012-11-16doc: Document assert_in_range().Andreas Schneider1-1/+0
2012-11-10doc: Document assert_in_range().Andreas Schneider1-0/+17
2012-11-10doc: Document assert_memory_not_equal().Andreas Schneider1-2/+19
2012-11-10doc: Document assert_memory_equal().Andreas Schneider1-2/+20
2012-11-10doc: Document assert_string_not_equal().Andreas Schneider1-1/+14
2012-11-05doc: Document assert_string_equal().Andreas Schneider1-1/+15
2012-11-05doc: Document assert_int_not_equal().Andreas Schneider1-1/+16
2012-11-05doc: Document assert_int_equal().Andreas Schneider1-1/+15
2012-11-05doc: Document assert_null().Andreas Schneider1-1/+14
2012-11-05doc: Add a more detailed description to the Assert Macros section.Andreas Schneider1-0/+9
2012-11-05doc: Add example to Running Tests section.Andreas Schneider1-15/+17
2012-10-19include: Document assert_non_null().Andreas Schneider1-2/+16
2012-10-19include: Document assert_false().Andreas Schneider1-3/+18