aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_test.c
AgeCommit message (Expand)AuthorFilesLines
2013-06-19Rework wmem scoping limits so that users can still get a handle to a pool whenEvan Huus1-0/+1
2013-06-18Resurrect wmem_memdup in its own misc. utilities group. Emem provides it, so weEvan Huus1-0/+25
2013-06-18Add wmem_alloc_array, wmem_strsplit, wmem_strconcat.Evan Huus1-27/+50
2013-06-18Scrap wmem_memdup, it's not actually as useful as I thought it would be.Evan Huus1-25/+0
2013-06-18Add test block for wmem_tree_lookup32_array_le(), fix other tests where certainEvan Huus1-2/+26
2013-06-18Wmem tree tests with non-trivial keys.Evan Huus1-3/+5
2013-06-18Re-port a bunch of the red-black tree code from wmem with fewer modifications,Evan Huus1-15/+5
2013-06-18Add tests for red-black tree array keys, if0-ed out until I can make them notEvan Huus1-4/+74
2013-06-17Fix the test to respect the new behaviour.Evan Huus1-1/+2
2013-06-16More callback tweaks, to permit unregistering a callback from the same placeEvan Huus1-16/+18
2013-06-16Rework the user callback code a bit to make it saner to use with the auto-resetEvan Huus1-19/+22
2013-06-16Fix occasional wmem_test failure, allocator destruction order mattersEvan Huus1-4/+1
2013-06-15Most of a red-black tree implementation for wmem, based heavily on the ememEvan Huus1-1/+105
2013-06-09Add memdup function to wmem.Evan Huus1-0/+25
2013-05-22Minor refactor: make the framework responsible for allocating and freeing theEvan Huus1-6/+7
2013-05-20Make the minimum supported GLib version 2.16.Gerald Combs1-14/+0
2013-05-16Use a readable name for the wmem callback test. Warn that reallocing memoryEvan Huus1-5/+5
2013-05-08Round two of wmem cleanup callbacks. While the emem tree behaviour will requireEvan Huus1-21/+64
2013-05-07Add user callbacks to wmem. This feature is a generic way to transparently mimicEvan Huus1-0/+35
2013-05-04Stub out the wmem test suite for older Glibs. This should restoreEvan Huus1-0/+14
2013-04-30In part from Raúl Pérez Clavero via https://bugs.wireshark.org/bugzilla/sho...Evan Huus1-0/+17
2013-04-26Wmem string-buffer improvements:Evan Huus1-3/+26
2013-04-24Add truncate function to wmem strbuf.Evan Huus1-0/+8
2013-04-22Add tests for wmem stack, and misc. tweaks to other tests.Evan Huus1-7/+40
2013-04-22Convert another instance of g_assert_cmpuint to g_assert.Gerald Combs1-3/+3
2013-04-22Improve wmem strbuf tests, add tests for string util. functionsEvan Huus1-0/+49
2013-04-22Don't use g_assert_cmpuint, its definition breaks the WindowsEvan Huus1-8/+8
2013-04-21Add wmem string-buffer tests and fix associated bugs.Evan Huus1-4/+42
2013-04-10Add wmem tests for the singly-linked list implementation.Evan Huus1-1/+50
2013-03-27Loop the timing test 128 times so that statistics work more in our favour.Evan Huus1-11/+15
2013-03-27Add a timing test to check that the block allocator is actually faster than theEvan Huus1-0/+42
2013-03-27Generalize the allocator test function and use it to test the simple andEvan Huus1-14/+66
2013-03-27Fix -Wshadow that happens with some old versions of gcc (not mine, for someEvan Huus1-10/+11
2013-03-27Greatly improve wmem tests, including random fuzz-style testing. ImproveEvan Huus1-8/+86
2013-03-24Replace implicit conversions with explicit casts.Guy Harris1-4/+4
2013-03-24Fix a few small bugs in the block allocator and add some more assertions to itEvan Huus1-36/+22
2013-03-24Initial simple block allocator tests, not being run by default because they'reEvan Huus1-2/+58
2013-03-20Add empty placeholder wmem test suite. Hopefully my automake skills wereEvan Huus1-0/+44