mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Use MockCommandQueue instead of CommandQueue in unit tests
Change-Id: I617e77f2680d6d22381b7fde702a551413295266 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
fa6608d20e
commit
f31304a9ad
@@ -21,6 +21,7 @@
|
||||
#include "opencl/test/unit_test/fixtures/device_fixture.h"
|
||||
#include "opencl/test/unit_test/fixtures/image_fixture.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_buffer.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_command_queue.h"
|
||||
#include "opencl/test/unit_test/mocks/mock_platform.h"
|
||||
|
||||
#include "gmock/gmock.h"
|
||||
@@ -99,7 +100,7 @@ typedef ::testing::Types<
|
||||
//Kernel,
|
||||
//Sampler
|
||||
//others...
|
||||
CommandQueue,
|
||||
MockCommandQueue,
|
||||
DeviceQueue>
|
||||
BaseObjectTypes;
|
||||
|
||||
@@ -109,7 +110,7 @@ typedef ::testing::Types<
|
||||
Context,
|
||||
Program,
|
||||
Buffer,
|
||||
CommandQueue,
|
||||
MockCommandQueue,
|
||||
DeviceQueue>
|
||||
BaseObjectTypesForCastInvalidMagicTest;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user