libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal_test_scenario.h File Reference

Go to the source code of this file.

Data Structures

struct  GblTestScenarioClass
 
struct  GblTestScenario
 

Macros

Type System

Type UUID and cast operators

#define GBL_TEST_SCENARIO_TYPE
 
#define GBL_TEST_SCENARIO(self)
 
#define GBL_TEST_SCENARIO_CLASS(klass)
 
#define GBL_TEST_SCENARIO_GET_CLASS(self)
 

Functions

 GBL_PROPERTIES_ (GblTestScenario,(testResult, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12)))),(suiteCount, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12)))),(suitesRun, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12)))),(suitesPassed, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12)))),(suitesFailed, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12)))),(suitesSkipped, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12)))),(caseCount, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12)))),(casesRun, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12)))),(casesPassed, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12)))),(casesFailed, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12)))),(casesSkipped, GBL_GENERIC,(READ, SAVE),((GblType_fromBuiltinIndex(12))))) GblType GblTestScenario_type(void)
 
GblTestScenarioGblTestScenario_create (const char *pName)
 
GblTestScenarioGblTestScenario_ref (GblTestScenario *pSelf)
 
GblRefCount GblTestScenario_unref (GblTestScenario *pSelf)
 
GBL_RESULT GblTestScenario_enqueueSuite (GblTestScenario *pSelf, const GblTestSuite *pSuite)
 
GblTestSuiteGblTestScenario_currentSuite (const GblTestScenario *pSelf)
 
GblTestSuiteGblTestScenario_findSuite (const GblTestScenario *pSelf, const char *pName)
 
size_t GblTestScenario_currentCase (const GblTestScenario *pSelf)
 
GBL_RESULT GblTestScenario_run (GblTestScenario *pSelf, int argc, const char *argv[])
 
int GblTestScenario_exec (GblTestScenario *pSelf, int argc, const char *argv[])
 
GblBool GblTestScenario_ran (const GblTestScenario *pSelf)
 
GblBool GblTestScenario_passed (const GblTestScenario *pSelf)
 
void GblTestScenario_expectError (const GblTestScenario *pSelf)
 

Detailed Description

GblTestScenario and related functions.

Author
2023, 2024 Falco Girgis

Definition in file gimbal_test_scenario.h.

Macro Definition Documentation

◆ GBL_TEST_SCENARIO_TYPE

#define GBL_TEST_SCENARIO_TYPE

Definition at line 18 of file gimbal_test_scenario.h.

◆ GBL_TEST_SCENARIO

#define GBL_TEST_SCENARIO (   self)

Definition at line 19 of file gimbal_test_scenario.h.

◆ GBL_TEST_SCENARIO_CLASS

#define GBL_TEST_SCENARIO_CLASS (   klass)

Definition at line 20 of file gimbal_test_scenario.h.

◆ GBL_TEST_SCENARIO_GET_CLASS

#define GBL_TEST_SCENARIO_GET_CLASS (   self)

Definition at line 21 of file gimbal_test_scenario.h.