|
Gromacs
2026.0
|
#include "gmxpre.h"#include "gromacs/topology/symtab.h"#include <cstdio>#include <filesystem>#include <memory>#include <string>#include <vector>#include <gtest/gtest.h>#include "gromacs/serialization/inmemoryserializer.h"#include "gromacs/utility/arrayref.h"#include "gromacs/utility/basedefinitions.h"#include "gromacs/utility/exceptions.h"#include "gromacs/utility/strconvert.h"#include "gromacs/utility/stringutil.h"#include "gromacs/utility/textreader.h"#include "testutils/refdata.h"#include "testutils/testfilemanager.h"
Include dependency graph for symtab.cpp:Tests for legacy symbol table and replacement.
Functions | |
| static void | gmx::test::compareDifferentIndices (const StringTableBuilder &builder, const StringTableEntry &firstSymbol, const StringTableEntry &otherSymbol, bool expectedOutcome) |
| Check that symbols obtained from symtab compare correctly. More... | |
| static int | gmx::test::readIndexFromSerializer (const StringTableEntry &symbol) |
| Helper to obtain the integer index from an entry. More... | |
| static void | gmx::test::stringMatches (const StringTable &symtab, const StringTableEntry &symbol, const char *string) |
| Helper function to check that a string in matches when looked up in non finalized table. More... | |
| bool | gmx::test::anonymous_namespace{symtab.cpp}::entriesAreEqual (t_symtab *symtab, char **symbol, int index) |
| Helper that compares an input to a handle obtained from symtab lookup. More... | |
| void | gmx::test::anonymous_namespace{symtab.cpp}::compareSymtabLookupAndHandle (t_symtab *symtab, char **symbol) |
| Helper function to check internal consistency of symtab lookup. More... | |
| void | gmx::test::anonymous_namespace{symtab.cpp}::compareDifferentHandles (t_symtab *symtab, char **firstSymbol, char **otherSymbol, bool expectedOutcome) |
| Check that symbols obtained from symtab compare correctly. More... | |
1.8.5