add_exit_test


Description:

[ Version ( since = "0.9.7" ) ]
public void add_exit_test (TFun tf, int expected_exit_value)

Add a test function with an expected exit value to a test case

The added test is expected to terminate by exiting with the given value

Parameters:

tf

test function to add to test case

expected_exit_value

exit value for test function to return in order for the test to be considered passing

Since:

0.9.7




2022 vala-language.org