ULT renaming: Sysman Misc tests

Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
Adam Cetnerowski
2021-03-01 18:56:30 +01:00
committed by Compute-Runtime-Automation
parent a33d74bb79
commit ce33aafbcb
2 changed files with 3 additions and 3 deletions

View File

@@ -94,7 +94,7 @@ TEST_F(SysmanRasFixture, GivenValidRasHandleWhenGettingRasPropertiesThenSuccessI
delete pTestRasImp;
}
TEST_F(SysmanRasFixture, GivenValidRasHandleWhileCallingzesRasGetStateThenFailureIsReturned) {
TEST_F(SysmanRasFixture, GivenValidRasHandleWhileCallingZesRasGetStateThenFailureIsReturned) {
RasImp *pTestRasImp = new RasImp(pSysmanDeviceImp->pRasHandleContext->pOsSysman, ZES_RAS_ERROR_TYPE_CORRECTABLE, device->toHandle());
pSysmanDeviceImp->pRasHandleContext->handleList.push_back(pTestRasImp);

View File

@@ -134,12 +134,12 @@ TEST_F(SysmanXmlParserFixture, GivenMissingAttributeWhenCallingXmlNodeGetAttribu
delete pXmlNode;
}
}
TEST_F(SysmanXmlParserFixture, GivenNonExistentFileWhenCallingParseFileThenVerifyParseFileRetursNullptr) {
TEST_F(SysmanXmlParserFixture, GivenNonExistentFileWhenCallingParseFileThenVerifyParseFileReturnsNullptr) {
XmlDoc *pNoXmlDoc = pXmlParser->parseFile(std::string("NoSuchFile.xml"));
EXPECT_EQ(pNoXmlDoc, nullptr);
}
TEST_F(SysmanXmlParserFixture, GivenInvalidXmlBufferFileWhenCallingParseBufferVerifyParseBufferRetursNullptr) {
TEST_F(SysmanXmlParserFixture, GivenInvalidXmlBufferFileWhenCallingParseBufferThenVerifyParseBufferReturnsNullptr) {
std::string invalidXmlBuffer = testXmlBuffer.substr(2); // omit starting <?
XmlDoc *pInvalidXmlDoc = pXmlParser->parseBuffer(invalidXmlBuffer);