-
-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate and add new tests of adjacently tagged enums #2804
Commits on Aug 16, 2024
-
Move all adjacently tagged enum tests (except flatten) into a dedicat…
…ed module Moved and renamed: From test_annotatons - test_adjacently_tagged_enum_bytes => bytes - flatten::enum_::adjacently_tagged::straitforward=> struct_with_flatten - test_expecting_message_adjacently_tagged_enum => expecting_message - test_partially_untagged_adjacently_tagged_enum => partially_untagged From test_macros - test_adjacently_tagged_newtype_struct => newtype_with_newtype - test_adjacently_tagged_enum - test_adjacently_tagged_enum_deny_unknown_fields => deny_unknown_fields
Configuration menu - View commit details
-
Copy full SHA for 5e37ade - Browse repository at this point
Copy the full SHA 5e37adeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a359e1 - Browse repository at this point
Copy the full SHA 5a359e1View commit details -
Split test test_adjacently_tagged_enum into four tests for each variant
(review this commit with "ignore whitespace changes" option on)
Configuration menu - View commit details
-
Copy full SHA for bee7470 - Browse repository at this point
Copy the full SHA bee7470View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59628d1 - Browse repository at this point
Copy the full SHA 59628d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36b9a85 - Browse repository at this point
Copy the full SHA 36b9a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d0f811 - Browse repository at this point
Copy the full SHA 9d0f811View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5445f17 - Browse repository at this point
Copy the full SHA 5445f17View commit details -
Configuration menu - View commit details
-
Copy full SHA for df07751 - Browse repository at this point
Copy the full SHA df07751View commit details -
Reuse AdjacentlyTagged enum in
bytes
testChange 0i32 to 1u8 so the test can be merged with the previous in the next commit
Configuration menu - View commit details
-
Copy full SHA for 42e63ff - Browse repository at this point
Copy the full SHA 42e63ffView commit details -
Integrate
bytes
test intostruct_
test`newtype` test also integrates test with `Bytes` tag, so be like Removed the first assert_tokens because it is the same as the first assert in the merged method
Configuration menu - View commit details
-
Copy full SHA for 3dc6829 - Browse repository at this point
Copy the full SHA 3dc6829View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7f0bab - Browse repository at this point
Copy the full SHA a7f0babView commit details -
Unit: add tests for deserialization from sequence
(review this commit with "ignore whitespace changes" option on)
Configuration menu - View commit details
-
Copy full SHA for 29dc6c3 - Browse repository at this point
Copy the full SHA 29dc6c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a02da49 - Browse repository at this point
Copy the full SHA a02da49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bfe1c4 - Browse repository at this point
Copy the full SHA 6bfe1c4View commit details -
No need to test integer and byte array field names, they already test…
…ed for Unit case There is no difference what variant is deserialized so we can test only one kind of variant
Configuration menu - View commit details
-
Copy full SHA for d5a9c11 - Browse repository at this point
Copy the full SHA d5a9c11View commit details -
Newtype: add tests for deserialization from sequence
(review this commit with "ignore whitespace changes" option on)
Configuration menu - View commit details
-
Copy full SHA for b0d651b - Browse repository at this point
Copy the full SHA b0d651bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a94d875 - Browse repository at this point
Copy the full SHA a94d875View commit details -
Tuple: add tests for deserialization from sequence
(review this commit with "ignore whitespace changes" option on)
Configuration menu - View commit details
-
Copy full SHA for c383e4f - Browse repository at this point
Copy the full SHA c383e4fView commit details -
Struct: add tests for deserialization from sequence
(review this commit with "ignore whitespace changes" option on)
Configuration menu - View commit details
-
Copy full SHA for 9f72ce6 - Browse repository at this point
Copy the full SHA 9f72ce6View commit details