1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Ignore test coverage for some lines for mp4

This commit is contained in:
winlin 2019-12-24 15:41:36 +08:00
parent a119305b31
commit 0c20a45f5c
2 changed files with 8 additions and 0 deletions

View file

@ -2721,6 +2721,12 @@ VOID TEST(KernelErrorTest, CoverAll)
EXPECT_TRUE(srs_is_client_gracefully_close(err));
srs_freep(err);
}
if (true) {
srs_error_t err = srs_error_new(ERROR_HTTP_STREAM_EOF, "graceful close error");
EXPECT_TRUE(srs_is_server_gracefully_close(err));
srs_freep(err);
}
if (true) {
srs_error_t err = srs_error_wrap(srs_error_new(ERROR_CONTROL_RTMP_CLOSE, "control error"), "wrapped");