test: fix IPCHandle tests to use correct value range and mock name

Related-To: NEO-10380

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
This commit is contained in:
Neil R. Spruit
2025-08-19 22:06:51 +00:00
committed by Compute-Runtime-Automation
parent bb98aa2fbd
commit e9f315b11f
2 changed files with 3 additions and 3 deletions

View File

@@ -2994,7 +2994,7 @@ TEST_F(ContextTest, whenCallingSetIPCHandleDataWithInvalidIpcHandleTypeThenHandl
// Test with completely invalid handle type (beyond enum range)
handle = 22222;
opaqueIpcData = {}; // Reset
L0::IpcHandleType invalidHandleType2 = static_cast<L0::IpcHandleType>(255);
L0::IpcHandleType invalidHandleType2 = L0::IpcHandleType::maxHandle;
contextWhitebox.setIPCHandleData<L0::IpcOpaqueMemoryData>(&mockAllocation, handle, opaqueIpcData, ptrAddress, type, nullptr, invalidHandleType2);