<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/test/libapt/hashsums_test.cc, branch 1.1.exp1</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.1.exp1</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.1.exp1'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2014-05-09T11:06:27Z</updated>
<entry>
<title>use HashStringList in the acquire system</title>
<updated>2014-05-09T11:06:27Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-08-18T22:00:23Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=b3501edb7091ca3aa6c2d6d96dc667b8161dd2b9'/>
<id>urn:sha1:b3501edb7091ca3aa6c2d6d96dc667b8161dd2b9</id>
<content type='text'>
It is not very extensible to have the supported Hashes hardcoded
everywhere and especially if it is part of virtual method names.
It is also possible that a method does not support the 'best' hash
(yet), so we might end up not being able to verify a file even though we
have a common subset of supported hashes. And those are just two of the
cases in which it is handy to have a more dynamic selection.

The downside is that this is a MAJOR API break, but the HashStringList
has a string constructor for compatibility, so with a bit of luck the
few frontends playing with the acquire system directly are okay.
</content>
</entry>
<entry>
<title>add a simple container for HashStrings</title>
<updated>2014-05-08T23:25:55Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-08-18T21:17:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f4c3850ea335545e297504941dc8c7a8f1c83358'/>
<id>urn:sha1:f4c3850ea335545e297504941dc8c7a8f1c83358</id>
<content type='text'>
APT supports more than just one HashString and even allows to enforce
the usage of a specific hash. This class is intended to help with
storage and passing around of the HashStrings.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>use Google C++ Testing Framework for libapt tests</title>
<updated>2014-04-16T16:36:14Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-04-16T15:09:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f00832cc273e52a47fb88e49849891b771de4e17'/>
<id>urn:sha1:f00832cc273e52a47fb88e49849891b771de4e17</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>cleanup headers and especially #includes everywhere</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-03-05T21:11:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=453b82a388013e522b3a1b9fcd6ed0810dab1f4f'/>
<id>urn:sha1:453b82a388013e522b3a1b9fcd6ed0810dab1f4f</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>warning: unused parameter ‘foo’ [-Wunused-parameter]</title>
<updated>2014-03-13T12:58:45Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2014-03-01T14:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=655122418d714f342b5d9789f45f8035f3fe8b9a'/>
<id>urn:sha1:655122418d714f342b5d9789f45f8035f3fe8b9a</id>
<content type='text'>
Reported-By: gcc -Wunused-parameter
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>use FileFd in HashSum test to unbreak non-linux ports</title>
<updated>2013-09-03T21:11:58Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2013-09-03T21:00:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=163d39cc4e81081d809b5c12c9cf60ee6db510f6'/>
<id>urn:sha1:163d39cc4e81081d809b5c12c9cf60ee6db510f6</id>
<content type='text'>
The testcode happily mixes FILE* operations and direct access to fds
which is even a bit suprising that it works on linux and worked so
long for non-linux ports, so we switch to usage of FileFd instead
which provides us with simple fd-only operations. Its overkill for this
test as its a bare file and we ask for the descriptor all the time, but
it shouldn't hurt to implicitly test it a bit this way.

Closes: 721723
Thanks: Aaron M. Ucko
</content>
</entry>
<entry>
<title>add a simple test for HashSumValue classes</title>
<updated>2012-05-02T21:13:26Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2012-05-02T21:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9a4ffe576267539ae5549f0c77cc8ab37c2516fb'/>
<id>urn:sha1:9a4ffe576267539ae5549f0c77cc8ab37c2516fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>do not pollute namespace in the headers with using (Closes: #500198)</title>
<updated>2011-09-19T11:31:29Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-09-19T11:31:29Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=8f3ba4e8708cb72be19dacc2af4f601ee5fea292'/>
<id>urn:sha1:8f3ba4e8708cb72be19dacc2af4f601ee5fea292</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test/libapt/hashsums_test.cc: add a test for HashString and VerifyFile</title>
<updated>2011-07-29T14:33:20Z</updated>
<author>
<name>Michael Vogt</name>
<email>michael.vogt@ubuntu.com</email>
</author>
<published>2011-07-29T14:33:20Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e99a544c8c48d8067d008b5c7e4e1d5479529ce2'/>
<id>urn:sha1:e99a544c8c48d8067d008b5c7e4e1d5479529ce2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test that AddFD for single summations works, too</title>
<updated>2011-07-13T20:29:37Z</updated>
<author>
<name>David Kalnischkies</name>
<email>kalnischkies@gmail.com</email>
</author>
<published>2011-07-13T20:29:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=96c9fb174df24fadcde516f26f89d1a64f42eea7'/>
<id>urn:sha1:96c9fb174df24fadcde516f26f89d1a64f42eea7</id>
<content type='text'>
</content>
</entry>
</feed>
