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
9d03611ad1
allow to expect prepared statement to be closed, closes #89
2017-09-01 10:24:02 +03:00
gedi
d335ff60c1
fixes travis build with gofmt
2017-06-02 11:59:07 +03:00
gedi
b2ca44a80b
updates travis to validate with go fmt
2017-05-31 23:54:14 +03:00
Michael MacDonald
ca83e31de6
Mikemacd patch 1 ( #2 )
...
* Update sqlmock.go
Permit prepares to obey MatchExpectationsInOrder flag, allowing prepared statements to be prepared in a different order than they were added to the expectations.
* Update sqlmock_test.go
Add test case for unordered prepared statements.
2017-05-30 15:44:56 -04:00
Ahmad Muzakki
1fd67a1762
- apply stripQuery before assigning query expectation
...
- remove unused function
2017-02-04 18:09:50 +07:00
Gábor Lipták
1ed8c944b7
Additional tests for Close
2016-11-27 11:10:47 -05:00
Gábor Lipták
ab864e894f
Additional tests for prepare
2016-11-26 19:38:05 -05:00
Gábor Lipták
a14a480cc0
Aditional tests for rollback and commit
2016-11-25 12:10:32 -05:00
Gábor Lipták
c6573954e4
Implement rollback throw test
2016-11-22 19:25:34 -05:00
gedi
d4cd2ca2ad
closes #50
2016-11-02 14:49:59 +02:00
gedi
05f39e9110
closes #45
2016-07-22 22:26:40 +03:00
Jamie Cuthill
4689a4afbf
When Exec/Query is expected to error correctly mark expectation as triggered
...
- Fixes regression from issue 37 'fix'
2016-02-26 16:07:19 +00:00
gedi
b465b1f024
refers to #37
2016-02-26 14:38:04 +02:00
gedi
febff80c09
do not expose sql driver methods for sqlmock, give interface
2015-08-28 11:06:14 +03:00
gedi
32a1b9d93f
update readme and add example
...
* dcca987 add an old example and a basic one
2015-08-28 10:26:55 +03:00
gedi
566ca54083
allow unordered expectation matching, support for goroutines
...
* 1778939 take care of locks for goroutine based matching
2015-08-28 10:26:42 +03:00
gedi
a071483cba
concurrency support, closes #20 and closes #9 and closes #15
...
* c600769 do not require a connection name, unique dsn is generated
* 1b20b9c update travis
* 1097b6a add comments for godoc documentation
* c142a95 fix golint reported issues
2015-08-28 10:25:20 +03:00
gedi
5d1551fda1
check for errors
2015-03-30 22:32:57 +03:00
gedi
e163520142
related to sql escaping #14
2015-03-30 21:38:39 +03:00
Luigi Kapaj
cd47226ce2
unit test for Prepare
2014-09-24 16:05:15 -04:00
gedi
e36ad8d068
return error instead panic if argument reflection types are not matching
2014-08-16 12:57:40 +03:00
gedi
fa31f407df
closes #4
2014-04-21 18:21:28 +03:00
gedi
5aa5d01fb9
add test for row builder and NilType based row values
2014-02-14 17:15:06 +02:00
gedi
bdba0bb0c6
Rows interface to allow building rows in different ways
2014-02-14 00:14:32 +02:00
Hebo
517a41ff43
Allow for multiple rows by manually creating each row
2014-02-13 11:59:35 -08:00
gedi
c33b881467
documentation update based on lint
2014-02-08 17:53:15 +02:00
gedi
b89aa3ac1e
let travis ci test it
2014-02-07 16:52:26 +02:00
gedi
3e67393335
initial commit
2014-02-05 16:21:07 +02:00