mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Remove usage of TestLegacy from opencl tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
44d218e52e
commit
bca852617c
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user