LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
TestCaseProcessor.hpp
Go to the documentation of this file.
1// Copyright 2002-2022 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
10#ifndef LIMA_COMMON_TGV_TESTCASEPROCESSOR_HPP
11#define LIMA_COMMON_TGV_TESTCASEPROCESSOR_HPP
12
13#include "TestCase.h"
14#include "TestCaseError.hpp"
15
16#include "common/LimaCommon.h"
17
18#include <ostream>
19#include <string>
20#include <map>
21#include <list>
22#include <stdexcept>
23
24namespace Lima
25{
26namespace Common
27{
28namespace TGV
29{
30
31class TestCaseProcessorPrivate;
33{
34public:
35
36 TestCaseProcessor( const std::string workingDirectory );
37 virtual ~TestCaseProcessor() = default;
38
39 void configure(const std::string workingDirectory);
40
41 virtual TestCaseError processTestCase(const TestCase& testCase) = 0;
42
43
44protected:
45 const QString& workingDirectory() const;
46
47 TestCaseError evalTestCase(
48 const TestCase& testCase, const std::string& pipeName,
49 const std::string& textFile, const std::string& traceFilePrefix ) const;
50
51
52private:
54};
55
56} // TGV
57} // Common
58} // Lima
59
60std::ostream& operator<<(std::ostream& oss, const QStringList& qsl);
61
62#endif
#define LIMA_TGV_EXPORT
std::ostream & operator<<(std::ostream &oss, const QStringList &qsl)
void configure(const std::string workingDirectory)
virtual TestCaseError processTestCase(const TestCase &testCase)=0
NAUTITIA.