Alex Bramley
|
59b18b038b
|
MockNetConn: Add ExpectNothing() helper.
|
2011-08-23 10:44:14 +01:00 |
Alex Bramley
|
bd388db1cc
|
MockNetConn: Use correct os.Errors in Read/Write.
|
2011-08-23 10:43:48 +01:00 |
Alex Bramley
|
020730aca1
|
MockNetConn: Wrap all channel reads in selects; send EOF on Close(); kill goroutines correctly.
|
2011-08-23 10:42:54 +01:00 |
Alex Bramley
|
0d7d875b9f
|
Add Send method for mockNetConn, and make Read/Write return errors when closed.
|
2011-08-22 23:22:46 +01:00 |
Alex Bramley
|
425557e8bd
|
Create a simple mock that implements net.Conn.
|
2011-08-21 13:38:12 +01:00 |