整改reviewbot告警

Signed-off-by: qinlong0101 <qinlong15@huawei.com>
This commit is contained in:
qinlong0101
2022-06-16 15:12:35 +08:00
parent 11dde3ffd5
commit 3863295ea0
2 changed files with 6 additions and 6 deletions
@@ -40,7 +40,7 @@ void DScreenMapRelationTest::TearDown() {}
* @tc.type: FUNC
* @tc.require: Issue Number
*/
HWTEST_F(DScreenMapRelationTest, GetDisplayId_001, TestSize.Level1)
HWTEST_F(DScreenMapRelationTest, GetDisplayId_001, TestSize.Level1)
{
uint64_t displayId = 0;
dscreenMapRelation->SetDisplayId(displayId);
@@ -54,7 +54,7 @@ void DScreenMapRelationTest::TearDown() {}
* @tc.type: FUNC
* @tc.require: Issue Number
*/
HWTEST_F(DScreenMapRelationTest, GetScreenId_001, TestSize.Level1)
HWTEST_F(DScreenMapRelationTest, GetScreenId_001, TestSize.Level1)
{
uint64_t screenId = 0;
dscreenMapRelation->SetScreenId(screenId);
@@ -68,7 +68,7 @@ void DScreenMapRelationTest::TearDown() {}
* @tc.type: FUNC
* @tc.require: Issue Number
*/
HWTEST_F(DScreenMapRelationTest, GetDisplayRect_001, TestSize.Level1)
HWTEST_F(DScreenMapRelationTest, GetDisplayRect_001, TestSize.Level1)
{
DisplayRect res;
int32_t startX = 10;
@@ -84,7 +84,7 @@ void DScreenMapRelationTest::TearDown() {}
* @tc.type: FUNC
* @tc.require: Issue Number
*/
HWTEST_F(DScreenMapRelationTest, GetScreenRect_001, TestSize.Level1)
HWTEST_F(DScreenMapRelationTest, GetScreenRect_001, TestSize.Level1)
{
ScreenRect res;
int32_t startX = 10;
+2 -2
View File
@@ -216,10 +216,10 @@ const int32_t* VDecDemo::GetFrameLen()
const int32_t* frameLen = nullptr;
if (isW) {
frameLen = ES_W;
defaultFrameCount_ = sizeof(ES_W)/sizeof(ES_W[0]);
defaultFrameCount_ = sizeof(ES_W) / sizeof(ES_W[0]);
} else {
frameLen = ES_R;
defaultFrameCount_ = sizeof(ES_R)/sizeof(ES_R[0]);
defaultFrameCount_ = sizeof(ES_R) / sizeof(ES_R[0]);
}
return frameLen;
}