File: conn_test.go

package info (click to toggle)
golang-github-zenazn-goji 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 464 kB
  • sloc: makefile: 3
file content (45 lines) | stat: -rw-r--r-- 626 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package listener

import (
	"io"
	"testing"
)

func TestManualRead(t *testing.T) {
}

func TestAutomaticRead(t *testing.T) {
}

func TestDeadlineRead(t *testing.T) {
}

func TestDisownedRead(t *testing.T) {
}

func TestCloseConn(t *testing.T) {
}

// Regression test for issue #130.
func TestDisownedClose(t *testing.T) {
}

func TestManualReadDeadline(t *testing.T) {
}

func TestAutomaticReadDeadline(t *testing.T) {
}

func TestDeadlineReadDeadline(t *testing.T) {
}

type readerConn struct {
	fakeConn
}

func (rc *readerConn) ReadFrom(r io.Reader) (int64, error) {
	return 123, nil
}

func TestReadFrom(t *testing.T) {
}