Home
last modified time | relevance | path

Searched refs:UNITTEST_CHECK_AND_BREAK_LOG (Results 1 - 7 of 7) sorted by relevance

/foundation/multimedia/player_framework/test/unittest/common/include/
H A Dunittest_log.h42 #define UNITTEST_CHECK_AND_BREAK_LOG(cond, fmt, ...) \ macro
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/sample/
H A Dvenc_sample.cpp666 UNITTEST_CHECK_AND_BREAK_LOG(signal_->isRunning_.load(), "InputLoopFunc stop running"); in InputParamLoopFunc()
689 UNITTEST_CHECK_AND_BREAK_LOG(ret == AV_ERR_OK, "Fatal: PushInputData fail, exit"); in InputParamLoopFunc()
707 UNITTEST_CHECK_AND_BREAK_LOG(signal_->isRunning_.load(), "InputLoopFunc stop running"); in InputLoopFunc()
710 UNITTEST_CHECK_AND_BREAK_LOG(ret == AV_ERR_OK, "PushInputData fail or eos, exit"); in InputLoopFunc()
770 UNITTEST_CHECK_AND_BREAK_LOG(signal_->isRunning_.load(), "OutputLoopFunc stop running"); in OutputLoopFunc()
774 UNITTEST_CHECK_AND_BREAK_LOG(ret == AV_ERR_OK, "Fatal: OutputLoopInner fail, exit"); in OutputLoopFunc()
842 UNITTEST_CHECK_AND_BREAK_LOG(signal_->isRunning_.load(), "OutputLoopFunc stop running"); in OutputLoopFuncExt()
845 UNITTEST_CHECK_AND_BREAK_LOG(ret == AV_ERR_OK, "Fatal: OutputLoopInnerExt fail, exit"); in OutputLoopFuncExt()
938 UNITTEST_CHECK_AND_BREAK_LOG(signal_->isRunning_.load(), "InputLoopFunc stop running"); in InputLoopFuncExt()
939 UNITTEST_CHECK_AND_BREAK_LOG(inFile in InputLoopFuncExt()
[all...]
H A Dvdec_sample.cpp571 UNITTEST_CHECK_AND_BREAK_LOG(signal_->isRunning_.load(), "InputLoopFunc stop running"); in InputLoopFunc()
572 UNITTEST_CHECK_AND_BREAK_LOG(inFile_ != nullptr && inFile_->is_open() && !inFile_->eof(), "inFile is invalid"); in InputLoopFunc()
575 UNITTEST_CHECK_AND_BREAK_LOG(ret == AV_ERR_OK, "PushInputData fail or eos, exit"); in InputLoopFunc()
664 UNITTEST_CHECK_AND_BREAK_LOG(signal_->isRunning_.load(), "OutputLoopFunc stop running"); in OutputLoopFunc()
669 UNITTEST_CHECK_AND_BREAK_LOG(ret == AV_ERR_OK, "Fatal: OutputLoopInner fail, exit"); in OutputLoopFunc()
735 UNITTEST_CHECK_AND_BREAK_LOG(signal_->isRunning_.load(), "OutputLoopFunc stop running"); in OutputLoopFuncExt()
739 UNITTEST_CHECK_AND_BREAK_LOG(ret == AV_ERR_OK, "Fatal: OutputLoopInnerExt fail, exit"); in OutputLoopFuncExt()
815 UNITTEST_CHECK_AND_BREAK_LOG(signal_->isRunning_.load(), "InputLoopFunc stop running"); in InputLoopFuncExt()
816 UNITTEST_CHECK_AND_BREAK_LOG(inFile_ != nullptr && inFile_->is_open() && !inFile_->eof(), "inFile is invalid"); in InputLoopFuncExt()
819 UNITTEST_CHECK_AND_BREAK_LOG(re in InputLoopFuncExt()
[all...]
/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/
H A Drecorder_mock.cpp386 UNITTEST_CHECK_AND_BREAK_LOG(!isExit_.load(), "close camera hdi thread"); in HDICreateESBuffer()
391 UNITTEST_CHECK_AND_BREAK_LOG(ret != OHOS::SURFACE_ERROR_NO_BUFFER, "surface loop full, no buffer now"); in HDICreateESBuffer()
392 UNITTEST_CHECK_AND_BREAK_LOG(ret == SURFACE_ERROR_OK && buffer != nullptr, "RequestBuffer failed"); in HDICreateESBuffer()
441 UNITTEST_CHECK_AND_BREAK_LOG(!isExit_.load(), "close camera hdi thread"); in HDICreateYUVBufferError()
454 UNITTEST_CHECK_AND_BREAK_LOG(ret != OHOS::SURFACE_ERROR_NO_BUFFER, "surface loop full, no buffer now"); in HDICreateYUVBufferError()
455 UNITTEST_CHECK_AND_BREAK_LOG(ret == SURFACE_ERROR_OK && buffer != nullptr, "RequestBuffer failed"); in HDICreateYUVBufferError()
483 UNITTEST_CHECK_AND_BREAK_LOG(!isExit_.load(), "close camera hdi thread"); in HDICreateYUVBuffer()
488 UNITTEST_CHECK_AND_BREAK_LOG(ret != OHOS::SURFACE_ERROR_NO_BUFFER, "surface loop full, no buffer now"); in HDICreateYUVBuffer()
489 UNITTEST_CHECK_AND_BREAK_LOG(ret == SURFACE_ERROR_OK && buffer != nullptr, "RequestBuffer failed"); in HDICreateYUVBuffer()
/foundation/multimedia/media_foundation/tests/unittest/common/include/
H A Dunittest_log.h46 #define UNITTEST_CHECK_AND_BREAK_LOG(cond, fmt, ...) \ macro
/foundation/multimedia/av_codec/test/unittest/common/
H A Dunittest_log.h79 #define UNITTEST_CHECK_AND_BREAK_LOG(cond, fmt, ...) \ macro
H A Dhttp_server_demo.cpp237 UNITTEST_CHECK_AND_BREAK_LOG(ret > 0, "read file failed, ret=%d", ret); in FileReadFunc()

Completed in 6 milliseconds