Commit Graph

68 Commits

Author SHA1 Message Date
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
6abac08c6e changed from this.con to this.stream 2010-10-07 19:39:43 -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
c8e387752a updated watchfile 2010-10-03 00:53:25 -05:00
brianc
730321dbd4 added connection/disconnection tests 2010-10-03 00:45:10 -05:00
brianc
80ed3e7ffe removing working but untested code 2010-10-03 00:31:13 -05:00
brianc
02f23647a2 split out client tests into file 2010-10-03 00:27:16 -05:00
brianc
9ea4687314 updated watchfile to test only changed file 2010-10-03 00:17:26 -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
d2c22afc36 code cleanup 2010-10-01 00:27:42 -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
d852f7f1c4 updated watch file 2010-09-30 00:36:11 -05:00
brianc
7a5ea00995 more test refactoring 2010-09-30 00:36:07 -05:00