1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2024-11-24 08:12:13 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
gedi
a6e6646ad9
use configured QueryMatcher in order to match expected SQL to actual, closes #70 2018-12-11 15:20:44 +02:00
Jan Waś
aaceb21fbd use custom converter only in newer go 2018-08-06 22:49:41 +02: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
gedi
d76b18b42f
fixes new feature for > 1.8 go versions 2017-09-01 10:34:10 +03: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
gedi
d11f623794 implements named arguments support and adds delay expectation for context deadline simulation 2017-02-06 14:38:57 +02:00