Skip to content

Remove compiler warning when U_CX_PORT_PRINTF is defined as nothing. #21

Remove compiler warning when U_CX_PORT_PRINTF is defined as nothing.

Remove compiler warning when U_CX_PORT_PRINTF is defined as nothing. #21

GitHub Actions / Unit Test Results succeeded Mar 24, 2024 in 0s

63 passed, 0 failed and 0 skipped

Tests passed successfully

✅ build/artifacts/test/report_junit.xml

63 tests were completed in 104ms with 63 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test_u_cx_at_client 19✅ 63ms
test_u_cx_at_client_no_urc_queue 2✅ 10ms
test_u_cx_at_params 17✅ 10ms
test_u_cx_at_urc_queue 7✅ 10ms
test_u_cx_at_utils 18✅ 10ms

✅ test_u_cx_at_client

✅ test_uCxAtClientSendCmdVaList_withIpAddress
✅ test_uCxAtClientSendCmdVaList_withMacAddress
✅ test_uCxAtClientSendCmdVaList_withBdAddress
✅ test_uCxAtClientSendCmdVaList_withByteArray
✅ test_uCxAtClientSendCmdVaList_withBinary
✅ test_uCxAtClientExecSimpleCmdF_withStatusOk_expectSuccess
✅ test_uCxAtClientExecSimpleCmdF_withStatusError_expectError
✅ test_uCxAtClientExecSimpleCmdF_withStatusExtendedError_expectErrorCode
✅ test_uCxAtClientExecSimpleCmdF_withInvalidStatusExtendedError_expectTimeout
✅ test_uCxAtClientExecSimpleCmdF_withReadError_expectIoError
✅ test_uCxAtClientCmdGetRspParamLine_withTimeout_expectNull
✅ test_uCxAtClientCmdGetRspParamLine_withCmdEchoAndRsp_expectRsp
✅ test_uCxAtClientCmdGetRspParamLine_withReadError_expectNull
✅ test_uCxAtClientCmdGetRspParamLine_withBinary
✅ test_uCxAtClientCmdGetRspParamLine_withUnexpectedBinaryResponse
✅ test_uCxAtClientHandleRx_withStringUrc_expectUrcCallback
✅ test_uCxAtClientHandleRx_withBinUrc_expectUrcCallback
✅ test_uCxAtClientSetCommandTimeout_withNonPermanentTimeout
✅ test_uCxAtClientSetCommandTimeout_withPermanentTimeout

✅ test_u_cx_at_client_no_urc_queue

✅ test_uCxAtClientHandleRx_withStringUrc_expectUrcCallback
✅ test_uCxAtClientHandleRx_withBinUrc_expectUrcCallback

✅ test_u_cx_at_params

✅ test_uCxStringToIpAddress_withValidIpv4Str_expectSuccess
✅ test_uCxStringToIpAddress_withValidIpv6Str_expectSuccess
✅ test_uCxStringToIpAddress_withInvalidIpv4Str_expectError
✅ test_uCxStringToIpAddress_withInvalidIpv6Str_expectError
✅ test_uCxIpAddressToString_withIpv4Addr_expectValidIpString
✅ test_uCxIpAddressToString_withIpv6Addr_expectValidIpString
✅ test_uCxIpAddressToString_withIpv4AddrAndLimitedBuf_expectNoBufferOverflow
✅ test_uCxIpAddressToString_withTooSmallBuffer_expectError
✅ test_uCxStringToMacAddress_withValidIpv4Str_expectSuccess
✅ test_uCxStringToMacAddress_withInvalidMacStr_expectError
✅ test_uCxMacAddressToString_withLimitedBuf_expectNoBufferOverflow
✅ test_uCxMacAddressToString_withTooSmallBuffer_expectError
✅ test_uCxStringToBdAddress_withPublicAddrStr_expectPublicAddr
✅ test_uCxStringToBdAddress_withRandomAddrStr_expectRandomAddr
✅ test_uCxBdAddressToString_withPublicAddr_expectPublicAddrStr
✅ test_uCxBdAddressToString_withRandomAddr_expectRandomAddrStr
✅ test_uCxBdAddressToString_withTooSmallBuffer_expectError

✅ test_u_cx_at_urc_queue

✅ test_queueingOfNonNullString_expectNullTermString
✅ test_queueingWithPayload_expectPayload
✅ test_queueingMultiple_expectMultiple
✅ test_abortedQueueing_expectEmptyQueue
✅ test_uCxAtUrcQueueEnqueueBegin_withFullQueue_expectFailure
✅ test_uCxAtUrcQueueDequeueBegin_withEmptyQueue_expectNull
✅ test_uCxAtUrcQueueDequeueBegin_calledTwiceWithNonEmptyQueue_expectNull

✅ test_u_cx_at_utils

✅ test_uCxAtUtilByteToHex_expectedOutput
✅ test_uCxAtUtilHexToByte_withValidInput_expectOutput
✅ test_uCxAtUtilHexToByte_withInvalidInput_expectError
✅ test_uCxAtUtilFindParamEnd_withValidInput_expectOutput
✅ test_uCxAtUtilFindParamEnd_withInvalidInput_expectNull
✅ test_uCxAtUtilParseParamsF_withValidInput_expectParsedParams
✅ test_uCxAtUtilParseParamsF_withInvalidInput_expectNegativeReturnValue
✅ test_uCxAtUtilParseParamsF_withIpAddr_expectParsedParam
✅ test_uCxAtUtilParseParamsF_withIgnoredParam
✅ test_uCxAtUtilHexToBinary_withValidValues_expectSuccess
✅ test_uCxAtUtilHexToBinary_withInvalidValues_expectFailure
✅ test_uCxAtUtilHexToBinary_withTightBuffer_expectSuccess
✅ test_uCxAtUtilBinaryToHex_withValidData_expectSuccess
✅ test_uCxAtUtilBinaryToHex_withNull_expectNullString
✅ test_uCxAtUtilBinaryToHex_withTooSmallBuffer_expectFailure
✅ test_uCxAtUtilParseParamsVaList_withByteArray
✅ test_uCxAtUtilReplaceChar_withTestString_replaceSwithB
✅ test_uCxAtUtilReplaceChar_withNullTermTestString_replaceNullWithComma