Add tests for endpoint NewStream.

Rename OpenWithVidPid to OpenWithVIDPID.
This commit is contained in:
Sebastian Zagrodzki
2017-04-29 12:57:55 +02:00
parent 58c1e6ddb4
commit 730c32b9fd
9 changed files with 239 additions and 141 deletions

View File

@@ -105,7 +105,7 @@ func (r readRes) String() string {
return buf.String()
}
func TestReadStream(t *testing.T) {
func TestTransferReadStream(t *testing.T) {
for tcNum, tc := range []struct {
desc string
closeBefore int