ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_parse_args.cpp File Reference
#include "source_io/parse_args.h"
#include "source_io/parse_command_line.h"
#include "gtest/gtest.h"
#include "source_io/module_parameter/read_input.h"
#include "source_main/version.h"
#include <stdexcept>
#include <vector>
Include dependency graph for test_parse_args.cpp:

Classes

class  ParseArgsTest

Functions

 TEST_F (ParseArgsTest, NoArguments)
 TEST_F (ParseArgsTest, VersionFlags)
 TEST_F (ParseArgsTest, InfoFlags)
 TEST_F (ParseArgsTest, UnknownArgument)
 TEST_F (ParseArgsTest, CheckInputFlag)
 TEST_F (ParseArgsTest, PriorityVersionOverCheckInput)
 TEST_F (ParseArgsTest, HelpGeneralShort)
 TEST_F (ParseArgsTest, HelpGeneralLong)
 TEST_F (ParseArgsTest, HelpKnownParameter)
 TEST_F (ParseArgsTest, HelpUnknownParameter)
 TEST_F (ParseArgsTest, SearchWithResults)
 TEST_F (ParseArgsTest, SearchLongWithResults)
 TEST_F (ParseArgsTest, SearchWithNoResults)
 TEST_F (ParseArgsTest, SearchWithoutQuery)
 TEST_F (ParseArgsTest, HelpFollowedByFlag)
 TEST_F (ParseArgsTest, CombinedRunControlAndCheckInput)
 TEST_F (ParseArgsTest, FlagLookingVariableValueIsConsumed)
 TEST_F (ParseArgsTest, SharedRunControlArityValidation)
 TEST_F (ParseArgsTest, HelpStillPrecedesRunControlNameValidation)

Function Documentation

◆ TEST_F() [1/19]

TEST_F ( ParseArgsTest ,
CheckInputFlag  )
Here is the call graph for this function:

◆ TEST_F() [2/19]

TEST_F ( ParseArgsTest ,
CombinedRunControlAndCheckInput  )
Here is the call graph for this function:

◆ TEST_F() [3/19]

TEST_F ( ParseArgsTest ,
FlagLookingVariableValueIsConsumed  )
Here is the call graph for this function:

◆ TEST_F() [4/19]

TEST_F ( ParseArgsTest ,
HelpFollowedByFlag  )
Here is the call graph for this function:

◆ TEST_F() [5/19]

TEST_F ( ParseArgsTest ,
HelpGeneralLong  )
Here is the call graph for this function:

◆ TEST_F() [6/19]

TEST_F ( ParseArgsTest ,
HelpGeneralShort  )
Here is the call graph for this function:

◆ TEST_F() [7/19]

TEST_F ( ParseArgsTest ,
HelpKnownParameter  )
Here is the call graph for this function:

◆ TEST_F() [8/19]

TEST_F ( ParseArgsTest ,
HelpStillPrecedesRunControlNameValidation  )
Here is the call graph for this function:

◆ TEST_F() [9/19]

TEST_F ( ParseArgsTest ,
HelpUnknownParameter  )
Here is the call graph for this function:

◆ TEST_F() [10/19]

TEST_F ( ParseArgsTest ,
InfoFlags  )
Here is the call graph for this function:

◆ TEST_F() [11/19]

TEST_F ( ParseArgsTest ,
NoArguments  )
Here is the call graph for this function:

◆ TEST_F() [12/19]

TEST_F ( ParseArgsTest ,
PriorityVersionOverCheckInput  )
Here is the call graph for this function:

◆ TEST_F() [13/19]

TEST_F ( ParseArgsTest ,
SearchLongWithResults  )
Here is the call graph for this function:

◆ TEST_F() [14/19]

TEST_F ( ParseArgsTest ,
SearchWithNoResults  )
Here is the call graph for this function:

◆ TEST_F() [15/19]

TEST_F ( ParseArgsTest ,
SearchWithoutQuery  )
Here is the call graph for this function:

◆ TEST_F() [16/19]

TEST_F ( ParseArgsTest ,
SearchWithResults  )
Here is the call graph for this function:

◆ TEST_F() [17/19]

TEST_F ( ParseArgsTest ,
SharedRunControlArityValidation  )
Here is the call graph for this function:

◆ TEST_F() [18/19]

TEST_F ( ParseArgsTest ,
UnknownArgument  )
Here is the call graph for this function:

◆ TEST_F() [19/19]

TEST_F ( ParseArgsTest ,
VersionFlags  )
Here is the call graph for this function: