Mistake on this page?
Report an issue in GitHub or email us
Static Public Member Functions
Harness Class Reference

Test Harness. More...

#include <utest_harness.h>

Static Public Member Functions

static bool run (const Specification &specification)
 Runs a test specification. More...
 
static bool is_busy ()
 
static bool set_scheduler (utest_v1_scheduler_t scheduler)
 Sets the scheduler to be used. More...
 
static void validate_callback (const control_t control=control_t())
 Call this function in the asynchronous callback that you have been waiting for. More...
 
static void raise_failure (const failure_reason_t reason)
 Raising a failure causes the failure to be counted and the failure handler to be called. More...
 

Detailed Description

Test Harness.

This class runs a test specification for you and calls all required handlers. The harness executes the test specification in an asynchronous fashion, therefore run() returns immediately.

Note
In case of an test abort, the harness will busy-wait and never finish.

Definition at line 46 of file utest_harness.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.