Gromacs  2026.0-dev-20241212-74b8831
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
abstractoptionstorage.cpp File Reference
#include "gmxpre.h"
#include "gromacs/options/abstractoptionstorage.h"
#include <string>
#include <tuple>
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "gromacs/options/abstractoption.h"
#include "gromacs/options/options.h"
#include "gromacs/options/optionsassigner.h"
#include "gromacs/options/optionstoragetemplate.h"
#include "gromacs/utility/any.h"
#include "gromacs/utility/exceptions.h"
#include "testutils/testasserts.h"
#include "testutils/testexceptions.h"
+ Include dependency graph for abstractoptionstorage.cpp:

Description

Tests proper handling of option storage.

These tests check that methods in storage objects are called properly in all situations, and also that the OptionStorageTemplate class behaves properly.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Classes

class  gmx::test::anonymous_namespace{abstractoptionstorage.cpp}::MockOptionStorage
 Mock implementation of an option storage class for unit testing. More...
 
class  gmx::test::anonymous_namespace{abstractoptionstorage.cpp}::MockOption
 Specifies an option that has a mock storage object for unit testing. More...