Code

t/utils/dbi_test: Mock some actual query results; added simple query.
authorSebastian Harl <sh@tokkee.org>
Mon, 2 Sep 2013 16:24:02 +0000 (18:24 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 2 Sep 2013 16:24:02 +0000 (18:24 +0200)
commit6232108138cc4b08386ded3fc8fc4c7e9cb86aa9
treead7816b0a84a54b0170e3f505cc940932a3a3439
parent0aed0a0fadb607a04c3f9cb15e4cb49262c115d9
t/utils/dbi_test: Mock some actual query results; added simple query.

The unit-test now supports mocking arbitrary query results. For that,
appropriate mocks for the dbi_result_get*() functions have been added.

The test now executes a simple query returning one column of data.
t/utils/dbi_test.c