ULT: ULT code coverage for Global operations sysman module
- Changes to improve the code coverage for Global Operations sysman module Related-To: LOCI-2114 Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
This commit is contained in:
parent
23b890859d
commit
4a47b0f48c
|
@ -247,6 +247,12 @@ TEST_F(SysmanGlobalOperationsFixture, GivenValidDeviceHandleWhileRetrievingInfor
|
|||
EXPECT_EQ(processes[2].sharedSize, sharedMemSize4);
|
||||
}
|
||||
|
||||
TEST_F(SysmanGlobalOperationsFixture, GivenValidDeviceHandleWhileCountValueIsProvidedThenFailureIsReturned) {
|
||||
uint32_t count = 2;
|
||||
|
||||
ASSERT_EQ(ZE_RESULT_ERROR_INVALID_SIZE, zesDeviceProcessesGetState(device, &count, nullptr));
|
||||
}
|
||||
|
||||
TEST_F(SysmanGlobalOperationsFixture, GivenValidDeviceHandleWhileRetrievingInformationAboutHostProcessesUsingFaultyClientFileThenFailureIsReturned) {
|
||||
uint32_t count = 0;
|
||||
ON_CALL(*pSysfsAccess.get(), scanDirEntries(_, _))
|
||||
|
|
Loading…
Reference in New Issue