Gromacs  2027.0-dev-20261113-fb41eee
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::test::SetBothTimeTest Class Reference
+ Inheritance diagram for gmx::test::SetBothTimeTest:
+ Collaboration diagram for gmx::test::SetBothTimeTest:

Description

Test fixture to prepare a setatoms object to pass data through.

Public Member Functions

SetTimeStep * setTimeStep (real timeStep)
 Get access to the method for changing frame time step information. More...
 
SetStartTime * setStartTime (real startTime)
 Get access to the method for changing frame start time information. More...
 
t_trxframe * frame ()
 Get access to trajectoryframe to mess with.
 
- Public Member Functions inherited from gmx::test::CommandLineTestBase
void setInputFile (const char *option, const std::filesystem::path &filename)
 Sets an input file. More...
 
void setModifiableInputFile (const char *option, const std::filesystem::path &filename)
 Sets an input file that may be modified. The file is copied to a temporary file, which is used as the test input. More...
 
void setInputFileContents (const char *option, const char *extension, const std::string &contents)
 Generates and sets an input file. More...
 
void setInputFileContents (const char *option, const char *extension, const ArrayRef< const char *const > &contents)
 Generates and sets an input file. More...
 
std::filesystem::path setOutputFile (const char *option, const std::filesystem::path &filename, const ITextBlockMatcherSettings &matcher)
 Sets an output file whose name is passed via an option and adds it to the set of tested files. More...
 
std::filesystem::path setOutputFile (const char *option, const std::filesystem::path &filename, const IFileMatcherSettings &matcher)
 
std::filesystem::path setOutputFileWithGeneratedName (std::string_view label, const std::filesystem::path &filename, const ITextBlockMatcherSettings &matcher)
 Sets an output file whose name is generated by the tool and adds it to the set of tested files. More...
 
std::filesystem::path setOutputFileWithGeneratedName (std::string_view label, const std::filesystem::path &filename, const IFileMatcherSettings &matcher)
 
std::filesystem::path setInputAndOutputFile (const char *option, const std::filesystem::path &filename, const ITextBlockMatcherSettings &matcher)
 Sets a file parameter that is used for input and modified as output. The input file is copied to a temporary file that is used as input and can be modified.
 
std::filesystem::path setInputAndOutputFile (const char *option, const std::filesystem::path &filename, const IFileMatcherSettings &matcher)
 
CommandLine & commandLine ()
 Returns the internal CommandLine object used to construct the command line for the test. More...
 
TestFileManager & fileManager ()
 Returns the internal TestFileManager object used to manage the files. More...
 
TestReferenceChecker rootChecker ()
 Returns the root reference data checker. More...
 
void setDefaultTolerance (const FloatingPointTolerance &tolerance)
 Sets the tolerance for floating-point comparisons. More...
 
void testWriteHelp (ICommandLineModule *module)
 Checks the output of writeHelp() against reference data.
 
void checkOutputFiles ()
 Checks output files added with setOutputFile() against reference data. More...
 

Member Function Documentation

SetStartTime* gmx::test::SetBothTimeTest::setStartTime ( real  startTime)
inline

Get access to the method for changing frame start time information.

Parameters
[in]startTimeUser supplied start time to test.
SetTimeStep* gmx::test::SetBothTimeTest::setTimeStep ( real  timeStep)
inline

Get access to the method for changing frame time step information.

Parameters
[in]timeStepUser supplied time step to test.

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