brianc
|
4213d528f0
|
starting tests for prepared queries
|
2010-10-23 12:33:26 -05:00 |
|
brianc
|
f0d225aa64
|
test failures show more
|
2010-10-23 12:30:55 -05:00 |
|
brianc
|
85c93d2af5
|
minor code cleanup in test helper
|
2010-10-23 00:52:16 -05:00 |
|
brianc
|
7be2ac1150
|
remove dead code
|
2010-10-23 00:50:11 -05:00 |
|
brianc
|
6d90a4c992
|
updated test runner
|
2010-10-23 00:49:27 -05:00 |
|
brianc
|
65dbfa43ec
|
renamed Client#disconnect to Client#end
|
2010-10-22 18:28:10 -05:00 |
|
brianc
|
5b1f8aff3b
|
supporting md5 password authentication
|
2010-10-22 18:16:40 -05:00 |
|
brianc
|
b2631cbb50
|
ignored md5 test
|
2010-10-20 00:41:35 -05:00 |
|
brianc
|
406e8a56a9
|
got basic password authentication working
|
2010-10-19 23:29:23 -05:00 |
|
brianc
|
f72f996705
|
failing test for password property in config
|
2010-10-19 23:26:25 -05:00 |
|
brianc
|
a4fa1f4614
|
fix helper method
|
2010-10-19 23:02:33 -05:00 |
|
brianc
|
ccce68b368
|
ignore failing type result tests for now
|
2010-10-19 22:58:44 -05:00 |
|
brianc
|
cb4ea65bc8
|
ability to ignore tests by returning false
|
2010-10-19 22:58:25 -05:00 |
|
brianc
|
52a0d0459d
|
start to handle other auth messages
|
2010-10-19 22:55:26 -05:00 |
|
brianc
|
ec5f1b8831
|
failing date parsing
|
2010-10-18 23:35:51 -05:00 |
|
brianc
|
ae40a13daf
|
time/timez parsing
|
2010-10-18 23:19:17 -05:00 |
|
brianc
|
a05ad762d2
|
added oid as integer type
|
2010-10-18 22:42:48 -05:00 |
|
brianc
|
503cd5c164
|
added todo for binary
|
2010-10-18 22:33:34 -05:00 |
|
brianc
|
967ec0f6bb
|
parsing ints
|
2010-10-18 22:12:26 -05:00 |
|
brianc
|
ac13201891
|
added failing test for type-casting row results
|
2010-10-17 22:18:17 -05:00 |
|
brianc
|
c29d61f803
|
removed multi-column test data
|
2010-10-17 16:59:33 -05:00 |
|
bmc
|
1f63d84dee
|
changing how buffers are written
|
2010-10-15 18:29:01 -04:00 |
|
brianc
|
8cb44e3cf3
|
substantial refactoring of the parser
|
2010-10-15 00:24:58 -05:00 |
|
brianc
|
81d097caf7
|
some test runner improvements
|
2010-10-14 00:06:09 -05:00 |
|
brianc
|
f662e3599c
|
added more tests
|
2010-10-13 23:51:11 -05:00 |
|
brianc
|
851e928d38
|
got spliced packet tests passing
|
2010-10-13 23:29:20 -05:00 |
|
brianc
|
96cb1cc6c2
|
added failing test for buffers which are split due to tcp packet splitting
|
2010-10-12 22:20:40 -05:00 |
|
brianc
|
1786c73565
|
downcased first character of message names
|
2010-10-12 22:01:13 -05:00 |
|
brianc
|
2617560fc7
|
fix for null data row value
|
2010-10-10 23:38:08 -05:00 |
|
brianc
|
c8a02e19d1
|
failing test for null result in data row
|
2010-10-10 23:36:08 -05:00 |
|
brianc
|
cc82286741
|
writing null data row value fix
|
2010-10-10 23:35:59 -05:00 |
|
brianc
|
cf5bcaa140
|
working on integration test
|
2010-10-10 23:02:50 -05:00 |
|
brianc
|
ac95c74c66
|
code cleanup
|
2010-10-10 22:42:13 -05:00 |
|
brianc
|
97f7da083e
|
updated test to throw entire error
|
2010-10-10 22:38:16 -05:00 |
|
brianc
|
390593ba1e
|
removed redundant parser tests
|
2010-10-10 22:29:16 -05:00 |
|
brianc
|
5a8061bf5f
|
unrolled loop
|
2010-10-10 19:09:24 -05:00 |
|
brianc
|
a45ee945d3
|
made script to execute all unit tests
|
2010-10-10 18:50:05 -05:00 |
|
brianc
|
82e66b936c
|
moved unit tests into unit test folder
|
2010-10-10 18:26:13 -05:00 |
|
brianc
|
87fb4b9360
|
moved integration tests into sub folder
|
2010-10-10 18:25:47 -05:00 |
|
brianc
|
aa41feb5d9
|
fixed test so it expects & verifies cstring
|
2010-10-10 18:24:27 -05:00 |
|
brianc
|
3271b5b016
|
simple query works
|
2010-10-10 18:23:06 -05:00 |
|
brianc
|
e69b6faa82
|
added null terminator (c-string) to query
|
2010-10-10 18:20:24 -05:00 |
|
brianc
|
f9b5c7b03e
|
parsing error
|
2010-10-10 18:15:16 -05:00 |
|
brianc
|
f0a272a78b
|
fix always appending to front on add char
|
2010-10-10 18:10:26 -05:00 |
|
brianc
|
b4d1c67eb5
|
parsing the most simplistic error message
|
2010-10-10 17:48:27 -05:00 |
|
brianc
|
61ff6055b7
|
added 'addChar' method
|
2010-10-10 17:40:11 -05:00 |
|
brianc
|
94811981d6
|
added test for bad stream reference
|
2010-10-10 17:30:33 -05:00 |
|
brianc
|
98856f0e9c
|
simple query scenario tested
|
2010-10-09 02:48:41 -05:00 |
|
brianc
|
d20e47f644
|
writes simple query
|
2010-10-08 23:17:09 -05:00 |
|
brianc
|
d0a98ce129
|
moved equalBuffers to test-helper
|
2010-10-08 23:15:47 -05:00 |
|
brianc
|
2fc0d1124a
|
moved all buffers into external file
|
2010-10-08 23:10:13 -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
|
3933be9e0d
|
returning query from function
|
2010-10-07 19:38:27 -05:00 |
|
brianc
|
90bac87578
|
added assert.length
|
2010-10-07 19:35:21 -05:00 |
|
brianc
|
3768e43e15
|
moved more buffers into test buffer file
|
2010-10-06 21:39:52 -05:00 |
|
brianc
|
9c55891521
|
test tweaks
|
2010-10-06 21:34:51 -05:00 |
|
brianc
|
25fe2be510
|
adding external test buffers
|
2010-10-06 21:34:38 -05:00 |
|
brianc
|
e9d15d2146
|
added higher level tests for client
|
2010-10-06 20:54:33 -05:00 |
|
brianc
|
7864a59c84
|
moved stream to test helper file
|
2010-10-06 19:59:20 -05:00 |
|
brianc
|
a3a21c50e4
|
using passed in stream to client
|
2010-10-06 19:54:02 -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
|
0df4f6037c
|
beginnings of actually TDDd query
|
2010-10-03 01:14:19 -05:00 |
|
brianc
|
891aacce54
|
connection tests w/ two clients
|
2010-10-03 01:08:04 -05:00 |
|
brianc
|
2acad1377c
|
whitespace
|
2010-10-03 00:56:35 -05:00 |
|
brianc
|
730321dbd4
|
added connection/disconnection tests
|
2010-10-03 00:45:10 -05:00 |
|
brianc
|
02f23647a2
|
split out client tests into file
|
2010-10-03 00:27:16 -05:00 |
|
brianc
|
ab0076aa68
|
can read single data row of text
|
2010-10-01 01:02:52 -05:00 |
|
brianc
|
5cf151ad7a
|
whitespace
|
2010-10-01 00:29:16 -05:00 |
|
brianc
|
961f3f1984
|
added failing test for reading empty row
|
2010-10-01 00:22:53 -05:00 |
|
brianc
|
8fe24a31a9
|
refactored tests
|
2010-10-01 00:19:44 -05:00 |
|
brianc
|
4ebbc8a023
|
tests changed to run locally
|
2010-10-01 00:11:38 -05:00 |
|
brianc
|
1286090ce1
|
added tests for parsing row definition messages of various lenghts
|
2010-09-30 23:13:50 -05:00 |
|
brianc
|
012d2a13f5
|
parsing a single row description
|
2010-09-30 22:48:50 -05:00 |
|
brianc
|
df88e11a14
|
refactored tests slightly, working on rowdescription parsing
|
2010-09-30 01:26:32 -05:00 |
|
brianc
|
1ef03e27a9
|
work on executing query
|
2010-09-29 02:46:44 -05:00 |
|
brianc
|
7478b74d9a
|
refactored tests to use BufferList
|
2010-09-29 02:46:10 -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
|
eb698f8619
|
added writer to clarify test intentions. not sure if i'm going to use
it in actual library
|
2010-09-29 02:27:37 -05:00 |
|
brianc
|
c68c365478
|
working on getting query to complete
|
2010-09-29 01:01:52 -05:00 |
|
brianc
|
6ba4575385
|
parser now parses all messages at once
|
2010-09-30 00:40:06 -05:00 |
|
brianc
|
7a5ea00995
|
more test refactoring
|
2010-09-30 00:36:07 -05:00 |
|
brianc
|
f541fea830
|
refactored test. added assertion macro
|
2010-09-30 00:32:44 -05:00 |
|
brianc
|
124bd0960e
|
parsing of ready for query
|
2010-09-30 00:14:41 -05:00 |
|
brianc
|
c5b1d95ca0
|
changed auth
|
2010-09-29 23:52:57 -05:00 |
|
brianc
|
19099919f7
|
a bit of logging for testing purposes
|
2010-09-29 00:43:28 -05:00 |
|
brianc
|
2c9d26d7f6
|
refactored parser to be more stateful
|
2010-09-29 00:30:35 -05:00 |
|
brianc
|
9688d8947f
|
added test for parsing CString
|
2010-09-29 00:20:10 -05:00 |
|
brianc
|
a921d6c144
|
made Parser non-static
|
2010-09-29 00:12:04 -05:00 |
|
brianc
|
a9a9f2e03a
|
parsing of parameterstatus messsage
|
2010-09-29 00:08:53 -05:00 |
|
brianc
|
dc427a9923
|
use hex code in message buffer simulation
|
2010-09-28 23:34:10 -05:00 |
|
brianc
|
c73fa0dad2
|
whitespace
|
2010-09-28 23:32:00 -05:00 |
|
brianc
|
0ca7b93bb0
|
added test for parameterstatus message
|
2010-09-28 23:31:40 -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 |
|