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

Define single .clang-tidy configuration with all used checks and use NOLINT to selectively silence tool. That way cleanup should be easier. third_part/ has its own configuration that disables clang-tidy for this folder. Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
29 lines
813 B
C++
29 lines
813 B
C++
/*
|
|
* Copyright (C) 2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "opencl/test/unit_test/mocks/mock_program.h"
|
|
#include "opencl/test/unit_test/program/program_tests.h"
|
|
|
|
using namespace NEO;
|
|
|
|
class MockBuffer;
|
|
class ProgramWithZebinFixture : public ProgramTests {
|
|
public:
|
|
std::unique_ptr<MockProgram> program;
|
|
std::unique_ptr<KernelInfo> kernelInfo;
|
|
std::unique_ptr<MockGraphicsAllocation> mockAlloc;
|
|
std::unique_ptr<MockBuffer> globalSurface;
|
|
std::unique_ptr<MockBuffer> constantSurface;
|
|
const char strings[12] = "Hello olleH";
|
|
void SetUp() override;
|
|
void TearDown() override;
|
|
void addEmptyZebin(MockProgram *program);
|
|
void populateProgramWithSegments(MockProgram *program);
|
|
~ProgramWithZebinFixture() override = default;
|
|
};
|