Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ztest_expected_result_entry Struct Reference

A single expectation entry allowing tests to fail/skip and be considered passing. More...

#include <ztest_test.h>

Data Fields

const char * test_suite_name
 The test suite's name for the expectation.
 
const char * test_name
 The test's name for the expectation.
 
enum ztest_expected_result expected_result
 The expectation.
 

Detailed Description

A single expectation entry allowing tests to fail/skip and be considered passing.

See also
ZTEST_EXPECT_FAIL
ZTEST_EXPECT_SKIP

Field Documentation

◆ expected_result

enum ztest_expected_result ztest_expected_result_entry::expected_result

The expectation.

◆ test_name

const char* ztest_expected_result_entry::test_name

The test's name for the expectation.

◆ test_suite_name

const char* ztest_expected_result_entry::test_suite_name

The test suite's name for the expectation.


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