add a testcase for FindPackages() to better validate that cdrom should work.
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 11 Dec 2011 01:55:20 +0000 (02:55 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sun, 11 Dec 2011 01:55:20 +0000 (02:55 +0100)
commit2c405a44a0e4ff4c6f40e2521a55811179c87ec3
tree0342465f117b326306ba0dbaf11cba46dbe6bc2e
parent212080b87daa25944259287a5a625e63dd696ff0
add a testcase for FindPackages() to better validate that cdrom should work.
Unfortunately it's hard to do an automated integration test with cd, so we
test this method in isolation which tries to find Indexes and dropping
of duplications with DropRepeats()
apt-pkg/cdrom.cc
test/libapt/cdromfindpackages_test.cc [new file with mode: 0644]
test/libapt/makefile
test/libapt/run-tests