How to enter a NULL value for a pointer-type parameter in tests
In [Test Editor] – [Test Info] tab – [Test Structure] tree, after selecting the appropriate parameters, select [Using NULL] in Test Info Edit and save.
How to enter a NULL value for a pointer-type parameter in specific test cases
You can enter NULL values in a pointer-type parameter using test macro(CS_TESTCASENO()
) that return test case number.
- In [Test Editor] – [Test Info] tab – [Test Structure] tree, select one of the followings:
- [Before call code]
- [User code] in Test info Edit, after selecting the appropriate parameters
- Enter the code to pass a NULL pointer as an argument in a specific test case.
Need more help with this?
Don’t hesitate to contact us here.