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

@ -866,6 +866,7 @@ public:
// 8.6.6 Edit List Box
// ISO_IEC_14496-12-base-format-2012.pdf, page 55
// LCOV_EXCL_LINE
class SrsMp4ElstEntry
{
public:
@ -1564,6 +1565,7 @@ public:
// 8.6.1.3 Composition Time to Sample Box (ctts), for Video.
// ISO_IEC_14496-12-base-format-2012.pdf, page 49
// LCOV_EXCL_LINE
class SrsMp4CttsEntry
{
public:

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");