ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_read_input_item.cpp File Reference
#include <cstdio>
#include <fstream>
#include <string>
#include <vector>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "source_base/tool_quit.h"
#include "source_io/module_parameter/input_item.h"
#include "source_io/module_parameter/parameter.h"
#include "source_io/module_parameter/read_input.h"
Include dependency graph for test_read_input_item.cpp:

Classes

class  TestParameters
 Friend helper to mutate PARAM private members in unit tests. More...
class  InputTest

Macros

#define private   public

Functions

 TEST_F (InputTest, PwOnsiteRequiresDoublePrecision)
 TEST_F (InputTest, InvalidExplicitDomainDoesNotReachReadOrResetHooks)
 TEST_F (InputTest, MdThermoFrequencyUsesOnlyOutName)
 TEST_F (InputTest, OutDosAndOutMatXcRejectMalformedTokens)
 TEST_F (InputTest, RelaxMethod)
 TEST_F (InputTest, PccSelectionAndUnsupportedCombinations)
 TEST_F (InputTest, RejectInvalidMemSaver)
 TEST_F (InputTest, AcceptSupportedMemSaverInputs)
 TEST_F (InputTest, Item_test)
 TEST_F (InputTest, OutEbandLegacyAlias)
 TEST_F (InputTest, TdOutputFrequencyLegacyAlias)
 TEST_F (InputTest, HsOutputAliases)
 TEST_F (InputTest, HkComponentAliases)
 TEST_F (InputTest, PreserveExplicitMagneticMixing)
 TEST_F (InputTest, DefaultMagneticMixing)
 TEST_F (InputTest, Item_test2)
 TEST_F (InputTest, Item_test_out_mat_vec)
 TEST_F (InputTest, OutStru)
 TEST_F (InputTest, LRExternalKernelSupportsSpectraOnly)
 TEST_F (InputTest, LRFixedFieldRejectsForcesAndRelaxation)
 TEST_F (InputTest, PerAtomSccsCavityWidthsDisableSpatialSymmetry)
 TEST_F (InputTest, OutMatComponentPrecision)
 TEST_F (InputTest, OutStruCifAcceptedForMd)
 TEST_F (InputTest, DfptMixTypeDomainContract)
 TEST_F (InputTest, DfptKerkerA2RuleBoundaries)
 TEST_F (InputTest, DfptBroydenNdimRuleBoundaries)
 TEST_F (InputTest, PwDiagNmaxMustBePositive)
 TEST_F (InputTest, LobpcgLocking)

Macro Definition Documentation

◆ private

#define private   public
  • Tested Functions:
    • Item_test:
      • read in specific values for some items

Function Documentation

◆ TEST_F() [1/28]

TEST_F ( InputTest ,
AcceptSupportedMemSaverInputs  )
Here is the call graph for this function:

◆ TEST_F() [2/28]

TEST_F ( InputTest ,
DefaultMagneticMixing  )
Here is the call graph for this function:

◆ TEST_F() [3/28]

TEST_F ( InputTest ,
DfptBroydenNdimRuleBoundaries  )
Here is the call graph for this function:

◆ TEST_F() [4/28]

TEST_F ( InputTest ,
DfptKerkerA2RuleBoundaries  )
Here is the call graph for this function:

◆ TEST_F() [5/28]

TEST_F ( InputTest ,
DfptMixTypeDomainContract  )
Here is the call graph for this function:

◆ TEST_F() [6/28]

TEST_F ( InputTest ,
HkComponentAliases  )
Here is the call graph for this function:

◆ TEST_F() [7/28]

TEST_F ( InputTest ,
HsOutputAliases  )
Here is the call graph for this function:

◆ TEST_F() [8/28]

TEST_F ( InputTest ,
InvalidExplicitDomainDoesNotReachReadOrResetHooks  )
Here is the call graph for this function:

◆ TEST_F() [9/28]

TEST_F ( InputTest ,
Item_test  )
Here is the call graph for this function:

◆ TEST_F() [10/28]

TEST_F ( InputTest ,
Item_test2  )
Here is the call graph for this function:

◆ TEST_F() [11/28]

TEST_F ( InputTest ,
Item_test_out_mat_vec  )
Here is the call graph for this function:

◆ TEST_F() [12/28]

TEST_F ( InputTest ,
LobpcgLocking  )
Here is the call graph for this function:

◆ TEST_F() [13/28]

TEST_F ( InputTest ,
LRExternalKernelSupportsSpectraOnly  )
Here is the call graph for this function:

◆ TEST_F() [14/28]

TEST_F ( InputTest ,
LRFixedFieldRejectsForcesAndRelaxation  )
Here is the call graph for this function:

◆ TEST_F() [15/28]

TEST_F ( InputTest ,
MdThermoFrequencyUsesOnlyOutName  )
Here is the call graph for this function:

◆ TEST_F() [16/28]

TEST_F ( InputTest ,
OutDosAndOutMatXcRejectMalformedTokens  )
Here is the call graph for this function:

◆ TEST_F() [17/28]

TEST_F ( InputTest ,
OutEbandLegacyAlias  )
Here is the call graph for this function:

◆ TEST_F() [18/28]

TEST_F ( InputTest ,
OutMatComponentPrecision  )
Here is the call graph for this function:

◆ TEST_F() [19/28]

TEST_F ( InputTest ,
OutStru  )
Here is the call graph for this function:

◆ TEST_F() [20/28]

TEST_F ( InputTest ,
OutStruCifAcceptedForMd  )
Here is the call graph for this function:

◆ TEST_F() [21/28]

TEST_F ( InputTest ,
PccSelectionAndUnsupportedCombinations  )
Here is the call graph for this function:

◆ TEST_F() [22/28]

TEST_F ( InputTest ,
PerAtomSccsCavityWidthsDisableSpatialSymmetry  )
Here is the call graph for this function:

◆ TEST_F() [23/28]

TEST_F ( InputTest ,
PreserveExplicitMagneticMixing  )
Here is the call graph for this function:

◆ TEST_F() [24/28]

TEST_F ( InputTest ,
PwDiagNmaxMustBePositive  )
Here is the call graph for this function:

◆ TEST_F() [25/28]

TEST_F ( InputTest ,
PwOnsiteRequiresDoublePrecision  )
Here is the call graph for this function:

◆ TEST_F() [26/28]

TEST_F ( InputTest ,
RejectInvalidMemSaver  )
Here is the call graph for this function:

◆ TEST_F() [27/28]

TEST_F ( InputTest ,
RelaxMethod  )
Here is the call graph for this function:

◆ TEST_F() [28/28]

TEST_F ( InputTest ,
TdOutputFrequencyLegacyAlias  )
Here is the call graph for this function: