Skip to content
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

test: expect the serialized form to use fully-qualified names #24

Merged
merged 3 commits into from
Feb 23, 2021

Conversation

keturn
Copy link
Contributor

@keturn keturn commented Feb 21, 2021

@keturn
Copy link
Contributor Author

keturn commented Feb 21, 2021

I do think the type handler has enough code in it to be worth testing.

Clearly there are some disadvantages to having the tests depend on the byte-for-byte result of the serialized form.

Not sure what the better way would be. It could compare PersistedData structures instead of the JSON string, but that might have the same problem if the expected PersistedData hard-codes those class references.

@skaldarnar
Copy link
Contributor

This fails because MTE is not binary compatible with MovingBlocks/Terasology#4539 (I think). I've triggered a rebuild of MTE and hope this will help (the tests run fine when testing this locally).

@skaldarnar skaldarnar merged commit be07ddd into develop Feb 23, 2021
@skaldarnar skaldarnar deleted the test/serialize-full-names branch February 23, 2021 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants