Debian Codegraph @

level_zero/tools/test/unit_tests/sources/sysman/windows/mock_sysman_fixture.h

raw
1 /*
2 * Copyright (C) 2020-2025 Intel Corporation
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #pragma once
9
10 #include "level_zero/core/test/unit_tests/fixtures/device_fixture.h"
11 #include "level_zero/tools/source/sysman/windows/os_sysman_imp.h"
12 #include "level_zero/tools/test/unit_tests/sources/sysman/mocks/mock_sysman_env_vars.h"
13
14 extern bool sysmanUltsEnable;
15
16 using namespace NEO;
17
18 namespace L0 {
19 struct SysmanDevice;
20 struct SysmanDeviceImp;
21 struct OsSysman;
22 namespace ult {
23
24 class PublicWddmSysmanImp : public L0::WddmSysmanImp {
25 public:
26 using WddmSysmanImp::pFwUtilInterface;
27 using WddmSysmanImp::pKmdSysManager;
28 };
29
30 class SysmanDeviceFixture : public DeviceFixture, public SysmanEnabledFixture {
31 public:
32 void SetUp() override;
33
34 void TearDown() override;
35
36 SysmanDevice *pSysmanDevice = nullptr;
37 SysmanDeviceImp *pSysmanDeviceImp = nullptr;
38 OsSysman *pOsSysman = nullptr;
39 PublicWddmSysmanImp *pWddmSysmanImp = nullptr;
40 };
41
42 } // namespace ult
43 } // namespace L0