Skip to content

Commit

Permalink
Merge branch 'master' into add-godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiesmueller authored Apr 17, 2018
2 parents f2e469b + 6e8e489 commit 9b1aa11
Showing 1 changed file with 0 additions and 61 deletions.
61 changes: 0 additions & 61 deletions protocol/packets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,64 +229,3 @@ func TestBuildPackets(t *testing.T) {
})
}
}

func TestBuildKeepAlivePacket(t *testing.T) {
type args struct {
seq uint32
}
tests := []struct {
name string
args args
want []byte
}{
// TODO: Add test cases.
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if got := BuildKeepAlivePacket(tt.args.seq); !reflect.DeepEqual(got, tt.want) {
t.Errorf("BuildKeepAlivePacket() = %v, want %v", got, tt.want)
}
})
}
}

func TestBuildCmdPacket(t *testing.T) {
type args struct {
cmd []byte
seq uint32
}
tests := []struct {
name string
args args
want []byte
}{
// TODO: Add test cases.
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if got := BuildCmdPacket(tt.args.cmd, tt.args.seq); !reflect.DeepEqual(got, tt.want) {
t.Errorf("BuildCmdPacket() = %v, want %v", got, tt.want)
}
})
}
}

func TestBuildLoginPacket(t *testing.T) {
type args struct {
pw string
}
tests := []struct {
name string
args args
want []byte
}{
// TODO: Add test cases.
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if got := BuildLoginPacket(tt.args.pw); !reflect.DeepEqual(got, tt.want) {
t.Errorf("BuildLoginPacket() = %v, want %v", got, tt.want)
}
})
}
}

0 comments on commit 9b1aa11

Please sign in to comment.