mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
ULT: ULT coverage for ras module.
Related-To: LOCI-2512 Signed-off-by: Ayush Pandey <ayush.pandey@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d962bdc86b
commit
361a35e8a2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user