Now, I am writing tests for this.
Windows crashes if I pass NULL pointer to these function. Crash can be easily avoided in wine. Should we crash too? And how the windows crash can be caught? Or just I should not write such test-case?
Thanks, -- Kirill
On 4/25/07, Kirill K. Smirnov lich@math.spbu.ru wrote:
Now, I am writing tests for this.
Windows crashes if I pass NULL pointer to these function. Crash can be easily avoided in wine. Should we crash too? And how the windows crash can be caught? Or just I should not write such test-case?
Just add a comment saying that the function crashes in Windows with a NULL param.