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

Description

invokes the TestOption parser for various example commandlines

Test:
for test::TestOption, parsing of commandline options
See also
test::Suite
util::Cmdline

Definition at line 39 of file test-option-test.cpp.

Private Member Functions

void run (Arg)
 
auto doIt (const string cmdline)
 
void noOptions ()
 
void help ()
 
void groupID ()
 
void singleTest ()
 
void groupFilter1 ()
 
void groupFilter2 ()
 
void additionalCmd ()
 
void additionalCmd2 ()
 
void verify_seed ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Test
static string firstTok (Arg)
 conveniently pick the first token from the argument line
 
static uint firstVal (Arg, uint=1)
 conveniently use some number given as argument, with optional default
 
- Public Member Functions inherited from Test
virtual ~Test ()=default
 this is an interface
 
void seedRand ()
 draw a new random seed from a common nucleus, and re-seed the default-Gen.
 
lib::Random makeRandGen ()
 build a dedicated new RandomGen, seeded from the default-Gen
 

Member Function Documentation

◆ run()

void run ( Arg  )
inlineprivatevirtual

Implements Test.

Definition at line 42 of file test-option-test.cpp.

References TestOption_test::additionalCmd(), TestOption_test::additionalCmd2(), TestOption_test::groupFilter1(), TestOption_test::groupFilter2(), TestOption_test::groupID(), TestOption_test::help(), TestOption_test::noOptions(), TestOption_test::singleTest(), and TestOption_test::verify_seed().

+ Here is the call graph for this function:

◆ doIt()

auto doIt ( const string  cmdline)
inlineprivate
Test:
performs the actual test for the option parser test::TestOption

Definition at line 58 of file test-option-test.cpp.

Referenced by TestOption_test::additionalCmd(), TestOption_test::additionalCmd2(), TestOption_test::groupFilter1(), TestOption_test::groupFilter2(), TestOption_test::groupID(), TestOption_test::help(), TestOption_test::noOptions(), TestOption_test::singleTest(), and TestOption_test::verify_seed().

+ Here is the caller graph for this function:

◆ noOptions()

void noOptions ( )
inlineprivate

Definition at line 71 of file test-option-test.cpp.

References TestOption_test::doIt().

Referenced by TestOption_test::run().

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

◆ help()

void help ( )
inlineprivate

Definition at line 72 of file test-option-test.cpp.

References TestOption_test::doIt().

Referenced by TestOption_test::run().

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

◆ groupID()

void groupID ( )
inlineprivate

Definition at line 73 of file test-option-test.cpp.

References TestOption_test::doIt().

Referenced by TestOption_test::run().

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

◆ singleTest()

void singleTest ( )
inlineprivate

Definition at line 74 of file test-option-test.cpp.

References TestOption_test::doIt().

Referenced by TestOption_test::run().

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

◆ groupFilter1()

void groupFilter1 ( )
inlineprivate

Definition at line 75 of file test-option-test.cpp.

References TestOption_test::doIt().

Referenced by TestOption_test::run().

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

◆ groupFilter2()

void groupFilter2 ( )
inlineprivate

Definition at line 76 of file test-option-test.cpp.

References TestOption_test::doIt().

Referenced by TestOption_test::run().

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

◆ additionalCmd()

void additionalCmd ( )
inlineprivate

Definition at line 77 of file test-option-test.cpp.

References TestOption_test::doIt().

Referenced by TestOption_test::run().

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

◆ additionalCmd2()

void additionalCmd2 ( )
inlineprivate

Definition at line 78 of file test-option-test.cpp.

References TestOption_test::doIt().

Referenced by TestOption_test::run().

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

◆ verify_seed()

void verify_seed ( )
inlineprivate

Definition at line 81 of file test-option-test.cpp.

References TestOption_test::doIt(), and VERIFY_FAIL.

Referenced by TestOption_test::run().

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

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