add_loop_test_raise_signal


Description:

[ Version ( since = "0.9.5" ) ]
public void add_loop_test_raise_signal (TFun tf, int @signal, int s, int e)

Add a looping test function with signal handling to a test case

The test will be called in a for(i = s; i < e; i++) loop with each iteration being executed in a new context. The loop variable 'i' is available in the test.

The added test is expected to terminate by throwing the given signal

Parameters:

tf

function to add to test case

s

starting index for value "i" in test

e

ending index for value "i" in test

signal

expected signal for test function to throw in order for the test to be considered passing

Since:

0.9.5




2022 vala-language.org