Lumiera  0.pre.03
»edit your freedom«
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 additionalCmd ()
 
void additionalCmd2 ()
 
auto doIt (const string cmdline)
 
void groupFilter1 ()
 
void groupFilter2 ()
 
void groupID ()
 
void help ()
 
void noOptions ()
 
void run (Arg)
 
void singleTest ()
 
void verify_seed ()
 

Additional Inherited Members

- Public Member Functions inherited from Test
virtual ~Test ()=default
 this is an interface
 
lib::Random makeRandGen ()
 build a dedicated new RandomGen, seeded from the default-Gen
 
void seedRand ()
 draw a new random seed from a common nucleus, and re-seed the default-Gen.
 
- 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
 

Member Function Documentation

◆ 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.

+ Inheritance diagram for TestOption_test:
+ Collaboration diagram for TestOption_test:

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