[KERNEL32_APITEST]: Add basic tests for lstrlenA/W, focusing on its special handling...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 6 Mar 2017 19:14:27 +0000 (19:14 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 6 Mar 2017 19:14:27 +0000 (19:14 +0000)
commitc5dde308bfa67c8bc725f4be10268617801df6c9
tree2f5ec35d1b094127a8e6c1f027dd1c80cbdff0ce
parent80db48ee6f596a3406505e7ae6e70c983c89b4e1
[KERNEL32_APITEST]: Add basic tests for lstrlenA/W, focusing on its special handling of the NULL pointer.
We detect that the NULL pointer is handled separately because no exception is generated, contrary to when the function is called with truly invalid pointers.
I thank Mark for having mentioned the vectored exception handling to me, needed to catch first-chance exceptions.

svn path=/trunk/; revision=74118
rostests/apitests/kernel32/CMakeLists.txt
rostests/apitests/kernel32/lstrlen.c [new file with mode: 0644]
rostests/apitests/kernel32/testlist.c