iPXE
Data Fields
self_test Struct Reference

A self-test set. More...

#include <test.h>

Data Fields

const char * name
 Test set name.
void(* exec )(void)
 Run self-tests.
unsigned int total
 Number of tests run.
unsigned int failures
 Number of test failures.
unsigned int assertion_failures
 Number of assertion failures.

Detailed Description

A self-test set.

Definition at line 15 of file test.h.


Field Documentation

const char* self_test::name

Test set name.

Definition at line 17 of file test.h.

Referenced by run_tests(), and test_ok().

void( * self_test::exec)(void)

Run self-tests.

Definition at line 19 of file test.h.

Referenced by run_tests().

unsigned int self_test::total

Number of tests run.

Definition at line 21 of file test.h.

Referenced by run_all_tests(), run_tests(), and test_ok().

unsigned int self_test::failures

Number of test failures.

Definition at line 23 of file test.h.

Referenced by run_all_tests(), run_tests(), and test_ok().

Number of assertion failures.

Definition at line 25 of file test.h.

Referenced by run_all_tests(), and run_tests().


The documentation for this struct was generated from the following file: