Lines Matching refs:pxConfig

61     BitConfig_t xConfig, * pxConfig = &xConfig;  in test_xBitConfig_init_Fail()  local
70 xResult = xBitConfig_init( pxConfig, pucData, uxSize ); in test_xBitConfig_init_Fail()
73 TEST_ASSERT_EQUAL( pdTRUE, pxConfig->xHasError ); in test_xBitConfig_init_Fail()
83 BitConfig_t xConfig, * pxConfig = &xConfig; in test_xBitConfig_init_pucDataNull() local
93 pxConfig->ucContents = ucContent; in test_xBitConfig_init_pucDataNull()
97 xResult = xBitConfig_init( pxConfig, pucData, uxSize ); in test_xBitConfig_init_pucDataNull()
100 TEST_ASSERT_EQUAL( uxSize, pxConfig->uxSize ); in test_xBitConfig_init_pucDataNull()
101 TEST_ASSERT_EQUAL_MEMORY( pxConfig->ucContents, ucContentReturn, uxSize ); in test_xBitConfig_init_pucDataNull()
160 BitConfig_t xConfig, * pxConfig = &xConfig; in test_xBitConfig_read_uc_OutOfBoundRead() local
164 memset( pxConfig, 0, sizeof( BitConfig_t ) ); in test_xBitConfig_read_uc_OutOfBoundRead()
165 pxConfig->xHasError = pdFALSE; in test_xBitConfig_read_uc_OutOfBoundRead()
166 pxConfig->uxIndex = 1; in test_xBitConfig_read_uc_OutOfBoundRead()
167 pxConfig->uxSize = SIZE_OF_BINARY_STREAM; in test_xBitConfig_read_uc_OutOfBoundRead()
169 xResult = xBitConfig_read_uc( pxConfig, pucData, SIZE_OF_BINARY_STREAM ); in test_xBitConfig_read_uc_OutOfBoundRead()
172 TEST_ASSERT_EQUAL( pdTRUE, pxConfig->xHasError ); in test_xBitConfig_read_uc_OutOfBoundRead()
183 BitConfig_t xConfig, * pxConfig = &xConfig; in test_xBitConfig_read_uc_NullData() local
186 memset( pxConfig, 0, sizeof( BitConfig_t ) ); in test_xBitConfig_read_uc_NullData()
187 pxConfig->xHasError = pdFALSE; in test_xBitConfig_read_uc_NullData()
188 pxConfig->uxIndex = 0; in test_xBitConfig_read_uc_NullData()
189 pxConfig->uxSize = SIZE_OF_BINARY_STREAM; in test_xBitConfig_read_uc_NullData()
191 xResult = xBitConfig_read_uc( pxConfig, NULL, SIZE_OF_BINARY_STREAM ); in test_xBitConfig_read_uc_NullData()
194 TEST_ASSERT_EQUAL( SIZE_OF_BINARY_STREAM, pxConfig->uxIndex ); in test_xBitConfig_read_uc_NullData()
204 BitConfig_t xConfig, * pxConfig = &xConfig; in test_xBitConfig_read_uc_HappyPath() local
209 memset( pxConfig, 0, sizeof( BitConfig_t ) ); in test_xBitConfig_read_uc_HappyPath()
213 pxConfig->xHasError = pdFALSE; in test_xBitConfig_read_uc_HappyPath()
214 pxConfig->uxIndex = 0; in test_xBitConfig_read_uc_HappyPath()
215 pxConfig->uxSize = uxSize; in test_xBitConfig_read_uc_HappyPath()
216 pxConfig->ucContents = ucContents; in test_xBitConfig_read_uc_HappyPath()
218 xResult = xBitConfig_read_uc( pxConfig, ucData, uxSize ); in test_xBitConfig_read_uc_HappyPath()
221 TEST_ASSERT_EQUAL( uxSize, pxConfig->uxIndex ); in test_xBitConfig_read_uc_HappyPath()
222 TEST_ASSERT_EQUAL_MEMORY( pxConfig->ucContents, ucData, uxSize ); in test_xBitConfig_read_uc_HappyPath()
325 BitConfig_t xConfig, * pxConfig = &xConfig; in test_ucBitConfig_read_8_fail() local
329 pxConfig->xHasError = pdTRUE; in test_ucBitConfig_read_8_fail()
331 ucResult = ucBitConfig_read_8( pxConfig ); in test_ucBitConfig_read_8_fail()
343 BitConfig_t xConfig, * pxConfig = &xConfig; in test_xBitConfig_read_8_HappyPath() local
351 pxConfig->xHasError = pdFALSE; in test_xBitConfig_read_8_HappyPath()
352 pxConfig->uxIndex = 0; in test_xBitConfig_read_8_HappyPath()
353 pxConfig->uxSize = uxSize; in test_xBitConfig_read_8_HappyPath()
354 pxConfig->ucContents = ucContents; in test_xBitConfig_read_8_HappyPath()
356 ucResult = ucBitConfig_read_8( pxConfig ); in test_xBitConfig_read_8_HappyPath()
359 TEST_ASSERT_EQUAL( 1, pxConfig->uxIndex ); in test_xBitConfig_read_8_HappyPath()
370 BitConfig_t xConfig, * pxConfig = &xConfig; in test_usBitConfig_read_16_fail() local
374 pxConfig->xHasError = pdTRUE; in test_usBitConfig_read_16_fail()
376 ucResult = usBitConfig_read_16( pxConfig ); in test_usBitConfig_read_16_fail()
389 BitConfig_t xConfig, * pxConfig = &xConfig; in test_usBitConfig_read_16_HappyPath() local
396 pxConfig->xHasError = pdFALSE; in test_usBitConfig_read_16_HappyPath()
397 pxConfig->uxIndex = 0; in test_usBitConfig_read_16_HappyPath()
398 pxConfig->uxSize = uxSize; in test_usBitConfig_read_16_HappyPath()
399 pxConfig->ucContents = ucContents; in test_usBitConfig_read_16_HappyPath()
404 ucResult = usBitConfig_read_16( pxConfig ); in test_usBitConfig_read_16_HappyPath()
417 BitConfig_t xConfig, * pxConfig = &xConfig; in test_ulBitConfig_read_32_fail() local
421 pxConfig->xHasError = pdTRUE; in test_ulBitConfig_read_32_fail()
423 ulResult = ulBitConfig_read_32( pxConfig ); in test_ulBitConfig_read_32_fail()
436 BitConfig_t xConfig, * pxConfig = &xConfig; in test_ulBitConfig_read_32_HappyPath() local
443 pxConfig->xHasError = pdFALSE; in test_ulBitConfig_read_32_HappyPath()
444 pxConfig->uxIndex = 0; in test_ulBitConfig_read_32_HappyPath()
445 pxConfig->uxSize = uxSize; in test_ulBitConfig_read_32_HappyPath()
446 pxConfig->ucContents = ucContents; in test_ulBitConfig_read_32_HappyPath()
453 ulResult = ulBitConfig_read_32( pxConfig ); in test_ulBitConfig_read_32_HappyPath()
456 TEST_ASSERT_EQUAL( sizeof( uint32_t ), pxConfig->uxIndex ); in test_ulBitConfig_read_32_HappyPath()
609 BitConfig_t * pxConfig = NULL; in test_vBitConfig_NoReleaseNULL() local
611 vBitConfig_release( pxConfig ); in test_vBitConfig_NoReleaseNULL()