mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Resolves: NEO-3241 Change-Id: I726135ae55d1e0fcbacd80620e827ee5c7c0c8dc Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
20 lines
464 B
C++
20 lines
464 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "test.h"
|
|
#include "unit_tests/mocks/mock_buffer.h"
|
|
#include "unit_tests/mocks/mock_context.h"
|
|
|
|
using namespace NEO;
|
|
|
|
TEST(ContextExtraPropertiesTests, givenAnyBufferWhenGettingCsrForBlitOperationThenNullIsReturned) {
|
|
MockContext context;
|
|
MockBuffer buffer;
|
|
auto csr = context.getCommandStreamReceiverForBlitOperation(buffer);
|
|
EXPECT_EQ(nullptr, csr);
|
|
}
|