Passing a null pointer to the printf family for a %s format specifier leads to undefined behaviour. The tests currently expect (null). Explicitly test for a null pointer and provide the expected string.
LGTM. I have some minor style comments that could be fixed as part of the commit.
|4648 ↗||(On Diff #206514)|
Minor nit: The blank line that was removed helps readability (at least for me). Also, FileNameStr should be declared first to match the corresponding CXStrings.