Nektar++
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Enumerations
TestGlobalConfiguration.hpp File Reference
#include <UnitTests/TestBoostSetup.hpp>
#include <cstdlib>
#include <iostream>
#include <string>

Go to the source code of this file.

Classes

struct  Nektar::UnitTests::GlobalConfiguration< Args >
 

Namespaces

namespace  Nektar
 
namespace  Nektar::UnitTests
 

Macros

#define NEKTAR_TEST_GLOBAL_CONFIGURATION(args)
 

Enumerations

enum class  Nektar::UnitTests::TestArgs { Nektar::UnitTests::None , Nektar::UnitTests::Exec , Nektar::UnitTests::ExecAndImpl }
 The arguments a fixture's tests require, passed to the binary after "--". More...
 

Macro Definition Documentation

◆ NEKTAR_TEST_GLOBAL_CONFIGURATION

#define NEKTAR_TEST_GLOBAL_CONFIGURATION (   args)
Value:

Registers the global fixture with Boost.Test, and names it GlobalConfiguration for the enclosing fixture header. Invoke it once, at file scope, passing the Nektar::UnitTests::TestArgs the tests require.

Under BOOST_TEST_NO_MAIN the fixture cannot be registered, so the entry point is defined here instead and constructs it directly.

Definition at line 227 of file TestGlobalConfiguration.hpp.