Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
main.c File Reference
#include <zephyr/ztest.h>
#include <cortex_m/tz_ns.h>
#include <cmsis_core.h>

Functions

void reset_mocks (void)
 
void preface (void)
 
uint32_t foo1 (uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4)
 
void postface (void)
 
uint32_t wrap_foo1 (uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4)
 
void test_tz_wrap_func (void)
 
 ZTEST_SUITE (tz_wrap_func, NULL, NULL, NULL, NULL, NULL)
 

Variables

static bool expect_preface
 
static bool expect_postface
 
static bool expect_foo1
 
static bool preface_called
 
static bool postface_called
 
static bool foo1_called
 
static uint32_t foo1_retval
 
static uint32_t foo1_arg1
 
static uint32_t foo1_arg2
 
static uint32_t foo1_arg3
 
static uint32_t foo1_arg4
 

Function Documentation

◆ foo1()

uint32_t foo1 ( uint32_t arg1,
uint32_t arg2,
uint32_t arg3,
uint32_t arg4 )

◆ postface()

void postface ( void )

◆ preface()

void preface ( void )

◆ reset_mocks()

void reset_mocks ( void )

◆ test_tz_wrap_func()

void test_tz_wrap_func ( void )

◆ wrap_foo1()

uint32_t wrap_foo1 ( uint32_t arg1,
uint32_t arg2,
uint32_t arg3,
uint32_t arg4 )

◆ ZTEST_SUITE()

ZTEST_SUITE ( tz_wrap_func ,
NULL ,
NULL ,
NULL ,
NULL ,
NULL  )

Variable Documentation

◆ expect_foo1

bool expect_foo1
static

◆ expect_postface

bool expect_postface
static

◆ expect_preface

bool expect_preface
static

◆ foo1_arg1

uint32_t foo1_arg1
static

◆ foo1_arg2

uint32_t foo1_arg2
static

◆ foo1_arg3

uint32_t foo1_arg3
static

◆ foo1_arg4

uint32_t foo1_arg4
static

◆ foo1_called

bool foo1_called
static

◆ foo1_retval

uint32_t foo1_retval
static

◆ postface_called

bool postface_called
static

◆ preface_called

bool preface_called
static