smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
241 stars 244 forks source link

SDL protocol_handler_test failed with -DBUILD_TESTS=ON -DENABLE_SECURITY=OFF #3643

Closed dboltovskyi closed 3 years ago

dboltovskyi commented 3 years ago

Bug Report

Within fix https://github.com/smartdevicelink/sdl_core/issues/3614 is it became possible to build SDL with -DBUILD_TESTS=ON -DENABLE_SECURITY=OFF flags However protocol_handler_test failed in this configuration.

Reproduction Steps
  1. git checkout develop
  2. cmake ../sdl_core -DBUILD_TESTS=ON -DENABLE_SECURITY=OFF -DBUILD_TESTS=ON
  3. make install
  4. make test
Expected Behavior

All UTs passed

Observed Behavior

protocol_handler_test failed with error:

unknown file: Failure
Uninteresting mock function call - returning default value.
    Function call: SendMessageToDevice(16-byte object <60-AD 17-9C D3-55 00-00 20-2E 50-9B D3-55 00-00>)
          Returns: 0
[  FAILED  ] ProtocolHandlerImplTest.OnTMMessageSend_ReadyToCloseConnection_Disconnect (1 ms)
OS & Version Information
jacobkeeler commented 3 years ago

Closing with the merge of #3655