mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
ULTs cleanup
- remove unused MemoryManagementFixture. MemoryLeaks are tracked using MemoryLeakListener no need to duplicate with Fixure. MMF should be used when you need to inject memory allocation failure Change-Id: I95bcaa7051acf540c5b015c5489ed6a6fc38ee8e
This commit is contained in:
committed by
sys_ocldev
parent
9e509f302a
commit
7e6432a207
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Intel Corporation
|
||||
* Copyright (c) 2017 - 2018, Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -23,21 +23,12 @@
|
||||
#include "runtime/command_queue/command_queue.h"
|
||||
#include "runtime/platform/platform.h"
|
||||
#include "runtime/accelerators/intel_accelerator.h"
|
||||
#include "unit_tests/fixtures/memory_management_fixture.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
namespace OCLRT {
|
||||
|
||||
template <typename TypeParam>
|
||||
struct BaseObjectTestsMt : public MemoryManagementFixture,
|
||||
public ::testing::Test {
|
||||
void SetUp() override {
|
||||
MemoryManagementFixture::SetUp();
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
MemoryManagementFixture::TearDown();
|
||||
}
|
||||
|
||||
struct BaseObjectTestsMt : public ::testing::Test {
|
||||
static void takeOwnerFailThreadFunc(TypeParam *obj) {
|
||||
auto ret = obj->takeOwnership(false);
|
||||
EXPECT_EQ(false, ret);
|
||||
|
||||
Reference in New Issue
Block a user