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

@@ -21,7 +21,7 @@ using namespace NEO;
// Mock the underlying GMM_RESOURCE_INFO to test the real DRM_OR_WDDM implementation
class MockGmmResourceInfoDrmOrWddm {
public:
uint64_t GetDriverProtectionBits(GMM_OVERRIDE_VALUES overrideValues) {
uint64_t getDriverProtectionBits(GMM_OVERRIDE_VALUES overrideValues) {
lastOverrideValues = overrideValues;
getDriverProtectionBitsCalled = true;
return returnValue;
@@ -47,7 +47,7 @@ class TestableGmmResourceInfo : public GmmResourceInfo {
if (GMM_RESOURCE_USAGE_UNKNOWN != overrideUsage) {
overrideValues.Usage = static_cast<GMM_RESOURCE_USAGE_TYPE>(overrideUsage);
}
return mockResourceInfo->GetDriverProtectionBits(overrideValues);
return mockResourceInfo->getDriverProtectionBits(overrideValues);
}
// Expose clientContext for testing