Cover protocol stack RTMP. 3.0.63

This commit is contained in:
winlin 2019-10-29 10:02:03 +08:00
parent 8c214dc967
commit a726a14b37

View File

@ -175,3 +175,13 @@ VOID TEST(ProtoStackTest, ManualFlush)
}
}
VOID TEST(ProtoStackTest, SendZeroMessages)
{
srs_error_t err;
if (true) {
MockBufferIO io;
SrsProtocol p(&io);
HELPER_EXPECT_SUCCESS(p.send_and_free_message(NULL, 0));
}
}