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:
parent
a119305b31
commit
0c20a45f5c
2 changed files with 8 additions and 0 deletions
|
@ -866,6 +866,7 @@ public:
|
||||||
|
|
||||||
// 8.6.6 Edit List Box
|
// 8.6.6 Edit List Box
|
||||||
// ISO_IEC_14496-12-base-format-2012.pdf, page 55
|
// ISO_IEC_14496-12-base-format-2012.pdf, page 55
|
||||||
|
// LCOV_EXCL_LINE
|
||||||
class SrsMp4ElstEntry
|
class SrsMp4ElstEntry
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -1564,6 +1565,7 @@ public:
|
||||||
|
|
||||||
// 8.6.1.3 Composition Time to Sample Box (ctts), for Video.
|
// 8.6.1.3 Composition Time to Sample Box (ctts), for Video.
|
||||||
// ISO_IEC_14496-12-base-format-2012.pdf, page 49
|
// ISO_IEC_14496-12-base-format-2012.pdf, page 49
|
||||||
|
// LCOV_EXCL_LINE
|
||||||
class SrsMp4CttsEntry
|
class SrsMp4CttsEntry
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -2722,6 +2722,12 @@ VOID TEST(KernelErrorTest, CoverAll)
|
||||||
srs_freep(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) {
|
if (true) {
|
||||||
srs_error_t err = srs_error_wrap(srs_error_new(ERROR_CONTROL_RTMP_CLOSE, "control error"), "wrapped");
|
srs_error_t err = srs_error_wrap(srs_error_new(ERROR_CONTROL_RTMP_CLOSE, "control error"), "wrapped");
|
||||||
EXPECT_TRUE(srs_error_desc(err) != "");
|
EXPECT_TRUE(srs_error_desc(err) != "");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue