ULT: ULT coverage for ras module.

Related-To: LOCI-2512
Signed-off-by: Ayush Pandey <ayush.pandey@intel.com>
This commit is contained in:
Ayush Pandey
2021-08-31 18:25:43 +05:30
committed by Compute-Runtime-Automation
parent d962bdc86b
commit 361a35e8a2

View File

@@ -154,5 +154,12 @@ TEST_F(SysmanRasFixture, GivenValidRasHandleWhenCallingzesRasSetConfigWithoutPer
pSysmanDeviceImp->pRasHandleContext->releaseRasHandles();
}
TEST_F(SysmanRasFixture, GivenValidInstanceWhenOsRasImplementationIsNullThenDestructorIsCalledWithoutException) {
RasImp *pTestRasImp = new RasImp();
pTestRasImp->pOsRas = nullptr;
EXPECT_NO_THROW(delete pTestRasImp;);
}
} // namespace ult
} // namespace L0