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:
Bartosz Dunajski
2020-03-04 15:28:58 +01:00
committed by sys_ocldev
parent fa6608d20e
commit f31304a9ad
22 changed files with 284 additions and 299 deletions

View File

@@ -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;