Commit Graph

30 Commits

Author SHA1 Message Date
Brian Carlson
169c6dc3ce Pool object for use in connection pooling 2010-12-09 18:10:42 -06:00
Brian Carlson
d4ac9b4024 make 'assert.calls' short circuit on function call 2010-12-02 17:48:39 -06:00
Brian Carlson
9447b78e9f added quick assertion helper to check for callbacks being executed 2010-12-02 14:43:17 -06:00
brianc
8ec671a67c added test & fix for missing 'sys' require in query.js 2010-11-03 16:47:26 -05:00
brianc
1b9ccf97e9 reduced number of flush messages during prepared statement, 2x performance 2010-11-02 03:29:11 -05:00
brianc
aa53908e88 updating tests to use fewer connections and up timeout for slower machines 2010-11-02 18:15:41 -05:00
brianc
07010389ff basic (ugly) date type coercion tests 2010-11-01 00:27:06 -05:00
brianc
0d2d6b5107 Moved buffer list to test directory and replaced w/ slightly cleaner
"writer" for use in the library code.  BufferList was always supposed
to be a test helper and the api is trash
2010-10-31 18:21:37 -05:00
brianc
d2079478da change name of assert.raises to assert.emits 2010-10-31 14:43:10 -05:00
brianc
ccc04cdd0b add cli parsing to all tests 2010-10-25 01:30:14 -05:00
brianc
6600bc603c better error message on timeout firing because event wasn't raised in assert.raises 2010-10-24 23:18:23 -05:00
brianc
bcfbb535b8 full support for bind and execute 2010-10-24 13:46:50 -05:00
brianc
4743195597 test refactoring 2010-10-23 22:07:00 -05:00
brianc
82e66b936c moved unit tests into unit test folder 2010-10-10 18:26:13 -05:00
brianc
98856f0e9c simple query scenario tested 2010-10-09 02:48:41 -05:00
brianc
d0a98ce129 moved equalBuffers to test-helper 2010-10-08 23:15:47 -05:00
brianc
ad8b6b018c require bufferlist or it wont work buddy 2010-10-08 23:02:01 -05:00
brianc
5d006bc593 moved buffer list to it's own file 2010-10-08 23:00:37 -05:00
brianc
3925f6fbb0 passes initial query queue tests 2010-10-07 20:00:49 -05:00
brianc
90bac87578 added assert.length 2010-10-07 19:35:21 -05:00
brianc
9c55891521 test tweaks 2010-10-06 21:34:51 -05:00
brianc
7864a59c84 moved stream to test helper file 2010-10-06 19:59:20 -05:00
brianc
4566a3563b added failing test for stream being passed into connection
this will allow testing of incoming and outgoing stream data without
resorting to monkey patching
2010-10-05 23:42:41 -05:00
brianc
bf03dbf3f8 BufferList.concat 2010-09-29 02:39:43 -05:00
brianc
871f529fea moved bufferlist to helper file 2010-09-29 02:28:23 -05:00
brianc
c68c365478 working on getting query to complete 2010-09-29 01:01:52 -05:00
brianc
f541fea830 refactored test. added assertion macro 2010-09-30 00:32:44 -05:00
brianc
c73fa0dad2 whitespace 2010-09-28 23:32:00 -05:00
brianc
52e53edf63 added little hex helper methods 2010-09-28 23:30:06 -05:00
brianc
18e6ec2121 totally thrashing at this point, but moving forward 2010-09-28 23:18:46 -05:00