RKH
test_rkhsma.c File Reference

Unit test for sma module. More...

#include "unity.h"
#include "rkhsma.h"
#include "smInstance.h"
#include "smPolymorphism.h"
#include "Mock_rkhport.h"
#include "Mock_rkhtrc.h"
#include "Mock_rkhtrc_record.h"
#include "Mock_rkhtrc_filter.h"
#include "Mock_rkhsm.h"
#include "Mock_rkhqueue.h"
#include "Mock_rkhassert.h"
#include <string.h>
Include dependency graph for test_rkhsma.c:

Go to the source code of this file.

Functions

Test cases of active object test group
void test_Register (void)
 
void test_UnRegister (void)
 
void test_Constructor (void)
 
void test_TerminateOneRegisteredAO (void)
 
void test_ActivateOneAO (void)
 
void test_PostFifo (void)
 
void test_PostLifo (void)
 
void test_Get (void)
 
void test_Defer (void)
 
void test_Recall (void)
 
Test cases of instance group
void test_ctorOfStaticPrivateAO (void)
 
void test_staticPublicAOWithoutRuntimeCtor (void)
 
void test_ctorOfStaticPublicAO (void)
 
void test_ctorOfStaticOpaqueAO (void)
 
void test_ctorOfStaticMultipleAO (void)
 
void test_ctorOfStaticArrayOfAO (void)
 
void test_staticPrivateSMWithoutRuntimeCtor (void)
 
void test_staticPublicSMWithoutRuntimeCtor (void)
 
void test_ctorOfStaticCompositePrivateSingletonAO (void)
 
void test_ctorOfStaticCompositePublicAO (void)
 
void test_ctorOfStaticCompositeAOWithDerivedPublicSM (void)
 
void test_ctorOfDynamicCompositeAO (void)
 
Test cases of polimorphism group
void test_defaultVirtualFunctions (void)
 
void test_callVirtualFunction (void)
 
void test_setVirtualTable (void)
 
void test_runtimeSingletonAOCtor (void)
 
void test_runtimeMultipleAOCtorWithVtblForObj (void)
 
void test_runtimeMultipleAOCtorWithVtblForType (void)
 
void test_runtimeSubObjectCtorOfSMAAndSM (void)
 
void test_runtimeSubObjectCtorOfSMAAndSMWithDefaultVtbl (void)
 

Detailed Description

Unit test for sma module.

Definition in file test_rkhsma.c.