mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
ULT renaming: Sysman Misc 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
a33d74bb79
commit
ce33aafbcb
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user