/* * Copyright (C) 2018-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "shared/offline_compiler/source/multi_command.h" #include "shared/offline_compiler/source/ocloc_error_code.h" #include "shared/offline_compiler/source/offline_compiler.h" #include "opencl/test/unit_test/offline_compiler/mock/mock_argument_helper.h" #include #include namespace NEO { class OfflineCompilerTests : public ::testing::Test { public: OfflineCompiler *pOfflineCompiler = nullptr; int retVal = OclocErrorCode::SUCCESS; std::map filesMap; std::unique_ptr oclocArgHelperWithoutInput = std::make_unique(filesMap); protected: void SetUp() override { oclocArgHelperWithoutInput->setAllCallBase(true); } }; class MultiCommandTests : public ::testing::Test { public: void createFileWithArgs(const std::vector &, int numOfBuild); void deleteFileWithArgs(); void deleteOutFileList(); MultiCommand *pMultiCommand = nullptr; std::string nameOfFileWithArgs; std::string outFileList; int retVal = OclocErrorCode::SUCCESS; std::map filesMap; std::unique_ptr oclocArgHelperWithoutInput = std::make_unique(filesMap); protected: void SetUp() override { oclocArgHelperWithoutInput->setAllCallBase(true); } }; } // namespace NEO