Debian Codegraph @

shared/test/unit_test/gen11/windows/gmm_callbacks_tests_gen11.cpp

raw
1 /*
2 * Copyright (C) 2019-2022 Intel Corporation
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #include "shared/source/gen11/hw_cmds.h"
9 #include "shared/source/helpers/windows/gmm_callbacks.h"
10 #include "shared/test/common/test_macros/header/per_product_test_definitions.h"
11 #include "shared/test/common/test_macros/test.h"
12
13 using namespace NEO;
14
15 typedef ::testing::Test Gen11GmmCallbacksTests;
16
17 GEN11TEST_F(Gen11GmmCallbacksTests, GivenDefaultWhenNotifyingAubCaptureThenDeviceCallbackIsNotSupported) {
18 EXPECT_EQ(0, DeviceCallbacks<FamilyType>::notifyAubCapture(nullptr, 0, 0, false));
19 }
20
21 GEN11TEST_F(Gen11GmmCallbacksTests, GivenDefaultWhenWritingL3AddressThenTtCallbackIsNotSupported) {
22 EXPECT_EQ(0, TTCallbacks<FamilyType>::writeL3Address(nullptr, 1, 2));
23 }