summaryrefslogtreecommitdiff
path: root/common/collection/collection_queue_ut.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-01COLLECTION: Fixing queue collection and unit tests.Dmitri Pal1-10/+117
This patch includes following functionality: 1) Fixed the invalid handling of the pointers in the collection when last element is removed from the collection. 2) Added unit test to verify the fix. 3) Modified the three unit test to be verbose on demand. 4) Switched the main of the unit test to use array of functions rather than big if statement.
2009-07-03Clean up warnings in common/Simo Sorce1-2/+2
Fix consts and function declarations
2009-07-02Changing function names for collection API.Dmitri Pal1-18/+18
Patch prepends prefix "col_" to all functions related to collection. This caused some formatiing issues so the alignement was addressed too.
2009-07-02Queue and stack APIs using collection.Dmitri Pal1-0/+101
Patch adds two interfaces for stack and queue using collection as underlaying implementation. It also fixes a bug in the insterion code - the unsigned properties were created as long.