LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
Lima::Common::TGV::TestCase Struct Reference

#include <linguisticProcessing/common/tgv/TestCase.h>

Classes

struct  TestUnit

Public Member Functions

 TestCase ()
void print (std::ostream &os) const
std::string getParam (const std::string &key) const
void getList (const std::string &key, std::list< std::string > &list) const
void getMap (const std::string &key, std::map< std::string, std::string > &map) const

Public Attributes

SimpleValCallParams simpleValCallParams
MultiValCallParams multiValCallParams
MapValCallParams mapValCallParams
std::string id
std::string type
std::string explanation
std::list< TestUnit > tests

Friends

LIMA_TGV_EXPORT std::ostream & operator<< (std::ostream &os, const TestCase &tc)

Detailed Description

Author
Benoit Mathieu

Definition at line 36 of file TestCase.h.

Constructor & Destructor Documentation

◆ TestCase()

Lima::Common::TGV::TestCase::TestCase ( )
inline

Definition at line 38 of file TestCase.h.

Member Function Documentation

◆ getList()

void Lima::Common::TGV::TestCase::getList ( const std::string & key,
std::list< std::string > & list ) const

Definition at line 86 of file TestCase.cpp.

◆ getMap()

void Lima::Common::TGV::TestCase::getMap ( const std::string & key,
std::map< std::string, std::string > & map ) const

Definition at line 100 of file TestCase.cpp.

◆ getParam()

std::string Lima::Common::TGV::TestCase::getParam ( const std::string & key) const

Definition at line 69 of file TestCase.cpp.

◆ print()

void Lima::Common::TGV::TestCase::print ( std::ostream & os) const

Definition at line 33 of file TestCase.cpp.

◆ operator<<

LIMA_TGV_EXPORT std::ostream & operator<< ( std::ostream & os,
const TestCase & tc )
friend

Definition at line 28 of file TestCase.cpp.

Member Data Documentation

◆ explanation

std::string Lima::Common::TGV::TestCase::explanation

Definition at line 67 of file TestCase.h.

◆ id

std::string Lima::Common::TGV::TestCase::id

Definition at line 65 of file TestCase.h.

◆ mapValCallParams

MapValCallParams Lima::Common::TGV::TestCase::mapValCallParams

Definition at line 63 of file TestCase.h.

◆ multiValCallParams

MultiValCallParams Lima::Common::TGV::TestCase::multiValCallParams

Definition at line 62 of file TestCase.h.

◆ simpleValCallParams

SimpleValCallParams Lima::Common::TGV::TestCase::simpleValCallParams

Definition at line 61 of file TestCase.h.

◆ tests

std::list<TestUnit> Lima::Common::TGV::TestCase::tests

Definition at line 68 of file TestCase.h.

◆ type

std::string Lima::Common::TGV::TestCase::type

Definition at line 66 of file TestCase.h.


The documentation for this struct was generated from the following files:
  • lima_linguisticprocessing/src/linguisticProcessing/common/tgv/TestCase.h
  • lima_linguisticprocessing/src/linguisticProcessing/common/tgv/TestCase.cpp