C++ Utilities
4.17.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
The ArgumentParserTests class tests the ArgumentParser and Argument classes. More...
Public Member Functions | |
void | setUp () |
void | tearDown () |
void | testArgument () |
Tests the behaviour of the argument class. More... | |
void | testParsing () |
Tests parsing command line arguments. More... | |
void | testCallbacks () |
Tests whether callbacks are called correctly. More... | |
void | testSetMainArguments () |
Tests some corner cases in setMainArguments() which are not already checked in the other tests. More... | |
void | testValueConversion () |
Tests value conversion provided by Argument and ArgumentOccurrence. More... | |
void | testBashCompletion () |
Tests bash completion. More... | |
void | testHelp () |
Tests –help output. More... | |
void | testNoColorArgument () |
Tests whether NocolorArgument toggles escape codes correctly. More... | |
The ArgumentParserTests class tests the ArgumentParser and Argument classes.
Definition at line 40 of file argumentparsertests.cpp.
void ArgumentParserTests::setUp | ( | ) |
Definition at line 75 of file argumentparsertests.cpp.
void ArgumentParserTests::tearDown | ( | ) |
Definition at line 83 of file argumentparsertests.cpp.
void ArgumentParserTests::testArgument | ( | ) |
Tests the behaviour of the argument class.
Definition at line 90 of file argumentparsertests.cpp.
void ArgumentParserTests::testBashCompletion | ( | ) |
Tests bash completion.
Definition at line 495 of file argumentparsertests.cpp.
void ArgumentParserTests::testCallbacks | ( | ) |
Tests whether callbacks are called correctly.
Definition at line 452 of file argumentparsertests.cpp.
void ArgumentParserTests::testHelp | ( | ) |
Tests –help output.
Definition at line 730 of file argumentparsertests.cpp.
void ArgumentParserTests::testNoColorArgument | ( | ) |
Tests whether NocolorArgument toggles escape codes correctly.
Definition at line 855 of file argumentparsertests.cpp.
void ArgumentParserTests::testParsing | ( | ) |
Tests parsing command line arguments.
Definition at line 115 of file argumentparsertests.cpp.
void ArgumentParserTests::testSetMainArguments | ( | ) |
Tests some corner cases in setMainArguments() which are not already checked in the other tests.
Definition at line 830 of file argumentparsertests.cpp.
void ArgumentParserTests::testValueConversion | ( | ) |
Tests value conversion provided by Argument and ArgumentOccurrence.
Definition at line 898 of file argumentparsertests.cpp.