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

Functions

 TEST (ParseCommandLineTest, ShortFormSingleVar)
 TEST (ParseCommandLineTest, LongFormSingleVar)
 TEST (ParseCommandLineTest, MultipleVarsLastWins)
 TEST (ParseCommandLineTest, VarPlusCustomInput)
 TEST (ParseCommandLineTest, DefaultInputPath)
 TEST (ParseCommandLineTest, MissingValueThrows)
 TEST (ParseCommandLineTest, EmptyNameThrows)
 TEST (ParseCommandLineTest, DigitLeadingNameThrows)
 TEST (ParseCommandLineTest, UnknownOptionThrows)
 TEST (ParseCommandLineTest, TruncatedArgcThrows)
 TEST (ParseCommandLineTest, CheckInputWithCustomPathInEitherOrder)
 TEST (ParseCommandLineTest, RepeatedInputLastWins)
 TEST (ParseCommandLineTest, ValuesMayStartWithDash)
 TEST (ParseCommandLineTest, MissingOrEmptyInputThrows)

Function Documentation

◆ TEST() [1/14]

TEST ( ParseCommandLineTest ,
CheckInputWithCustomPathInEitherOrder  )
Here is the call graph for this function:

◆ TEST() [2/14]

TEST ( ParseCommandLineTest ,
DefaultInputPath  )
Here is the call graph for this function:

◆ TEST() [3/14]

TEST ( ParseCommandLineTest ,
DigitLeadingNameThrows  )
Here is the call graph for this function:

◆ TEST() [4/14]

TEST ( ParseCommandLineTest ,
EmptyNameThrows  )
Here is the call graph for this function:

◆ TEST() [5/14]

TEST ( ParseCommandLineTest ,
LongFormSingleVar  )
Here is the call graph for this function:

◆ TEST() [6/14]

TEST ( ParseCommandLineTest ,
MissingOrEmptyInputThrows  )
Here is the call graph for this function:

◆ TEST() [7/14]

TEST ( ParseCommandLineTest ,
MissingValueThrows  )
Here is the call graph for this function:

◆ TEST() [8/14]

TEST ( ParseCommandLineTest ,
MultipleVarsLastWins  )
Here is the call graph for this function:

◆ TEST() [9/14]

TEST ( ParseCommandLineTest ,
RepeatedInputLastWins  )
Here is the call graph for this function:

◆ TEST() [10/14]

TEST ( ParseCommandLineTest ,
ShortFormSingleVar  )
Here is the call graph for this function:

◆ TEST() [11/14]

TEST ( ParseCommandLineTest ,
TruncatedArgcThrows  )
Here is the call graph for this function:

◆ TEST() [12/14]

TEST ( ParseCommandLineTest ,
UnknownOptionThrows  )
Here is the call graph for this function:

◆ TEST() [13/14]

TEST ( ParseCommandLineTest ,
ValuesMayStartWithDash  )
Here is the call graph for this function:

◆ TEST() [14/14]

TEST ( ParseCommandLineTest ,
VarPlusCustomInput  )
Here is the call graph for this function: