mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
change utest when demuxer use io interface.
This commit is contained in:
parent
01d401c270
commit
33ba6cdee2
1 changed files with 4 additions and 2 deletions
|
@ -392,7 +392,8 @@ VOID TEST(KernelFlvTest, FlvEncoderStreamClosed)
|
|||
{
|
||||
MockSrsFileWriter fs;
|
||||
SrsFlvEncoder enc;
|
||||
ASSERT_TRUE(ERROR_SUCCESS != enc.initialize(&fs));
|
||||
// The decoder never check the reader status.
|
||||
ASSERT_TRUE(ERROR_SUCCESS == enc.initialize(&fs));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -555,7 +556,8 @@ VOID TEST(KernelFlvTest, FlvDecoderStreamClosed)
|
|||
{
|
||||
MockSrsFileReader fs;
|
||||
SrsFlvDecoder dec;
|
||||
ASSERT_TRUE(ERROR_SUCCESS != dec.initialize(&fs));
|
||||
// The decoder never check the reader status.
|
||||
ASSERT_TRUE(ERROR_SUCCESS == dec.initialize(&fs));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue