Static Public Member Functions | List of all members
testing::DefaultSetupProviderClass< Prov > Struct Template Reference

A default implementation for provider setup class. More...

#include <ProviderTestHelpers.h>

Inheritance diagram for testing::DefaultSetupProviderClass< Prov >:
testing::ProviderSetupClass< Prov > testing::ProviderSetupClass< Prov >

Static Public Member Functions

template<typename... Args>
static std::unique_ptr< Prov > setup (Args &&...args)
 Instantiates a new provider with specified arguments for constructor. More...
 
template<typename... Args>
static std::unique_ptr< Prov > setup (Args &&...args)
 Instantiates a new provider with specified arguments for constructor. More...
 

Detailed Description

template<typename Prov>
struct testing::DefaultSetupProviderClass< Prov >

A default implementation for provider setup class.

Definition at line 42 of file ProviderTestHelpers.h.

Member Function Documentation

template<typename Prov >
template<typename... Args>
static std::unique_ptr<Prov> testing::DefaultSetupProviderClass< Prov >::setup ( Args &&...  args)
inlinestatic

Instantiates a new provider with specified arguments for constructor.

Definition at line 46 of file ProviderTestHelpers.h.

47  { return std::make_unique<Prov>(std::forward<Args>(args)...); }
static QCString args
Definition: declinfo.cpp:674
template<typename Prov >
template<typename... Args>
static std::unique_ptr<Prov> testing::DefaultSetupProviderClass< Prov >::setup ( Args &&...  args)
inlinestatic

Instantiates a new provider with specified arguments for constructor.

Definition at line 47 of file ProviderTestHelpers.h.

48  { return std::make_unique<Prov>(std::forward<Args>(args)...); }
static QCString args
Definition: declinfo.cpp:674

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