Commit Graph

345 Commits

Author SHA1 Message Date
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
brianc
f541fea830 refactored test. added assertion macro 2010-09-30 00:32:44 -05:00
brianc
8c30521cf9 refactored parsing 2010-09-30 00:27:56 -05:00
brianc
124bd0960e parsing of ready for query 2010-09-30 00:14:41 -05:00
brianc
7c9de7f442 better unsupported message code error message 2010-09-29 23:58:01 -05:00
brianc
c5b1d95ca0 changed auth 2010-09-29 23:52:57 -05:00
brianc
4c27a3b974 added watch file 2010-09-29 23:35:14 -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
94edc2583e better error throw 2010-09-28 23:31:19 -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
brianc
cf637b08b7 initial commit 2010-09-28 22:09:21 -05:00