Closed keturn closed 3 years ago
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.
This fails because MTE is not binary compatible with https://github.com/MovingBlocks/Terasology/pull/4539 (I think). I've triggered a rebuild of MTE and hope this will help (the tests run fine when testing this locally).
because https://github.com/MovingBlocks/Terasology/pull/4148