Commit Graph

48 Commits

Author SHA1 Message Date
brianc
7e2f713af3 running all client integration tests against native client - many failures 2011-03-03 18:21:43 +00:00
brianc
b7c3db5f32 error test 2011-02-24 21:50:17 -06:00
Brian Carlson
7d05daaf2c removed some globals from tests 2011-02-23 19:50:43 -06:00
Brian Carlson
7b365ffc24 changed '--libpg true' flag to '--libpq true' 2011-02-23 18:45:39 -06:00
brianc
ce56fb6453 beginning of js Client compatible api 2011-02-22 23:52:25 -06:00
brianc
edea8967d2 stage up the ability to run libpg based client integration tests 2011-02-22 22:48:51 -06:00
Brian Carlson
8e8352127a decrease emit timeout time 2011-02-22 19:32:18 -06:00
Brian Carlson
1aa8880c25 fixed asserter for success 2011-01-21 16:53:17 -06:00
Brian Carlson
3fd8d3f853 helper function to test for query successes 2011-01-21 15:13:58 -06:00
Brian Carlson
9a08f51a72 better printing of actual/expected buffers in error for visual compare 2011-01-14 15:18:56 -06:00
brianc
49f5da8f02 make the test name printing an option via the "verbose" command line argument 2010-12-19 14:46:43 -06:00
Julian Birch
721cf56eb3 Rows are now associative arrays rather than straight arrays. 2010-12-19 09:41:11 +00:00
Brian Carlson
fb463923d8 test refactoring 2010-12-14 19:23:01 -06:00
Brian Carlson
af997d914b refactored test execution to use makefile
integration tests all running in the same process were stepping on eachother. each test file is now run within its own node process
2010-12-14 18:50:18 -06:00
Brian Carlson
70f8b998d8 added sink object for testing async long running query pool 2010-12-13 17:20:51 -06:00
Brian Carlson
ab13d0c1eb initial crack at connection pooling -- still dirty 2010-12-10 17:32:34 -06:00
Brian Carlson
0d03db5d28 added assert.isNull 2010-12-09 20:53:59 -06:00
Brian Carlson
10a244ae4c made timeout lenght of assert.calls configurable and made tests die
sooner on error
2010-12-09 20:50:19 -06:00
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