Home
last modified time | relevance | path

Searched refs:testData (Results 1 – 2 of 2) sorted by relevance

/drivers/hdf_core/adapter/uhdf2/osal/test/unittest/common/
Dosal_slist_test.cpp98 …struct TestList *testData = reinterpret_cast<struct TestList *>(OsalMemAlloc(sizeof(struct TestLis… in HdfOsalSlistTestInit() local
99 ASSERT_NE(testData, nullptr); in HdfOsalSlistTestInit()
100 testData->data = insertData[i]; in HdfOsalSlistTestInit()
101 ops(list, &testData->entry); in HdfOsalSlistTestInit()
/drivers/hdf_core/framework/test/unittest/utils/hcs_parser/unittest/
Dhcs_config_test.c288 const uint8_t testData[DATA_TEST_ARRAY_LENGTH] = { 0, 1, 2, 3, 4, 5, 6, 7 }; in HcsTestGetUint8ArrayElemSuccess() local
302 if ((ret != HDF_SUCCESS) || (data[i] != testData[i])) { in HcsTestGetUint8ArrayElemSuccess()
449 …const uint16_t testData[DATA_TEST_ARRAY_LENGTH] = { TEST_DATA_ZERO, TEST_DATA_ONE, TEST_DATA_TWO, … in HcsTestGetUint16ArrayElemSuccess() local
464 if ((ret != HDF_SUCCESS) || (data[i] != testData[i])) { in HcsTestGetUint16ArrayElemSuccess()
603 const uint32_t testData[DATA_TYPE_NUM_U32] = { U8_DATA, U16_DATA, U32_DATA }; in HcsTestGetUint32ArrayElemSuccess() local
617 if ((ret != HDF_SUCCESS) || (data[i] != testData[i])) { in HcsTestGetUint32ArrayElemSuccess()
734 const uint64_t testData[DATA_TYPE_NUM_U64] = { U8_DATA, U16_DATA, U32_DATA, U64_DATA }; in HcsTestGetUint64ArrayElemSuccess() local
748 if ((ret != HDF_SUCCESS) || (data[i] != testData[i])) { in HcsTestGetUint64ArrayElemSuccess()