Migrate the testsuite tests/kernel/timer/timer_error_case to new ztest API. Signed-off-by: Enjia Mai <enjia.mai@intel.com>
Add some error condition or testing cases to verify whether the robustness of API. Such as give a NULL to some API and check the response if get result that we were expacted. Signed-off-by: Jian Kang <jianx.kang@intel.com>