Remove usage of TestLegacy from opencl tests

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-08-16 14:51:17 +00:00
committed by Compute-Runtime-Automation
parent 44d218e52e
commit bca852617c
350 changed files with 1295 additions and 1315 deletions

View File

@@ -23,7 +23,7 @@ extern const DeviceDescriptor NEO::deviceDescriptorTable[];
class DrmNullDeviceTestsFixture {
public:
void SetUp() { // NOLINT(readability-identifier-naming)
void setUp() {
if (deviceDescriptorTable[0].deviceId == 0) {
GTEST_SKIP();
}
@@ -36,7 +36,7 @@ class DrmNullDeviceTestsFixture {
ASSERT_NE(drmNullDevice, nullptr);
}
void TearDown() { // NOLINT(readability-identifier-naming)
void tearDown() {
}
std::unique_ptr<DrmWrap, std::function<void(Drm *)>> drmNullDevice;
@@ -46,7 +46,7 @@ class DrmNullDeviceTestsFixture {
DebugManagerStateRestore dbgRestorer;
};
typedef TestLegacy<DrmNullDeviceTestsFixture> DrmNullDeviceTests;
typedef Test<DrmNullDeviceTestsFixture> DrmNullDeviceTests;
TEST_F(DrmNullDeviceTests, GIVENdrmNullDeviceWHENcallGetDeviceIdTHENreturnProperDeviceId) {
int ret = drmNullDevice->queryDeviceIdAndRevision();