Files
Packer-Cn/test
Lucas Bajolet 045b7b7365 test: infer gadget name from struct name
Creating the Name() function for every gadget we have is superfluous a
bit, as we're essentially parroting the name of the test itself as
implementation for the function.

So instead of requiring every checker implements `Name', we now default
to returning the type name, but if the Name function exists for the
checker, we invoke it and return the value for that function.

This allows us to only define the function where needed, and not
systematically.
2024-06-07 14:38:20 -04:00
..