Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
QueryUtils_test Class Reference

Description

Test:
check the various small helpers and utilities we utilise for dealing with ConfigQuery

Definition at line 56 of file query-utils-test.cpp.

Private Member Functions

virtual void run (Arg arg)
 
void check_normaliseID ()
 
void check_extractID ()
 
void check_removeTerm ()
 
void CHECK_removeTerm (Symbol sym, string input, string extracted, string modified)
 
void check_countPred ()
 

Member Function Documentation

◆ run()

virtual void run ( Arg  arg)
inlineprivatevirtual

Definition at line 60 of file query-utils-test.cpp.

References QueryUtils_test::check_countPred(), QueryUtils_test::check_extractID(), QueryUtils_test::check_normaliseID(), and QueryUtils_test::check_removeTerm().

+ Here is the call graph for this function:

◆ check_normaliseID()

void check_normaliseID ( )
inlineprivate
Test:
sanitising and normalising various tokens

Definition at line 74 of file query-utils-test.cpp.

References lib::query::normaliseID().

Referenced by QueryUtils_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_extractID()

void check_extractID ( )
inlineprivate
Test:
the simple regexp extracting a parameter token

Definition at line 92 of file query-utils-test.cpp.

References lib::query::extractID().

Referenced by QueryUtils_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_removeTerm()

void check_removeTerm ( )
inlineprivate
Test:
the regexp based cutting of a term with given symbol

Definition at line 109 of file query-utils-test.cpp.

References QueryUtils_test::CHECK_removeTerm().

Referenced by QueryUtils_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CHECK_removeTerm()

void CHECK_removeTerm ( Symbol  sym,
string  input,
string  extracted,
string  modified 
)
inlineprivate

Definition at line 125 of file query-utils-test.cpp.

References lib::query::removeTerm().

Referenced by QueryUtils_test::check_removeTerm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_countPred()

void check_countPred ( )
inlineprivate
Test:
counting of predicates in a query (currently 4/08 regexp based...)

Definition at line 137 of file query-utils-test.cpp.

References lib::query::countPred(), and lib::query::test::garbage_query().

Referenced by QueryUtils_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
+ Inheritance diagram for QueryUtils_test:
+ Collaboration diagram for QueryUtils_test:

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