History

correct a typo along with the in-plan v1.5 release

Sijia Chen committed 11 years ago

Commit 6ca397e1 parent 9d251613 files · +7 −7Browse files

Showing the changes to test/api/encode_decode_api_test.cpp (1 of 3 files). Show all

Unified · Split

test/api/encode_decode_api_test.cpp+5−5
@@ -204,7 +204,7 @@ class EncodeDecodeTestAPIBase : public EncodeDecodeTestBase { · 203 unmodified lines
204204 if (0 == iCheckTypeIndex)
205205 ASSERT_TRUE (rv == cmResultSuccess);
206206 else if (1 == iCheckTypeIndex)
207− ASSERT_TRUE (rv == cmResultSuccess || rv == cmUnkonwReason);
207+ ASSERT_TRUE (rv == cmResultSuccess || rv == cmUnknownReason);
208208 }
209209
210210 void EncDecOneFrame (const int iWidth, const int iHeight, const int iFrame, FILE* pfEnc) {
@@ -990,7 +990,7 @@ TEST_P (EncodeDecodeTestAPI, GetOptionLTR_ALLLTR) { · 779 unmodified lines
990990 if (m_LTR_Recover_Request.uiFeedbackType == IDR_RECOVERY_REQUEST) {
991991 ASSERT_TRUE (info.eFrameType == videoFrameTypeIDR);
992992 }
993− ASSERT_TRUE (rv == cmResultSuccess || rv == cmUnkonwReason);
993+ ASSERT_TRUE (rv == cmResultSuccess || rv == cmUnknownReason);
994994 m_LTR_Recover_Request.uiFeedbackType = LTR_RECOVERY_REQUEST;
995995 m_LTR_Recover_Request.iCurrentFrameNum = rand() % 2 == 1 ? -rand() % 10000 : rand() % 10000;
996996 m_LTR_Recover_Request.uiIDRPicId = rand() % 2 == 1 ? -rand() % 10000 : rand() % 10000;
@@ -2277,7 +2277,7 @@ class DecodeCrashTestAPI : public ::testing::TestWithParam<EncodeDecodeFileParam · 1280 unmodified lines
22772277 memset (buf_.data(), iRandValue, (frameSize >> 2));
22782278 memset (buf_.data() + (frameSize >> 2), rand() % 256, (frameSize - (frameSize >> 2)));
22792279 int rv = encoder_->EncodeFrame (&EncPic, &info);
2280− ASSERT_TRUE (rv == cmResultSuccess || rv == cmUnkonwReason);
2280+ ASSERT_TRUE (rv == cmResultSuccess || rv == cmUnknownReason);
22812281 }
22822282 protected:
22832283 unsigned char* ucBuf_;
@@ -2562,7 +2562,7 @@ class DecodeParseAPI : public ::testing::TestWithParam<EncodeDecodeFileParamBase · 278 unmodified lines
25622562 ASSERT_TRUE (iSize == iFrameSize);
25632563 }
25642564 int rv = encoder_->EncodeFrame (&EncPic, &info);
2565− ASSERT_TRUE (rv == cmResultSuccess || rv == cmUnkonwReason);
2565+ ASSERT_TRUE (rv == cmResultSuccess || rv == cmUnknownReason);
25662566 }
25672567
25682568 void prepareParam (int iLayerNum, int iSliceNum, int width, int height, float framerate, SEncParamExt* pParam) {
@@ -3505,7 +3505,7 @@ class EncodeTestAPI : public ::testing::TestWithParam<EncodeOptionParam>, public · 936 unmodified lines
35053505 if (0 == iCheckTypeIndex)
35063506 ASSERT_TRUE (rv == cmResultSuccess) << "rv=" << rv;
35073507 else if (1 == iCheckTypeIndex)
3508− ASSERT_TRUE (rv == cmResultSuccess || rv == cmUnkonwReason) << "rv=" << rv;
3508+ ASSERT_TRUE (rv == cmResultSuccess || rv == cmUnknownReason) << "rv=" << rv;
35093509 }
35103510 };
35113511

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t