1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2025-03-19 20:57:50 +02:00

8 Commits

Author SHA1 Message Date
Matthew Huxtable
dd0fe2afd6 Add ExpectPing to watch for db Ping calls 2019-11-06 14:15:28 +00:00
gedi
6c8a572d09
for some reason transaction statement was not working on go1.8 2019-06-07 09:38:57 +03:00
gedi
4ee1fdaf44
closes #159 2019-06-07 09:26:40 +03:00
Wachowski
32675e3ad1 delay for WillDelayFor() duration, before returning error set by WillReturnError()
If both WillDelayFor() and WillReturnError() are called, there should
be a delay before the error is returned.  Applied to Begin, Exec,
Query, and Prepare.  Also, the context versions of same.

And a couple of unit tests.
2018-02-20 17:30:20 -07:00
Gábor Lipták
395520ee2d
Correct spelling
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2017-11-25 09:32:17 -05:00
gedi
42ab7c33d0 implements Pinger (without expectation yet) and prepared stmt Context methods 2017-02-08 15:32:39 +02:00
gedi
cfb2877c66 tests Context sql driver extensions 2017-02-07 15:03:05 +02:00
gedi
965003de80 implements Context based sql driver extensions 2017-02-07 12:20:08 +02:00