In dc2cbe4, the previous test for GetOption that succeeds when the decoder is initialized was removed. Add a GetOption call for a different option, now that DECODER_OPTION_DATAFORMAT is removed.
Showing the changes to test/decoder/DecUT_DecExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -206,6 +206,9 @@ void DecoderInterfaceTest::TestInitUninit() { · 205 unmodified lines | ||
| 206 | 206 | Init(); |
| 207 | 207 | m_sDecParam.bParseOnly = false; |
| 208 | 208 | m_pDec->Initialize (&m_sDecParam); |
| 209 | + eRet = (CM_RETURN) m_pDec->GetOption (DECODER_OPTION_END_OF_STREAM, &iOutput); | |
| 210 | + EXPECT_EQ (eRet, cmResultSuccess); | |
| 211 | + EXPECT_EQ (iOutput, 0); | |
| 209 | 212 | |
| 210 | 213 | //Uninitialize, no GetOption can be done |
| 211 | 214 | m_pDec->Uninitialize(); |