Commit Graph

263 Commits

Author SHA1 Message Date
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