Skip to content

Commit

Permalink
removed table tests not being used
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Wiesmüller committed Apr 17, 2018
1 parent 352a520 commit c98e76b
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 c98e76b

Please sign in to comment.