summaryrefslogtreecommitdiff
path: root/src/lib/test-array.c
AgeCommit message (Expand)AuthorLines
2021-06-14lib: Add array_foreach_reverse[_modifiable]()Timo Sirainen-0/+51
2021-05-25lib: test-array - Add more unit tests for array_foreach*()Timo Sirainen-1/+11
2021-05-07lib: Add array_idx_elem()Timo Sirainen-0/+31
2021-05-07lib: Remove array_swap()Timo Sirainen-23/+0
2021-05-07lib: array_foreach_elem() - Don't allow using it for sizes larger than a pointerTimo Sirainen-23/+0
2021-04-13lib: test-array - Fix LTO compiler warningsTimo Sirainen-6/+10
2021-03-19global: Avoid casting away constTimo Sirainen-1/+1
2021-03-04lib: test-array - Use i_strcmp_p() instead of reimplementing itTimo Sirainen-8/+4
2021-01-15lib: array - Make sure it assert-crashes if trying to add more than UINT_MAX ...Timo Sirainen-0/+24
2020-10-22global: Explicitly wrap values to fit targetAki Tuomi-1/+2
2020-10-22global: Add explicit casts where neededAki Tuomi-1/+1
2020-09-11global: Use i_rand_limit(limit) instead of i_rand() % limitAki Tuomi-6/+6
2020-09-11lib: Use i_rand_limit() helpersAki Tuomi-1/+1
2019-01-15global: Rename array_first and array_last to array_front and backAki Tuomi-2/+2
2019-01-15global: Use array_push_back instead of array_appendAki Tuomi-9/+9
2019-01-10global: Really change array_idx(A, 0) to array_first(A)Aki Tuomi-2/+2
2019-01-10lib: array - Fix asserts to work correctly on 32-bit systemsAki Tuomi-2/+2
2018-08-31lib: Remove a dead assignment from test-array.cMartti Rannanjärvi-1/+1
2018-08-30lib: test-array - tests that freeing without data doesn't free the dataPhil Carmody-0/+30
2018-01-01Updated copyright notices to include the year 2018.Stephan Bosch-1/+1
2017-11-27lib: Use test_expect_fatal_string() for all fatal unit testsTimo Sirainen-0/+4
2017-10-05global: Remove dead codeTimo Sirainen-3/+3
2017-09-07global: Replace rand with i_randAki Tuomi-8/+8
2017-01-01Updated copyright notices to include the year 2017.Stephan Bosch-1/+1
2016-12-14lib-test: Change test_fatal_func_t to take unsigned int stage as parameter.Timo Sirainen-3/+3
2016-06-05global: More fixes to mismatched bool vs int handlingTimo Sirainen-15/+15
2016-04-19lib: test-array - test new element-assigning iteratorPhil Carmody-0/+54
2016-01-13global: freshen copyrightTimo Sirainen-1/+1
2015-09-23Remove now-unnecessary direct stdlib.h #includes.Teemu Huovila-1/+0
2015-04-16lib: test-array build warnings on Solaris 10Phil Carmody-3/+5
2015-02-02lib: array - test count/isempty/noneptyPhil Carmody-0/+20
2015-01-24lib: array - helper to swap array buffer ownershipPhil Carmody-0/+23
2015-01-05global: freshen copyrightPhil Carmody-1/+1
2015-01-05lib: test-array - test new lsearch helperPhil Carmody-1/+18
2014-12-01lib: test-array - really really really stop gcc optimising away fatal testsPhil Carmody-6/+8
2014-11-28lib: test-array - remove possibility to optimise out testsPhil Carmody-1/+17
2014-11-25lib: test-array - fix off-by-one in test_reversePhil Carmody-1/+1
2014-11-25lib: test-array - fatal testsPhil Carmody-0/+25
2014-11-25lib: test-array - new equality testersPhil Carmody-2/+85
2014-11-25lib: test-array - test array_cmp()Phil Carmody-0/+37
2014-02-04Updated copyright notices to include year 2014.Timo Sirainen-1/+1
2013-02-02Oops :) Update copyrights to 2013 without breaking all .c files.Timo Sirainen-1/+1
2013-02-02Updated copyright notices to include year 2013.Timo Sirainen-1/+1
2012-08-19Array API changed: ARRAY_DEFINE(name, type) -> ARRAY(type) nameTimo Sirainen-2/+2
2012-05-08Compiler warning fixesTimo Sirainen-1/+1
2012-02-12Updated copyright notices to include year 2012.Timo Sirainen-1/+1
2011-03-04Updated copyright notices to include year 2011.Timo Sirainen-1/+1
2010-01-25Updated copyright notices to include year 2010.Timo Sirainen-1/+1
2009-12-02Added array_foreach_idx()Timo Sirainen-0/+28
2009-06-01liblib unit tests are now split to separate files.Timo Sirainen-0/+30