Remove redundant constructors from ULT

Change-Id: I2e3acd5d627efe71be66d9e905fcd6c75bf6aa12
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-04-15 17:15:07 +02:00
committed by sys_ocldev
parent ab9f7b4c53
commit 9567fa5090
2 changed files with 8 additions and 23 deletions

View File

@@ -18,31 +18,21 @@ namespace NEO {
class OfflineCompilerTests : public ::testing::Test {
public:
OfflineCompilerTests() : pOfflineCompiler(nullptr),
retVal(SUCCESS) {
oclocArgHelperWithoutInput = std::make_unique<OclocArgHelper>();
// ctor
}
OfflineCompiler *pOfflineCompiler;
int retVal;
std::unique_ptr<OclocArgHelper> oclocArgHelperWithoutInput;
OfflineCompiler *pOfflineCompiler = nullptr;
int retVal = SUCCESS;
std::unique_ptr<OclocArgHelper> oclocArgHelperWithoutInput = std::make_unique<OclocArgHelper>();
};
class MultiCommandTests : public ::testing::Test {
public:
MultiCommandTests() : pMultiCommand(nullptr),
retVal(SUCCESS) {
oclocArgHelperWithoutInput = std::make_unique<OclocArgHelper>();
}
void createFileWithArgs(const std::vector<std::string> &, int numOfBuild);
void deleteFileWithArgs();
void deleteOutFileList();
MultiCommand *pMultiCommand = nullptr;
std::string nameOfFileWithArgs;
std::string outFileList;
int retVal;
std::unique_ptr<OclocArgHelper> oclocArgHelperWithoutInput;
int retVal = SUCCESS;
std::unique_ptr<OclocArgHelper> oclocArgHelperWithoutInput = std::make_unique<OclocArgHelper>();
};
void MultiCommandTests::createFileWithArgs(const std::vector<std::string> &singleArgs, int numOfBuild) {