no-OS
Loading...
Searching...
No Matches
test_case Struct Reference

Test case entry for table-driven testing. More...

#include <test_framework.h>

Public Attributes

const char * name
 
int(* run )(void)
 
bool skip
 

Detailed Description

Test case entry for table-driven testing.

Member Data Documentation

◆ name

const char* test_case::name

Test name (passed to TEST_BEGIN).

◆ run

int(* test_case::run) (void)

Test function (should return 0 on pass, non-zero on failure).

◆ skip

bool test_case::skip

If true, skip this test; if false, run it.


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