encoder log level adjustment in UT to avoid too many output and some formatting

This commit is contained in:
Sijia Chen
2014-12-11 14:31:32 +08:00
parent 44e4531897
commit f1a7a1a966
3 changed files with 14 additions and 4 deletions

View File

@@ -29,6 +29,9 @@ class EncoderInterfaceTest : public ::testing::Test {
ASSERT_EQ (0, rv);
ASSERT_TRUE (pPtrEnc != NULL);
unsigned int uiTraceLevel = WELS_LOG_ERROR;
pPtrEnc->SetOption (ENCODER_OPTION_TRACE_LEVEL, &uiTraceLevel);
pParamExt = new SEncParamExt();
ASSERT_TRUE (pParamExt != NULL);