JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Protected Types | Protected Member Functions | Protected Attributes
ValueTest Class Reference
Inheritance diagram for ValueTest:
[legend]
Collaboration diagram for ValueTest:
[legend]

Protected Types

using Params = std::vector< std::unique_ptr< IValueProvider > >
 

Protected Member Functions

 ValueTest ()
 
template<class T >
auto createValue (const std::vector< IValueType > &paramTypes)
 
template<class T , typename N , typename R >
auto testBinaryAtom (N lhs, N rhs, R res)
 
template<class T , typename N >
auto testBinaryAtom (N lhs, N rhs)
 
template<class T , typename N , typename R >
auto testUnaryAtom (N val, R res)
 
template<class T , typename N >
auto testUnaryAtom (N val)
 
template<class T >
auto testParams (const std::vector< IValueType > &paramTypes, bool testcount=true, bool checkAny=true)
 
std::vector< std::vector< IValueType > > changeParam (const std::vector< IValueType > &paramTypes, size_t i)
 
void checkType (std::unique_ptr< IValueProvider > &ival, IValueType type)
 
std::string IValueToValueString (std::unique_ptr< IValueProvider > &ival)
 
void checkDuplicate (std::unique_ptr< IValueProvider > &ival)
 
::testing::AssertionResult checkFunction (std::unique_ptr< IValueProvider > &ival, std::unique_ptr< IValueProvider > &res)
 

Protected Attributes

RapidJsonDocument doc
 

Member Typedef Documentation

◆ Params

using ValueTest::Params = std::vector<std::unique_ptr<IValueProvider> >
protected

Constructor & Destructor Documentation

◆ ValueTest()

ValueTest::ValueTest ( )
inlineprotected

Member Function Documentation

◆ changeParam()

std::vector<std::vector<IValueType> > ValueTest::changeParam ( const std::vector< IValueType > &  paramTypes,
size_t  i 
)
inlineprotected

◆ checkDuplicate()

void ValueTest::checkDuplicate ( std::unique_ptr< IValueProvider > &  ival)
inlineprotected

◆ checkFunction()

::testing::AssertionResult ValueTest::checkFunction ( std::unique_ptr< IValueProvider > &  ival,
std::unique_ptr< IValueProvider > &  res 
)
inlineprotected

◆ checkType()

void ValueTest::checkType ( std::unique_ptr< IValueProvider > &  ival,
IValueType  type 
)
inlineprotected

◆ createValue()

template<class T >
auto ValueTest::createValue ( const std::vector< IValueType > &  paramTypes)
inlineprotected
Here is the call graph for this function:

◆ IValueToValueString()

std::string ValueTest::IValueToValueString ( std::unique_ptr< IValueProvider > &  ival)
inlineprotected
Here is the call graph for this function:

◆ testBinaryAtom() [1/2]

template<class T , typename N >
auto ValueTest::testBinaryAtom ( lhs,
rhs 
)
inlineprotected

◆ testBinaryAtom() [2/2]

template<class T , typename N , typename R >
auto ValueTest::testBinaryAtom ( lhs,
rhs,
res 
)
inlineprotected

◆ testParams()

template<class T >
auto ValueTest::testParams ( const std::vector< IValueType > &  paramTypes,
bool  testcount = true,
bool  checkAny = true 
)
inlineprotected

◆ testUnaryAtom() [1/2]

template<class T , typename N >
auto ValueTest::testUnaryAtom ( val)
inlineprotected

◆ testUnaryAtom() [2/2]

template<class T , typename N , typename R >
auto ValueTest::testUnaryAtom ( val,
res 
)
inlineprotected

Field Documentation

◆ doc

RapidJsonDocument ValueTest::doc
protected

The documentation for this class was generated from the following file: