mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-27 09:01:33 +00:00
update hidebug/test/unittest/native/hidebug_test.cpp.
Signed-off-by: z30044609 <zhouxiaoqin4@huawei.com>
This commit is contained in:
parent
b13530ecc7
commit
24a55f9979
@ -214,9 +214,9 @@ HWTEST_F(HidebugTest, OH_HiDebug_GetSystemMemInfo1, TestSize.Level1)
|
||||
{
|
||||
HiDebug_SystemMemInfo systemMemInfo;
|
||||
OH_HiDebug_GetSystemMemInfo(&systemMemInfo);
|
||||
ASSERT_TRUE(systemMemInfo.memTotal >= 0);
|
||||
ASSERT_TRUE(systemMemInfo.memFree >= 0);
|
||||
ASSERT_TRUE(systemMemInfo.memAvailable >= 0);
|
||||
ASSERT_TRUE(systemMemInfo.totalMem >= 0);
|
||||
ASSERT_TRUE(systemMemInfo.freeMem >= 0);
|
||||
ASSERT_TRUE(systemMemInfo.availableMem >= 0);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
Loading…
Reference in New Issue
Block a user