Signed-off-by: Federico Aponte <federico.aponte@sysdig.com>
Reported by cppcheck Signed-off-by: Samuel Gaist <samuel.gaist@idiap.ch>
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
Add unit tests for add_source() and its related find_*_for_source() methods. The test just verifies that the values provided to add_source() are the same as the values returned by the find methods. Signed-off-by: Mark Stemm <mark.stemm@gmail.com>