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
24
namespace
Lima
25
{
26
namespace
Common
27
{
28
namespace
TGV
29
{
30
31
class
TestCaseProcessorPrivate;
32
class
LIMA_TGV_EXPORT
TestCaseProcessor
33
{
34
public
:
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
44
protected
:
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
52
private
:
53
TestCaseProcessorPrivate
* m_d;
54
};
55
56
}
// TGV
57
}
// Common
58
}
// Lima
59
60
std::ostream&
operator<<
(std::ostream& oss,
const
QStringList& qsl);
61
62
#endif
LimaCommon.h
LIMA_TGV_EXPORT
#define LIMA_TGV_EXPORT
Definition
LinguisticProcessingCommon.h:86
TestCaseError.hpp
operator<<
std::ostream & operator<<(std::ostream &oss, const QStringList &qsl)
Definition
TestCaseProcessor.cpp:25
TestCase.h
Lima::Common::TGV::TestCaseError
Definition
TestCaseError.hpp:30
Lima::Common::TGV::TestCaseProcessorPrivate
Definition
TestCaseProcessor.cpp:44
Lima::Common::TGV::TestCaseProcessor
Definition
TestCaseProcessor.hpp:33
Lima::Common::TGV::TestCaseProcessor::configure
void configure(const std::string workingDirectory)
Lima::Common::TGV::TestCaseProcessor::processTestCase
virtual TestCaseError processTestCase(const TestCase &testCase)=0
Lima::Common::TGV::TestCaseProcessor::~TestCaseProcessor
virtual ~TestCaseProcessor()=default
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
Lima::Common::TGV::TestCase
Definition
TestCase.h:37
lima_linguisticprocessing
src
linguisticProcessing
common
tgv
TestCaseProcessor.hpp
Generated by
1.9.8