Search Toolkit Book for mu::Test::ParserTester
Test cases for unit testing. More...
#include <gui/utils/muparser/muParserTest.h>
Test cases for unit testing.
(C) 2004-2006 Ingo Berg
Definition at line 49 of file muParserTest.h.
◆ testfun_type typedef int(ParserTester::* mu::Test::ParserTester::testfun_type) ()Definition at line 179 of file muParserTest.h.
◆ ParserTester() mu::Test::ParserTester::ParserTester ( )Definition at line 51 of file muParserTest.cpp.
References AddTest(), c_iCount, TestBinOprt(), TestException(), TestExpression(), TestInfixOprt(), TestInterface(), TestMultiArg(), TestNames(), TestPostFix(), TestStrArg(), TestSyntax(), TestVarConst(), and TestVolatile().
◆ Abort() void mu::Test::ParserTester::Abort ( void ) const private ◆ AddTest() void mu::Test::ParserTester::AddTest ( testfun_type a_pFun ) private ◆ EqnTest()Evaluate a tet expression.
Definition at line 967 of file muParserTest.cpp.
References c_iCount, mu::console(), mu::ParserBase::DefineConst(), mu::ParserBase::DefineFun(), mu::ParserBase::DefineInfixOprt(), mu::ParserBase::DefinePostfixOprt(), mu::ParserBase::DefineVar(), mu::ParserBase::EnableOptimizer(), mu::ParserBase::Eval(), f1of1(), f1of2(), f1of3(), f1of4(), f1of5(), f2of2(), f2of3(), f2of4(), f2of5(), f3of3(), f3of4(), f3of5(), f4of4(), f4of5(), f5of5(), fabs, FirstArg(), mu::ParserError::GetMsg(), i, LastArg(), Max(), Milli(), Min(), PARSER_CONST_E, PARSER_CONST_PI, Ping(), plus2(), mu::prPOW, mu::ParserBase::SetExpr(), sign(), sqr(), StrFun1(), StrFun2(), StrFun3(), StrToFloat(), Sum(), times3(), ValueOf(), and wxT.
Referenced by TestBinOprt(), TestExpression(), TestInfixOprt(), TestMultiArg(), TestPostFix(), TestStrArg(), TestSyntax(), and TestVarConst().
◆ EqnTestInt() ◆ f1of1() ◆ f1of2() ◆ f1of3() ◆ f1of4() ◆ f1of5() ◆ f2of2() ◆ f2of3() ◆ f2of4() ◆ f2of5() ◆ f3of3() ◆ f3of4() ◆ f3of5() ◆ f4of4() ◆ f4of5() ◆ f5of5() ◆ FirstArg() ◆ LastArg() ◆ Max() ◆ Milli() ◆ Min() ◆ Ping() ◆ plus2() ◆ Rnd() ◆ RndWithString() ◆ Run() void mu::Test::ParserTester::Run ( void ) ◆ sign() ◆ sqr() ◆ StrFun1() ◆ StrFun2() ◆ StrFun3() ◆ StrToFloat() ◆ Sum() ◆ TestBinOprt() int mu::Test::ParserTester::TestBinOprt ( ) private ◆ TestException() int mu::Test::ParserTester::TestException ( ) privateDefinition at line 796 of file muParserTest.cpp.
References mu::console(), mu::ecMISSING_PARENS, mu::ecOPRT_TYPE_CONFLICT, mu::ecSTR_RESULT, mu::ecSTRING_EXPECTED, mu::ecTOO_FEW_PARAMS, mu::ecTOO_MANY_PARAMS, mu::ecUNASSIGNABLE_TOKEN, mu::ecUNEXPECTED_ARG_SEP, mu::ecUNEXPECTED_EOF, mu::ecUNEXPECTED_FUN, mu::ecUNEXPECTED_OPERATOR, mu::ecUNEXPECTED_PARENS, mu::ecUNEXPECTED_VAL, mu::ecUNTERMINATED_STRING, mu::ecVAL_EXPECTED, ThrowTest(), and wxT.
Referenced by ParserTester().
◆ TestExpression() int mu::Test::ParserTester::TestExpression ( ) private ◆ TestInfixOprt() int mu::Test::ParserTester::TestInfixOprt ( ) private ◆ TestInterface() int mu::Test::ParserTester::TestInterface ( ) private ◆ TestMultiArg() int mu::Test::ParserTester::TestMultiArg ( ) private ◆ TestNames() int mu::Test::ParserTester::TestNames ( ) private ◆ TestPostFix() int mu::Test::ParserTester::TestPostFix ( ) private ◆ TestStrArg() int mu::Test::ParserTester::TestStrArg ( ) private ◆ TestSyntax() int mu::Test::ParserTester::TestSyntax ( ) private ◆ TestVarConst() int mu::Test::ParserTester::TestVarConst ( ) private ◆ TestVolatile() int mu::Test::ParserTester::TestVolatile ( ) private ◆ ThrowTest()Definition at line 915 of file muParserTest.cpp.
References c_iCount, mu::console(), mu::ParserBase::DefineFun(), mu::ParserBase::DefineVar(), mu::ParserBase::Eval(), mu::ParserError::GetCode(), Ping(), mu::ParserBase::SetExpr(), StrFun1(), StrFun2(), StrFun3(), ValueOf(), and wxT.
Referenced by TestException().
◆ times3() ◆ ValueOf() ◆ c_iCount int mu::Test::ParserTester::c_iCount = 0 staticprivate ◆ m_vTestFun std::vector<testfun_type> mu::Test::ParserTester::m_vTestFun privateThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4