summaryrefslogtreecommitdiff
path: root/test/libapt/configuration_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* use Google C++ Testing Framework for libapt testsDavid Kalnischkies2014-04-161-80/+87
| | | | | | | | | | | | My commit 45df0ad2 from 26. Nov 2009 had a little remark: "The commit also includes a very very simple testapp." This was never intended to be permanent, but as usually… The commit adds the needed make magic to compile gtest statically as it is required and links it against a small runner. All previous testcase binaries are reimplemented in gtest and combined in this runner. While most code is a 1:1 translation some had to be rewritten like compareversion_test.cc, but the coverage remains the same.
* cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-0/+2
| | | | | | | | Beside being a bit cleaner it hopefully also resolves oddball problems I have with high levels of parallel jobs. Git-Dch: Ignore Reported-By: iwyu (include-what-you-use)
* warning: unused parameter ‘foo’ [-Wunused-parameter]David Kalnischkies2014-03-131-1/+1
| | | | | Reported-By: gcc -Wunused-parameter Git-Dch: Ignore
* add default and override handling for Cnf::FindVectorDavid Kalnischkies2014-03-131-3/+31
| | | | | | Automatically handle the override of list options via its parent value which can even be a comma-separated list of values. It also adds an easy way of providing a default for the list.
* * lp:~mvo/apt/config-clear:Michael Vogt2013-08-151-0/+4
| | | | | | | - support Configuration.Clear() for a clear of the entire configuration Conflicts: debian/changelog
* /dev/null is a special absolute path as it has no subdirectoriesDavid Kalnischkies2012-04-231-0/+5
|
* normalize a bit by replacing // and /./ with / in FindFileDavid Kalnischkies2012-04-231-0/+13
|
* * apt-pkg/contrib/configuration.cc:David Kalnischkies2012-01-301-0/+9
| | | | | - do not stop parent transversal in FindDir if the value is empty See http://lists.debian.org/deity/2012/01/msg00053.html , too.
* merge the tests for configuration into another libapt-testDavid Kalnischkies2011-08-171-0/+78