theCore C++ embedded framework
semaphore_test/case.cpp File Reference
#include <ecl/thread/semaphore.hpp>
#include <unity.h>
#include <unity_fixture.h>
Include dependency graph for semaphore_test/case.cpp:

Functions

 TEST_GROUP (binary_semaphore)
 
 TEST_SETUP (binary_semaphore)
 
 TEST_TEAR_DOWN (binary_semaphore)
 
 TEST (binary_semaphore, signal_wait)
 
 TEST (binary_semaphore, signal_try_wait)
 
 TEST_GROUP (semaphore)
 
 TEST_SETUP (semaphore)
 
 TEST_TEAR_DOWN (semaphore)
 
 TEST (semaphore, signal_wait)
 
 TEST (semaphore, signal_try_wait)
 

Variables

static ecl::binary_semaphore bsm
 
static ecl::semaphore sm
 

Function Documentation

◆ TEST_GROUP() [1/2]

TEST_GROUP ( binary_semaphore  )
Here is the call graph for this function:

◆ TEST_SETUP() [1/2]

TEST_SETUP ( binary_semaphore  )

◆ TEST_TEAR_DOWN() [1/2]

TEST_TEAR_DOWN ( binary_semaphore  )

◆ TEST() [1/4]

TEST ( binary_semaphore  ,
signal_wait   
)
Here is the call graph for this function:

◆ TEST() [2/4]

TEST ( binary_semaphore  ,
signal_try_wait   
)
Here is the call graph for this function:

◆ TEST_GROUP() [2/2]

TEST_GROUP ( semaphore  )
Here is the call graph for this function:

◆ TEST_SETUP() [2/2]

TEST_SETUP ( semaphore  )

◆ TEST_TEAR_DOWN() [2/2]

TEST_TEAR_DOWN ( semaphore  )

◆ TEST() [3/4]

TEST ( semaphore  ,
signal_wait   
)
Here is the call graph for this function:

◆ TEST() [4/4]

TEST ( semaphore  ,
signal_try_wait   
)
Here is the call graph for this function:

Variable Documentation

◆ bsm

◆ sm

ecl::semaphore sm
static