From e660a14046f4c889078dd6bfa36d811b6c781334 Mon Sep 17 00:00:00 2001 From: Dmitry Kropachev Date: Thu, 10 Oct 2024 09:18:36 -0400 Subject: [PATCH] tests: relocate serialization tests --- .../serialization/marshal_10_decimal_test.go | 2 +- .../serialization/marshal_11_texts_test.go | 2 +- .../serialization/marshal_12_ascii_corrupt_test.go | 2 +- .../serialization/marshal_12_ascii_test.go | 2 +- .../serialization/marshal_13_uuids_corrupt_test.go | 2 +- .../serialization/marshal_13_uuids_test.go | 2 +- .../serialization/marshal_14_inet_corrupt_test.go | 2 +- .../serialization/marshal_14_inet_test.go | 2 +- .../serialization/marshal_1_boolean_test.go | 2 +- .../serialization/marshal_2_tinyint_corrupt_test.go | 2 +- .../serialization/marshal_2_tinyint_test.go | 2 +- .../serialization/marshal_3_smallint_corrupt_test.go | 2 +- .../serialization/marshal_3_smallint_test.go | 2 +- .../serialization/marshal_4_int_corrupt_test.go | 2 +- .../serialization/marshal_4_int_test.go | 2 +- .../serialization/marshal_5_bigint_corrupt_test.go | 2 +- .../serialization/marshal_5_bigint_test.go | 2 +- .../serialization/marshal_6_counter_corrupt_test.go | 2 +- .../serialization/marshal_6_counter_test.go | 2 +- .../serialization/marshal_7_varint_test.go | 2 +- .../serialization/marshal_8_float_test.go | 2 +- .../serialization/marshal_9_duble_test.go | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) rename marshal_10_decimal_test.go => tests/serialization/marshal_10_decimal_test.go (98%) rename marshal_11_texts_test.go => tests/serialization/marshal_11_texts_test.go (98%) rename marshal_12_ascii_corrupt_test.go => tests/serialization/marshal_12_ascii_corrupt_test.go (98%) rename marshal_12_ascii_test.go => tests/serialization/marshal_12_ascii_test.go (98%) rename marshal_13_uuids_corrupt_test.go => tests/serialization/marshal_13_uuids_corrupt_test.go (98%) rename marshal_13_uuids_test.go => tests/serialization/marshal_13_uuids_test.go (99%) rename marshal_14_inet_corrupt_test.go => tests/serialization/marshal_14_inet_corrupt_test.go (99%) rename marshal_14_inet_test.go => tests/serialization/marshal_14_inet_test.go (99%) rename marshal_1_boolean_test.go => tests/serialization/marshal_1_boolean_test.go (98%) rename marshal_2_tinyint_corrupt_test.go => tests/serialization/marshal_2_tinyint_corrupt_test.go (98%) rename marshal_2_tinyint_test.go => tests/serialization/marshal_2_tinyint_test.go (99%) rename marshal_3_smallint_corrupt_test.go => tests/serialization/marshal_3_smallint_corrupt_test.go (99%) rename marshal_3_smallint_test.go => tests/serialization/marshal_3_smallint_test.go (99%) rename marshal_4_int_corrupt_test.go => tests/serialization/marshal_4_int_corrupt_test.go (99%) rename marshal_4_int_test.go => tests/serialization/marshal_4_int_test.go (99%) rename marshal_5_bigint_corrupt_test.go => tests/serialization/marshal_5_bigint_corrupt_test.go (99%) rename marshal_5_bigint_test.go => tests/serialization/marshal_5_bigint_test.go (99%) rename marshal_6_counter_corrupt_test.go => tests/serialization/marshal_6_counter_corrupt_test.go (99%) rename marshal_6_counter_test.go => tests/serialization/marshal_6_counter_test.go (99%) rename marshal_7_varint_test.go => tests/serialization/marshal_7_varint_test.go (99%) rename marshal_8_float_test.go => tests/serialization/marshal_8_float_test.go (98%) rename marshal_9_duble_test.go => tests/serialization/marshal_9_duble_test.go (98%) diff --git a/marshal_10_decimal_test.go b/tests/serialization/marshal_10_decimal_test.go similarity index 98% rename from marshal_10_decimal_test.go rename to tests/serialization/marshal_10_decimal_test.go index e2f063506..7f6a05849 100644 --- a/marshal_10_decimal_test.go +++ b/tests/serialization/marshal_10_decimal_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "gopkg.in/inf.v0" diff --git a/marshal_11_texts_test.go b/tests/serialization/marshal_11_texts_test.go similarity index 98% rename from marshal_11_texts_test.go rename to tests/serialization/marshal_11_texts_test.go index c63e4981c..0f21dbf74 100644 --- a/marshal_11_texts_test.go +++ b/tests/serialization/marshal_11_texts_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "testing" diff --git a/marshal_12_ascii_corrupt_test.go b/tests/serialization/marshal_12_ascii_corrupt_test.go similarity index 98% rename from marshal_12_ascii_corrupt_test.go rename to tests/serialization/marshal_12_ascii_corrupt_test.go index e282400cd..1b627c2f3 100644 --- a/marshal_12_ascii_corrupt_test.go +++ b/tests/serialization/marshal_12_ascii_corrupt_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "testing" diff --git a/marshal_12_ascii_test.go b/tests/serialization/marshal_12_ascii_test.go similarity index 98% rename from marshal_12_ascii_test.go rename to tests/serialization/marshal_12_ascii_test.go index 9f387f3e6..5056e1448 100644 --- a/marshal_12_ascii_test.go +++ b/tests/serialization/marshal_12_ascii_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "testing" diff --git a/marshal_13_uuids_corrupt_test.go b/tests/serialization/marshal_13_uuids_corrupt_test.go similarity index 98% rename from marshal_13_uuids_corrupt_test.go rename to tests/serialization/marshal_13_uuids_corrupt_test.go index 3a40a347a..862b4f410 100644 --- a/marshal_13_uuids_corrupt_test.go +++ b/tests/serialization/marshal_13_uuids_corrupt_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "testing" diff --git a/marshal_13_uuids_test.go b/tests/serialization/marshal_13_uuids_test.go similarity index 99% rename from marshal_13_uuids_test.go rename to tests/serialization/marshal_13_uuids_test.go index ef9dee079..7f344f8d1 100644 --- a/marshal_13_uuids_test.go +++ b/tests/serialization/marshal_13_uuids_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "testing" diff --git a/marshal_14_inet_corrupt_test.go b/tests/serialization/marshal_14_inet_corrupt_test.go similarity index 99% rename from marshal_14_inet_corrupt_test.go rename to tests/serialization/marshal_14_inet_corrupt_test.go index df1190d25..37e1e80ab 100644 --- a/marshal_14_inet_corrupt_test.go +++ b/tests/serialization/marshal_14_inet_corrupt_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "net" diff --git a/marshal_14_inet_test.go b/tests/serialization/marshal_14_inet_test.go similarity index 99% rename from marshal_14_inet_test.go rename to tests/serialization/marshal_14_inet_test.go index 246970232..dc9b68212 100644 --- a/marshal_14_inet_test.go +++ b/tests/serialization/marshal_14_inet_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "net" diff --git a/marshal_1_boolean_test.go b/tests/serialization/marshal_1_boolean_test.go similarity index 98% rename from marshal_1_boolean_test.go rename to tests/serialization/marshal_1_boolean_test.go index dbfa470f8..479ac433e 100644 --- a/marshal_1_boolean_test.go +++ b/tests/serialization/marshal_1_boolean_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "testing" diff --git a/marshal_2_tinyint_corrupt_test.go b/tests/serialization/marshal_2_tinyint_corrupt_test.go similarity index 98% rename from marshal_2_tinyint_corrupt_test.go rename to tests/serialization/marshal_2_tinyint_corrupt_test.go index 680f44a61..2d53d4e71 100644 --- a/marshal_2_tinyint_corrupt_test.go +++ b/tests/serialization/marshal_2_tinyint_corrupt_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_2_tinyint_test.go b/tests/serialization/marshal_2_tinyint_test.go similarity index 99% rename from marshal_2_tinyint_test.go rename to tests/serialization/marshal_2_tinyint_test.go index fe5f8a12b..98897b547 100644 --- a/marshal_2_tinyint_test.go +++ b/tests/serialization/marshal_2_tinyint_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_3_smallint_corrupt_test.go b/tests/serialization/marshal_3_smallint_corrupt_test.go similarity index 99% rename from marshal_3_smallint_corrupt_test.go rename to tests/serialization/marshal_3_smallint_corrupt_test.go index bee4ce653..3345c6850 100644 --- a/marshal_3_smallint_corrupt_test.go +++ b/tests/serialization/marshal_3_smallint_corrupt_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_3_smallint_test.go b/tests/serialization/marshal_3_smallint_test.go similarity index 99% rename from marshal_3_smallint_test.go rename to tests/serialization/marshal_3_smallint_test.go index f9170cdfc..46d917d81 100644 --- a/marshal_3_smallint_test.go +++ b/tests/serialization/marshal_3_smallint_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_4_int_corrupt_test.go b/tests/serialization/marshal_4_int_corrupt_test.go similarity index 99% rename from marshal_4_int_corrupt_test.go rename to tests/serialization/marshal_4_int_corrupt_test.go index 7a3e65841..392b138ef 100644 --- a/marshal_4_int_corrupt_test.go +++ b/tests/serialization/marshal_4_int_corrupt_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_4_int_test.go b/tests/serialization/marshal_4_int_test.go similarity index 99% rename from marshal_4_int_test.go rename to tests/serialization/marshal_4_int_test.go index d0c7a29ec..fb5733a7e 100644 --- a/marshal_4_int_test.go +++ b/tests/serialization/marshal_4_int_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_5_bigint_corrupt_test.go b/tests/serialization/marshal_5_bigint_corrupt_test.go similarity index 99% rename from marshal_5_bigint_corrupt_test.go rename to tests/serialization/marshal_5_bigint_corrupt_test.go index 24f2696ee..99df75ed5 100644 --- a/marshal_5_bigint_corrupt_test.go +++ b/tests/serialization/marshal_5_bigint_corrupt_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_5_bigint_test.go b/tests/serialization/marshal_5_bigint_test.go similarity index 99% rename from marshal_5_bigint_test.go rename to tests/serialization/marshal_5_bigint_test.go index 8878e3f62..5ac33854b 100644 --- a/marshal_5_bigint_test.go +++ b/tests/serialization/marshal_5_bigint_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_6_counter_corrupt_test.go b/tests/serialization/marshal_6_counter_corrupt_test.go similarity index 99% rename from marshal_6_counter_corrupt_test.go rename to tests/serialization/marshal_6_counter_corrupt_test.go index 845dad80a..ee3210e65 100644 --- a/marshal_6_counter_corrupt_test.go +++ b/tests/serialization/marshal_6_counter_corrupt_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_6_counter_test.go b/tests/serialization/marshal_6_counter_test.go similarity index 99% rename from marshal_6_counter_test.go rename to tests/serialization/marshal_6_counter_test.go index 99942804f..f315d9226 100644 --- a/marshal_6_counter_test.go +++ b/tests/serialization/marshal_6_counter_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_7_varint_test.go b/tests/serialization/marshal_7_varint_test.go similarity index 99% rename from marshal_7_varint_test.go rename to tests/serialization/marshal_7_varint_test.go index 45519279d..caf9b3838 100644 --- a/marshal_7_varint_test.go +++ b/tests/serialization/marshal_7_varint_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math/big" diff --git a/marshal_8_float_test.go b/tests/serialization/marshal_8_float_test.go similarity index 98% rename from marshal_8_float_test.go rename to tests/serialization/marshal_8_float_test.go index 6398cbe97..9cd4bed7b 100644 --- a/marshal_8_float_test.go +++ b/tests/serialization/marshal_8_float_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math" diff --git a/marshal_9_duble_test.go b/tests/serialization/marshal_9_duble_test.go similarity index 98% rename from marshal_9_duble_test.go rename to tests/serialization/marshal_9_duble_test.go index 0b00cdebb..8c774934f 100644 --- a/marshal_9_duble_test.go +++ b/tests/serialization/marshal_9_duble_test.go @@ -1,4 +1,4 @@ -package gocql_test +package serialization_test import ( "math"