2016-10-30 18:24:19 +01:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2021-09-14 00:13:48 +02:00
|
|
|
#pragma once
|
2011-06-19 15:41:06 +03:00
|
|
|
|
2018-01-26 17:06:56 +01:00
|
|
|
#include "cmConfigure.h" // IWYU pragma: keep
|
2016-10-30 18:24:19 +01:00
|
|
|
|
2019-11-11 23:01:05 +01:00
|
|
|
#include <set>
|
|
|
|
#include <string>
|
|
|
|
|
2020-02-01 23:06:01 +01:00
|
|
|
#include "cmCTestGenericHandler.h"
|
|
|
|
|
2011-06-19 15:41:06 +03:00
|
|
|
/** \class cmCTestUploadHandler
|
|
|
|
* \brief Helper class for CTest
|
|
|
|
*
|
|
|
|
* Submit arbitrary files
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class cmCTestUploadHandler : public cmCTestGenericHandler
|
|
|
|
{
|
|
|
|
public:
|
2020-02-01 23:06:01 +01:00
|
|
|
using Superclass = cmCTestGenericHandler;
|
2011-06-19 15:41:06 +03:00
|
|
|
|
|
|
|
cmCTestUploadHandler();
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The main entry point for this class
|
|
|
|
*/
|
2018-01-26 17:06:56 +01:00
|
|
|
int ProcessHandler() override;
|
2011-06-19 15:41:06 +03:00
|
|
|
|
2018-01-26 17:06:56 +01:00
|
|
|
void Initialize() override;
|
2011-06-19 15:41:06 +03:00
|
|
|
|
|
|
|
/** Specify a set of files to submit. */
|
2019-11-11 23:01:05 +01:00
|
|
|
void SetFiles(std::set<std::string> const& files);
|
2011-06-19 15:41:06 +03:00
|
|
|
|
|
|
|
private:
|
2019-11-11 23:01:05 +01:00
|
|
|
std::set<std::string> Files;
|
2011-06-19 15:41:06 +03:00
|
|
|
};
|