From 44ec148be4d92470904f92def6d922e959d0e23e Mon Sep 17 00:00:00 2001 From: OpenCode Date: Thu, 6 Aug 2026 15:52:07 +0200 Subject: [PATCH] remove .gitattributes and LFS, drop large replay testdata --- .gitattributes | 6 ------ .gitea/workflows/go.yml | 4 +--- cmd/strom/print_replay/failed_packet.go.tmpl | 2 +- cmd/strom/print_replay/main.go | 2 -- .../testdata/3360_008b70fc9694e956_test.go | 18 ------------------ .../testdata/9_0f8b37c94207f7bf_test.go | 18 ------------------ .../testdata/9_6c9ad835672c5c51_test.go | 18 ------------------ .../testdata/9_a5d61e1c0f23e7fa_test.go | 18 ------------------ .../testdata/9_caa58159889f7e8a_test.go | 18 ------------------ .../testdata/9_d18fc4c0b2df2972_test.go | 18 ------------------ .../testdata/9_e81e82016db04f28_test.go | 18 ------------------ .../testdata/9_fe935cf2e584c649_test.go | 18 ------------------ .../testdata/reg_166_25d845b5d0023d22_test.go | 18 ------------------ .../testdata/reg_265_78c731784e6e834a_test.go | 17 ----------------- .../testdata/reg_55_2b76af8b937b1e8f_test.go | 18 ------------------ .../testdata/rt_10_0c20c77ea68496bd_test.go | 18 ------------------ .../testdata/rt_31_df2df88561529208_test.go | 18 ------------------ .../testdata/rt_8_1d0089bbe86a1648_test.go | 18 ------------------ 18 files changed, 2 insertions(+), 263 deletions(-) delete mode 100644 .gitattributes delete mode 100644 cmd/strom/print_replay/testdata/3360_008b70fc9694e956_test.go delete mode 100644 cmd/strom/print_replay/testdata/9_0f8b37c94207f7bf_test.go delete mode 100644 cmd/strom/print_replay/testdata/9_6c9ad835672c5c51_test.go delete mode 100644 cmd/strom/print_replay/testdata/9_a5d61e1c0f23e7fa_test.go delete mode 100644 cmd/strom/print_replay/testdata/9_caa58159889f7e8a_test.go delete mode 100644 cmd/strom/print_replay/testdata/9_d18fc4c0b2df2972_test.go delete mode 100644 cmd/strom/print_replay/testdata/9_e81e82016db04f28_test.go delete mode 100644 cmd/strom/print_replay/testdata/9_fe935cf2e584c649_test.go delete mode 100644 cmd/strom/print_replay/testdata/reg_166_25d845b5d0023d22_test.go delete mode 100644 cmd/strom/print_replay/testdata/reg_265_78c731784e6e834a_test.go delete mode 100644 cmd/strom/print_replay/testdata/reg_55_2b76af8b937b1e8f_test.go delete mode 100644 cmd/strom/print_replay/testdata/rt_10_0c20c77ea68496bd_test.go delete mode 100644 cmd/strom/print_replay/testdata/rt_31_df2df88561529208_test.go delete mode 100644 cmd/strom/print_replay/testdata/rt_8_1d0089bbe86a1648_test.go diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 7de5c20..0000000 --- a/.gitattributes +++ /dev/null @@ -1,6 +0,0 @@ -**/*_test.go export-ignore -**/testdata export-ignore -*.zip filter=lfs diff=lfs merge=lfs -text -*.tmcpr filter=lfs diff=lfs merge=lfs -text -*.mcpr filter=lfs diff=lfs merge=lfs -text -*.mca filter=lfs diff=lfs merge=lfs -text diff --git a/.gitea/workflows/go.yml b/.gitea/workflows/go.yml index c1f185e..d4cc2b4 100644 --- a/.gitea/workflows/go.yml +++ b/.gitea/workflows/go.yml @@ -10,10 +10,8 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Checkout with LFS + - name: Checkout uses: actions/checkout@v4 - with: - lfs: true - name: Set up Go uses: actions/setup-go@v4 diff --git a/cmd/strom/print_replay/failed_packet.go.tmpl b/cmd/strom/print_replay/failed_packet.go.tmpl index 3f014b9..27023af 100644 --- a/cmd/strom/print_replay/failed_packet.go.tmpl +++ b/cmd/strom/print_replay/failed_packet.go.tmpl @@ -4,7 +4,7 @@ import ( "bytes" "testing" - generated "github.com/admin-else/strom/mc/proto_generated/%v" + generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/%v" ) // Error: %v diff --git a/cmd/strom/print_replay/main.go b/cmd/strom/print_replay/main.go index 6d064cb..54a3799 100644 --- a/cmd/strom/print_replay/main.go +++ b/cmd/strom/print_replay/main.go @@ -28,8 +28,6 @@ var ( DirectionFlag = cmd.String("direction", "clientbound", "Packet direction: clientbound (ToClient) or serverbound (ToServer)") ) -// TODO: maybe use the proto replay api - //go:embed failed_packet.go.tmpl var TestSrcF string diff --git a/cmd/strom/print_replay/testdata/3360_008b70fc9694e956_test.go b/cmd/strom/print_replay/testdata/3360_008b70fc9694e956_test.go deleted file mode 100644 index 477ff6d..0000000 --- a/cmd/strom/print_replay/testdata/3360_008b70fc9694e956_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Error: index not found -func TestFailedPacket008B70FC9694E956(t *testing.T) { - p := &generated.PlayToClientPacketDeclareRecipes{} - b := bytes.NewReader([]byte{0x7, 0x1d, 0x6d, 0x69, 0x6e, 0x65, 0x63, 0x72, 0x61, 0x66, 0x74, 0x3a, 0x62, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x66, 0x75, 0x72, 0x6e, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x3e, 0x62, 0x5e, 0xc2, 0x7, 0x67, 0x66, 0x65, 0x64, 0xe2, 0x7, 0xe0, 0x7, 0xde, 0x7, 0xb1, 0x7, 0xba, 0x7, 0xeb, 0x7, 0xdc, 0x7, 0xdb, 0x7, 0x5f, 0xbc, 0x7, 0xa3, 0x7, 0x6b, 0x5d, 0x6c, 0xbf, 0x7, 0xa7, 0x7, 0xd5, 0xa, 0xd8, 0xa, 0x87, 0xa, 0xe1, 0x7, 0xdf, 0x7, 0x60, 0xb4, 0x7, 0xe5, 0x7, 0xc3, 0x7, 0xda, 0x7, 0xed, 0x7, 0x85, 0xa, 0xb1, 0xa, 0x6a, 0x69, 0x61, 0xbd, 0x7, 0xb2, 0x7, 0x63, 0xb0, 0x7, 0xc0, 0x7, 0xa5, 0x7, 0xec, 0x7, 0x68, 0x5c, 0xdd, 0x7, 0xd4, 0xa, 0xe3, 0x7, 0x5b, 0xea, 0x7, 0xe4, 0x7, 0xc1, 0x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x0, 0x2, 0x78, 0x5, 0x83, 0x1, 0x4, 0x0, 0x0, 0x2, 0x8b, 0x1, 0x5, 0x83, 0x1, 0x1, 0x0, 0x0, 0x2, 0x78, 0x5, 0xde, 0xb, 0x4, 0x0, 0x0, 0x2, 0x78, 0x5, 0x8b, 0x1, 0x4, 0x0, 0x0, 0x2, 0x78, 0x5, 0x9b, 0x1, 0x8, 0x0, 0x0, 0x2, 0x8b, 0x1, 0x5, 0x9b, 0x1, 0x2, 0x0, 0x0, 0x2, 0x78, 0x5, 0x93, 0x1, 0x4, 0x0, 0x0, 0x2, 0x8b, 0x1, 0x5, 0x93, 0x1, 0x1, 0x0, 0x0}) - err := p.Decode(b) - if err == nil { - t.Fatalf("expected decode error but got nil") - } -} diff --git a/cmd/strom/print_replay/testdata/9_0f8b37c94207f7bf_test.go b/cmd/strom/print_replay/testdata/9_0f8b37c94207f7bf_test.go deleted file mode 100644 index bbdacd6..0000000 --- a/cmd/strom/print_replay/testdata/9_0f8b37c94207f7bf_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Error: unexpected EOF -func TestFailedPacket0F8B37C94207F7BF(t *testing.T) { - p := &generated.PlayToClientPacketUpdateTime{} - b := bytes.NewReader([]byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1c, 0x42, 0x0}) - err := p.Decode(b) - if err == nil { - t.Fatalf("expected decode error but got nil") - } -} diff --git a/cmd/strom/print_replay/testdata/9_6c9ad835672c5c51_test.go b/cmd/strom/print_replay/testdata/9_6c9ad835672c5c51_test.go deleted file mode 100644 index 5a52d42..0000000 --- a/cmd/strom/print_replay/testdata/9_6c9ad835672c5c51_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Error: unexpected EOF -func TestFailedPacket6C9AD835672C5C51(t *testing.T) { - p := &generated.PlayToClientPacketUpdateTime{} - b := bytes.NewReader([]byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1b, 0xde, 0x0}) - err := p.Decode(b) - if err == nil { - t.Fatalf("expected decode error but got nil") - } -} diff --git a/cmd/strom/print_replay/testdata/9_a5d61e1c0f23e7fa_test.go b/cmd/strom/print_replay/testdata/9_a5d61e1c0f23e7fa_test.go deleted file mode 100644 index d0b6738..0000000 --- a/cmd/strom/print_replay/testdata/9_a5d61e1c0f23e7fa_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Error: unexpected EOF -func TestFailedPacketA5D61E1C0F23E7FA(t *testing.T) { - p := &generated.PlayToClientPacketUpdateTime{} - b := bytes.NewReader([]byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1c, 0x56, 0x0}) - err := p.Decode(b) - if err == nil { - t.Fatalf("expected decode error but got nil") - } -} diff --git a/cmd/strom/print_replay/testdata/9_caa58159889f7e8a_test.go b/cmd/strom/print_replay/testdata/9_caa58159889f7e8a_test.go deleted file mode 100644 index 44cc23f..0000000 --- a/cmd/strom/print_replay/testdata/9_caa58159889f7e8a_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Error: unexpected EOF -func TestFailedPacketCAA58159889F7E8A(t *testing.T) { - p := &generated.PlayToClientPacketUpdateTime{} - b := bytes.NewReader([]byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1c, 0x2e, 0x0}) - err := p.Decode(b) - if err == nil { - t.Fatalf("expected decode error but got nil") - } -} diff --git a/cmd/strom/print_replay/testdata/9_d18fc4c0b2df2972_test.go b/cmd/strom/print_replay/testdata/9_d18fc4c0b2df2972_test.go deleted file mode 100644 index 44cc43e..0000000 --- a/cmd/strom/print_replay/testdata/9_d18fc4c0b2df2972_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Error: unexpected EOF -func TestFailedPacketD18FC4C0B2DF2972(t *testing.T) { - p := &generated.PlayToClientPacketUpdateTime{} - b := bytes.NewReader([]byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1b, 0xf2, 0x0}) - err := p.Decode(b) - if err == nil { - t.Fatalf("expected decode error but got nil") - } -} diff --git a/cmd/strom/print_replay/testdata/9_e81e82016db04f28_test.go b/cmd/strom/print_replay/testdata/9_e81e82016db04f28_test.go deleted file mode 100644 index b426b99..0000000 --- a/cmd/strom/print_replay/testdata/9_e81e82016db04f28_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Error: unexpected EOF -func TestFailedPacketE81E82016DB04F28(t *testing.T) { - p := &generated.PlayToClientPacketUpdateTime{} - b := bytes.NewReader([]byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1c, 0x6, 0x0}) - err := p.Decode(b) - if err == nil { - t.Fatalf("expected decode error but got nil") - } -} diff --git a/cmd/strom/print_replay/testdata/9_fe935cf2e584c649_test.go b/cmd/strom/print_replay/testdata/9_fe935cf2e584c649_test.go deleted file mode 100644 index d5bc638..0000000 --- a/cmd/strom/print_replay/testdata/9_fe935cf2e584c649_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Error: unexpected EOF -func TestFailedPacketFE935CF2E584C649(t *testing.T) { - p := &generated.PlayToClientPacketUpdateTime{} - b := bytes.NewReader([]byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1c, 0x1a, 0x0}) - err := p.Decode(b) - if err == nil { - t.Fatalf("expected decode error but got nil") - } -} diff --git a/cmd/strom/print_replay/testdata/reg_166_25d845b5d0023d22_test.go b/cmd/strom/print_replay/testdata/reg_166_25d845b5d0023d22_test.go deleted file mode 100644 index c89f37a..0000000 --- a/cmd/strom/print_replay/testdata/reg_166_25d845b5d0023d22_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Decode regression: recipe_book_add (26.2) - SlotDisplay type fix -func TestRegressionPacket25D845B5D0023D22(t *testing.T) { - p := &generated.PlayToClientPacketRecipeBookAdd{} - b := bytes.NewReader([]byte{0x1, 0xbe, 0x2, 0x1, 0x2, 0x2, 0x4, 0x6, 0x10, 0x6d, 0x69, 0x6e, 0x65, 0x63, 0x72, 0x61, 0x66, 0x74, 0x3a, 0x70, 0x6c, 0x61, 0x6e, 0x6b, 0x73, 0x6, 0x10, 0x6d, 0x69, 0x6e, 0x65, 0x63, 0x72, 0x61, 0x66, 0x74, 0x3a, 0x70, 0x6c, 0x61, 0x6e, 0x6b, 0x73, 0x6, 0x10, 0x6d, 0x69, 0x6e, 0x65, 0x63, 0x72, 0x61, 0x66, 0x74, 0x3a, 0x70, 0x6c, 0x61, 0x6e, 0x6b, 0x73, 0x6, 0x10, 0x6d, 0x69, 0x6e, 0x65, 0x63, 0x72, 0x61, 0x66, 0x74, 0x3a, 0x70, 0x6c, 0x61, 0x6e, 0x6b, 0x73, 0x5, 0xe8, 0x2, 0x1, 0x0, 0x0, 0x4, 0xe8, 0x2, 0x0, 0x3, 0x1, 0x4, 0x0, 0x10, 0x6d, 0x69, 0x6e, 0x65, 0x63, 0x72, 0x61, 0x66, 0x74, 0x3a, 0x70, 0x6c, 0x61, 0x6e, 0x6b, 0x73, 0x0, 0x10, 0x6d, 0x69, 0x6e, 0x65, 0x63, 0x72, 0x61, 0x66, 0x74, 0x3a, 0x70, 0x6c, 0x61, 0x6e, 0x6b, 0x73, 0x0, 0x10, 0x6d, 0x69, 0x6e, 0x65, 0x63, 0x72, 0x61, 0x66, 0x74, 0x3a, 0x70, 0x6c, 0x61, 0x6e, 0x6b, 0x73, 0x0, 0x10, 0x6d, 0x69, 0x6e, 0x65, 0x63, 0x72, 0x61, 0x66, 0x74, 0x3a, 0x70, 0x6c, 0x61, 0x6e, 0x6b, 0x73, 0x2, 0x1}) - err := p.Decode(b) - if err != nil { - t.Fatalf("regression: decode failed: %v", err) - } -} diff --git a/cmd/strom/print_replay/testdata/reg_265_78c731784e6e834a_test.go b/cmd/strom/print_replay/testdata/reg_265_78c731784e6e834a_test.go deleted file mode 100644 index d2b6b20..0000000 --- a/cmd/strom/print_replay/testdata/reg_265_78c731784e6e834a_test.go +++ /dev/null @@ -1,17 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Decode regression: declare_commands (26.2) - bitfield + extraNodeData fix -func TestRegressionPacket78C731784E6E834A(t *testing.T) { - p := &generated.PlayToClientPacketDeclareCommands{} - b := bytes.NewReader([]byte{0x1a, 0x0, 0xa, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0x1, 0x1, 0xb, 0x2, 0x6d, 0x65, 0x5, 0x1, 0xc, 0x4, 0x68, 0x65, 0x6c, 0x70, 0x5, 0x1, 0xd, 0x4, 0x6c, 0x69, 0x73, 0x74, 0x1, 0x1, 0xe, 0x3, 0x6d, 0x73, 0x67, 0x9, 0x0, 0x4, 0x4, 0x74, 0x65, 0x6c, 0x6c, 0x9, 0x0, 0x4, 0x1, 0x77, 0x1, 0x2, 0xf, 0x10, 0x6, 0x72, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x1, 0x1, 0x11, 0x7, 0x74, 0x65, 0x61, 0x6d, 0x6d, 0x73, 0x67, 0x9, 0x0, 0x8, 0x2, 0x74, 0x6d, 0x1, 0x1, 0x12, 0x7, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x6, 0x0, 0x6, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x14, 0x6, 0x0, 0x7, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5, 0x2, 0x5, 0x0, 0x5, 0x75, 0x75, 0x69, 0x64, 0x73, 0x2, 0x1, 0x13, 0x7, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x6, 0x2, 0x1, 0x1, 0x14, 0x5, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1, 0x1, 0x15, 0x4, 0x72, 0x6f, 0x6c, 0x6c, 0x6, 0x0, 0x7, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x14, 0x16, 0x2, 0x16, 0x17, 0x9, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x14, 0x6d, 0x69, 0x6e, 0x65, 0x63, 0x72, 0x61, 0x66, 0x74, 0x3a, 0x61, 0x73, 0x6b, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x6, 0x0, 0x7, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x14, 0x6, 0x0, 0x5, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x27, 0x6, 0x0, 0x5, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x27, 0x1, 0x1, 0x18, 0x3, 0x61, 0x64, 0x64, 0x1, 0x1, 0x19, 0x3, 0x73, 0x65, 0x74, 0x6, 0x0, 0x5, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3, 0x0, 0x6, 0x0, 0x5, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3, 0x0, 0x0}) - err := p.Decode(b) - if err != nil { - t.Fatalf("regression: decode failed: %v", err) - } -} diff --git a/cmd/strom/print_replay/testdata/reg_55_2b76af8b937b1e8f_test.go b/cmd/strom/print_replay/testdata/reg_55_2b76af8b937b1e8f_test.go deleted file mode 100644 index 2c147fe..0000000 --- a/cmd/strom/print_replay/testdata/reg_55_2b76af8b937b1e8f_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8" -) - -// Decode regression: spawn_entity_living (1.8) - entityMetadata mergeCompareTo -func TestRegressionPacket2B76AF8B937B1E8F(t *testing.T) { - p := &generated.PlayToClientPacketSpawnEntityLiving{} - b := bytes.NewReader([]byte{0x4c, 0x65, 0xff, 0xff, 0xed, 0x66, 0x0, 0x0, 0x7, 0xe0, 0x0, 0x0, 0x29, 0xe6, 0x91, 0x0, 0x91, 0x0, 0x0, 0xfd, 0x8d, 0x0, 0x0, 0x0, 0x0, 0x21, 0x1, 0x2c, 0x82, 0x0, 0x12, 0x4, 0x3, 0x0, 0x4, 0x0, 0x66, 0x41, 0x20, 0x0, 0x0, 0x47, 0x0, 0x0, 0x0, 0x0, 0x8, 0x0, 0x9, 0x0, 0xc, 0x0, 0xf, 0x0, 0x7f}) - err := p.Decode(b) - if err != nil { - t.Fatalf("regression: decode failed: %v", err) - } -} diff --git a/cmd/strom/print_replay/testdata/rt_10_0c20c77ea68496bd_test.go b/cmd/strom/print_replay/testdata/rt_10_0c20c77ea68496bd_test.go deleted file mode 100644 index 61b8015..0000000 --- a/cmd/strom/print_replay/testdata/rt_10_0c20c77ea68496bd_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8" -) - -// Decode regression: entity_equipment (1.8) - nbt TAG_End fix -func TestRegressionPacket0C20C77EA68496BD(t *testing.T) { - p := &generated.PlayToClientPacketEntityEquipment{} - b := bytes.NewReader([]byte{0x89, 0x16, 0x0, 0x0, 0x1, 0x5, 0x1, 0x0, 0x0, 0x0}) - err := p.Decode(b) - if err != nil { - t.Fatalf("regression: decode failed: %v", err) - } -} diff --git a/cmd/strom/print_replay/testdata/rt_31_df2df88561529208_test.go b/cmd/strom/print_replay/testdata/rt_31_df2df88561529208_test.go deleted file mode 100644 index d675c72..0000000 --- a/cmd/strom/print_replay/testdata/rt_31_df2df88561529208_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v1_8" -) - -// Decode regression: entity_metadata (1.8) - entityMetadataLoop mergeCompareTo -func TestRegressionPacketDF2DF88561529208(t *testing.T) { - p := &generated.PlayToClientPacketEntityMetadata{} - b := bytes.NewReader([]byte{0x69, 0x0, 0x0, 0x21, 0x1, 0x2c, 0x82, 0x0, 0x3, 0x0, 0x4, 0x0, 0x66, 0x40, 0x80, 0x0, 0x0, 0x47, 0x0, 0x0, 0x0, 0x0, 0x8, 0x0, 0x9, 0x0, 0xc, 0x0, 0xf, 0x0, 0x7f}) - err := p.Decode(b) - if err != nil { - t.Fatalf("regression: decode failed: %v", err) - } -} diff --git a/cmd/strom/print_replay/testdata/rt_8_1d0089bbe86a1648_test.go b/cmd/strom/print_replay/testdata/rt_8_1d0089bbe86a1648_test.go deleted file mode 100644 index d20b431..0000000 --- a/cmd/strom/print_replay/testdata/rt_8_1d0089bbe86a1648_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package failed_packets_test - -import ( - "bytes" - "testing" - - generated "git.anygate.cloud/anygatecloud/strom/mc/proto_generated/v26_2" -) - -// Decode regression: entity_equipment (26.2) - topBitSetTerminatedArray -func TestRegressionPacket1D0089BBE86A1648(t *testing.T) { - p := &generated.PlayToClientPacketEntityEquipment{} - b := bytes.NewReader([]byte{0x81, 0x2, 0x0, 0x1, 0x9a, 0x7, 0x0, 0x0}) - err := p.Decode(b) - if err != nil { - t.Fatalf("regression: decode failed: %v", err) - } -}