libgit2/tests/odb/backend
Patrick Steinhardt e29e802966 tests: odb: make hash of fake backend configurable
In the odb::backend::nonrefreshing test suite, we set up a fake backend
so that we are able to determine if backend functions are called
correctly. During the setup, we also parse an OID which is later on used
to read out the pseudo-object. While this procedure works right now, it
will create problems later when we implement hash verification for
looked up objects. The current OID ("deadbeef") will not match the hash
of contents we give back to the ODB layer and thus cannot be verified.

Make the hash configurable so that we can simply switch the returned for
single tests.
2017-04-28 14:05:44 +02:00
..
nobackend.c tests: update error message checking 2016-12-29 12:55:49 +00:00
nonrefreshing.c tests: odb: make hash of fake backend configurable 2017-04-28 14:05:44 +02:00