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

5 Commits

Author SHA1 Message Date
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