mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 10:26:29 +08:00
ULT renaming: Sysman Linux tests
Related-To: NEO-2236 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ce33aafbcb
commit
6a543a15e1
@@ -146,7 +146,7 @@ TEST_F(ZesFirmwareFixture, GivenFailedFirmwareInitializationWhenInitializingFirm
|
|||||||
EXPECT_EQ(0u, pSysmanDeviceImp->pFirmwareHandleContext->handleList.size());
|
EXPECT_EQ(0u, pSysmanDeviceImp->pFirmwareHandleContext->handleList.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(ZesFirmwareFixture, GivenValidFirmwareHandleWhenFlashingGscFirmwareSuccessIsReturned) {
|
TEST_F(ZesFirmwareFixture, GivenValidFirmwareHandleWhenFlashingGscFirmwareThenSuccessIsReturned) {
|
||||||
FirmwareImp *ptestFirmwareImp = new FirmwareImp(pSysmanDeviceImp->pFirmwareHandleContext->pOsSysman, mockSupportedFwTypes[0]);
|
FirmwareImp *ptestFirmwareImp = new FirmwareImp(pSysmanDeviceImp->pFirmwareHandleContext->pOsSysman, mockSupportedFwTypes[0]);
|
||||||
pSysmanDeviceImp->pFirmwareHandleContext->handleList.push_back(ptestFirmwareImp);
|
pSysmanDeviceImp->pFirmwareHandleContext->handleList.push_back(ptestFirmwareImp);
|
||||||
|
|
||||||
@@ -160,7 +160,7 @@ TEST_F(ZesFirmwareFixture, GivenValidFirmwareHandleWhenFlashingGscFirmwareSucces
|
|||||||
delete ptestFirmwareImp;
|
delete ptestFirmwareImp;
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(ZesFirmwareFixture, GivenValidFirmwareHandleWhenFlashingUnkownFirmwareFailureIsReturned) {
|
TEST_F(ZesFirmwareFixture, GivenValidFirmwareHandleWhenFlashingUnkownFirmwareThenFailureIsReturned) {
|
||||||
for (const auto &handle : pSysmanDeviceImp->pFirmwareHandleContext->handleList) {
|
for (const auto &handle : pSysmanDeviceImp->pFirmwareHandleContext->handleList) {
|
||||||
delete handle;
|
delete handle;
|
||||||
}
|
}
|
||||||
@@ -177,7 +177,7 @@ TEST_F(ZesFirmwareFixture, GivenValidFirmwareHandleWhenFlashingUnkownFirmwareFai
|
|||||||
delete ptestFirmwareImp;
|
delete ptestFirmwareImp;
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(ZesFirmwareFixture, GivenFirmwareInitializationFailureCreateHandleMustFail) {
|
TEST_F(ZesFirmwareFixture, GivenFirmwareInitializationFailureThenCreateHandleMustFail) {
|
||||||
for (const auto &handle : pSysmanDeviceImp->pFirmwareHandleContext->handleList) {
|
for (const auto &handle : pSysmanDeviceImp->pFirmwareHandleContext->handleList) {
|
||||||
delete handle;
|
delete handle;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020 Intel Corporation
|
* Copyright (C) 2020-2021 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -44,7 +44,7 @@ class SysmanNlApiFixture : public ::testing::Test {
|
|||||||
};
|
};
|
||||||
const int SysmanNlApiFixture::testAttr = 1;
|
const int SysmanNlApiFixture::testAttr = 1;
|
||||||
|
|
||||||
TEST_F(SysmanNlApiFixture, GivenNlApiWhenMissingDllEntryPointVerifyLoadEntryPointsFails) {
|
TEST_F(SysmanNlApiFixture, GivenNlApiWhenMissingDllEntryPointThenVerifyLoadEntryPointsFails) {
|
||||||
EXPECT_FALSE(testLoadEntryPointsWithMissingFunction("genl_connect"));
|
EXPECT_FALSE(testLoadEntryPointsWithMissingFunction("genl_connect"));
|
||||||
EXPECT_FALSE(testLoadEntryPointsWithMissingFunction("genl_ctrl_resolve"));
|
EXPECT_FALSE(testLoadEntryPointsWithMissingFunction("genl_ctrl_resolve"));
|
||||||
EXPECT_FALSE(testLoadEntryPointsWithMissingFunction("genl_handle_msg"));
|
EXPECT_FALSE(testLoadEntryPointsWithMissingFunction("genl_handle_msg"));
|
||||||
|
|||||||
Reference in New Issue
Block a user