pairinteraction
A Rydberg Interaction Calculator
run_unit_tests.cpp File Reference
#include "pairinteraction/tools/run_unit_tests.hpp"
#include "pairinteraction/database/Database.hpp"
#include "pairinteraction/utils/paths.hpp"
#include "pairinteraction/utils/streamed.hpp"
#include "pairinteraction/version.hpp"
#include <cstdlib>
#include <doctest/doctest.h>
#include <filesystem>
#include <httplib.h>
#include <mutex>
#include <spdlog/spdlog.h>
+ Include dependency graph for run_unit_tests.cpp:

Go to the source code of this file.

Data Structures

struct  doctest::LoggingReporter
 

Namespaces

namespace  doctest
 
namespace  pairinteraction
 

Macros

#define DOCTEST_CONFIG_IMPLEMENT
 
#define DOCTEST_LOCK_MUTEX(name)    std::lock_guard<std::mutex> DOCTEST_ANONYMOUS(DOCTEST_ANON_LOCK_)(name);
 

Functions

 doctest::REGISTER_REPORTER ("logging", 1, doctest::LoggingReporter)
 
int pairinteraction::run_unit_tests (int argc=0, char **argv={}, bool download_missing=false, bool use_cache=true, std::filesystem::path database_dir="")
 

Variables

constexpr std::string_view OS_NAME
 

Macro Definition Documentation

◆ DOCTEST_CONFIG_IMPLEMENT

#define DOCTEST_CONFIG_IMPLEMENT

Definition at line 4 of file run_unit_tests.cpp.

◆ DOCTEST_LOCK_MUTEX

#define DOCTEST_LOCK_MUTEX (   name)     std::lock_guard<std::mutex> DOCTEST_ANONYMOUS(DOCTEST_ANON_LOCK_)(name);

Definition at line 31 of file run_unit_tests.cpp.

Variable Documentation

◆ OS_NAME

constexpr std::string_view OS_NAME
constexpr
Initial value:
=
"Unknown"

Definition at line 234 of file run_unit_tests.cpp.

Referenced by pairinteraction::run_unit_tests().