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.

  1. 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
  2. Enter the code to pass a NULL pointer as an argument in a specific test case.
    • The example code is the code to test by passing a NULL pointer as an argument when the test case is number 1.
  1. You can check the entered code in the [Test Code] tab. Just check the test code and enter the code appropriately.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.