diff options
author | Collin <iCollin@users.noreply.github.com> | 2021-03-08 09:36:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 09:36:04 -0500 |
commit | fcd0b380339321763fca5ab768a89b0683c94924 (patch) | |
tree | 52345e87715c91e060f562ea9b997e8d08e2607c | |
parent | 1b9fee38c026472f93a0736adadfc13e93b4062a (diff) | |
download | sdl_core-fcd0b380339321763fca5ab768a89b0683c94924.tar.gz |
Fix failing unit test with ENABLE_SECURITY=OFF (#3655)
-rw-r--r-- | src/components/protocol_handler/test/protocol_handler_tm_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/protocol_handler/test/protocol_handler_tm_test.cc b/src/components/protocol_handler/test/protocol_handler_tm_test.cc index 035909ecbf..80fb877b8c 100644 --- a/src/components/protocol_handler/test/protocol_handler_tm_test.cc +++ b/src/components/protocol_handler/test/protocol_handler_tm_test.cc @@ -4068,6 +4068,7 @@ TEST_F(ProtocolHandlerImplTest, EXPECT_TRUE(waiter->WaitFor(times, kAsyncExpectationsTimeout)); } +#ifdef ENABLE_SECURITY TEST_F(ProtocolHandlerImplTest, OnTMMessageSend_ReadyToCloseConnection_Disconnect) { OnTMMessageSend(); @@ -4097,6 +4098,7 @@ TEST_F(ProtocolHandlerImplTest, tm_listener->OnTMMessageSend(message); } +#endif TEST_F(ProtocolHandlerImplTest, OnTMMessageSend_InvalidData_Cancelled) { const uint8_t data_size = 8u; |