lib/nbt: create a unit test for the NBT validator #45

Closed
opened 2022-08-15 10:58:11 +02:00 by BodgeMaster · 1 comment

This needs to at least include the following:

  • validating the simple NBT file (embed into the test as a blob)
  • validating the nested compounds and lists file (also embed this one)
  • valid input for various edge cases (empty name, weird strings, or whatever)
  • check for the amount of processed bytes for each test with valid input
  • check that invalid data and almost valid data are correctly being classified as invalid input
This needs to at least include the following: - [ ] validating the simple NBT file (embed into the test as a blob) - [ ] validating the nested compounds and lists file (also embed this one) - [ ] valid input for various edge cases (empty name, weird strings, or whatever) - [ ] check for the amount of processed bytes for each test with valid input - [ ] check that invalid data and almost valid data are correctly being classified as invalid input
BodgeMaster added the
TODO
label 2022-08-15 13:31:57 +02:00
BodgeMaster added this to the NBT milestone 2022-08-15 13:32:00 +02:00
BodgeMaster self-assigned this 2022-08-25 16:55:24 +02:00
BodgeMaster removed their assignment 2022-10-02 07:56:11 +02:00

Parser works, dedicated validator gets canned when it breaks too badly.

Parser works, dedicated validator gets canned when it breaks too badly.
Sign in to join this conversation.
There is no content yet.