RKH
test_rkhtrc_stream.c File Reference

Unit test for trace stream module. More...

#include <string.h>
#include "unity.h"
#include "rkhtrc_stream.h"
#include "Mock_rkhsm.h"
#include "Mock_rkhsma.h"
Include dependency graph for test_rkhtrc_stream.c:

Go to the source code of this file.

Functions

Test cases of trace stream group
void test_FlagAfterInit (void)
 
void test_NotFullAfterInit (void)
 
void test_NotEmptyThenEmpty (void)
 
void test_GetPutOneValue (void)
 
void test_GetPutAFew (void)
 
void test_IsFull (void)
 
void test_EmptyToFullToEmpty (void)
 
void test_WrapAround (void)
 
void test_GetFromEmptyReturnsNull (void)
 
void test_GetContinuousBlock (void)
 
void test_GetManyFromEmptyUsingWholeBlock (void)
 
void test_GetManyElemsLessThanStoredUsingWholeBlock (void)
 
void test_GetManyElemsEqualThanStoredWholeBlock (void)
 
void test_GetManyElemsMoreThanStoredUsingWholeBlock (void)
 
void test_GetManyElemsEqualThanStoredWrapAroundUsingWholeBlock (void)
 
void test_GetManyElemsLessThanStoredWrapAroundUsingWholeBlock (void)
 
void test_GetManyElemsMoreThanStoredWrapAroundUsingWholeBlock (void)
 

Detailed Description

Unit test for trace stream module.

Definition in file test_rkhtrc_stream.c.