mythz/DartRedisClient — pull request #3 by financeCoding (2012-11-16 19:53:58+00:00)
Title: M1 update needs testing

This takes care of most of the obvious stuff. Now running into problems with the switch out of SocketInputStream for InputStream. SocketInputStream now hangs off of Socket.input as an InputStream. When trying to set onData. Something with the actual test implementation fails if you remove the onData setting, I assume that would create other problems in general.

Do you have any time to look at this? I'm trying to get a project updated that does depend on this library [dart-share](https://github.com/nelsonsilva/dart-share)

```
Unhandled exception:
StreamException: Cannot set data handler when input stream is used
#0 _Socket.onData= (dart:io-patch:716:37)
#1 _RedisConnection.ensureConnected (package:dartredisclient/src/RedisConnection.dart:180:13)
#2 _RedisConnection.sendCommand (package:dartredisclient/src/RedisConnection.dart:211:20)
#3 _RedisConnection.sendExpectSuccess (package:dartredisclient/src/RedisConnection.dart:287:16)
#4 _RedisNativeClient.flushall (package:dartredisclient/src/RedisNativeClient.dart:178:46)
#5 RedisClientTests. (file:///Users/adam/dart/DartRedisClient/test/RedisClientTests.dart:16:26)
#6 runAllTests. (file:///Users/adam/dart/DartRedisClient/test/DUnit.dart:148:16)
#7 runAllTests. (file:///Users/adam/dart/DartRedisClient/test/DUnit.dart:158:5)
#8 runAllTests.. (file:///Users/adam/dart/DartRedisClient/test/DUnit.dart:141:12)
#9 start (file:///Users/adam/dart/DartRedisClient/test/DUnit.dart:59:18)
#10 runAllTests. (file:///Users/adam/dart/DartRedisClient/test/DUnit.dart:159:30)
#11 runAllTests (file:///Users/adam/dart/DartRedisClient/test/DUnit.dart:162:8)
#12 main (file:///Users/adam/dart/DartRedisClient/test/TestSuite.dart:14:14)
```