Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
gtest-param-test.h File Reference
#include <iterator>
#include <utility>
#include "gtest/internal/gtest-internal.h"
#include "gtest/internal/gtest-param-util.h"
#include "gtest/internal/gtest-port.h"
Include dependency graph for gtest-param-test.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 testing
 

Macros

#define TEST_P(test_suite_name, test_name)
 
#define GTEST_EXPAND_(arg)   arg
 
#define GTEST_GET_FIRST_(first,...)   first
 
#define GTEST_GET_SECOND_(first, second,...)   second
 
#define INSTANTIATE_TEST_SUITE_P(prefix, test_suite_name,...)
 
#define GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(T)
 
#define INSTANTIATE_TEST_CASE_P
 

Functions

template<typename T , typename IncrementT >
internal::ParamGenerator< Ttesting::Range (T start, T end, IncrementT step)
 
template<typename T >
internal::ParamGenerator< Ttesting::Range (T start, T end)
 
template<typename ForwardIterator >
internal::ParamGenerator
< typename
std::iterator_traits
< ForwardIterator >
::value_type > 
testing::ValuesIn (ForwardIterator begin, ForwardIterator end)
 
template<typename T , size_t N>
internal::ParamGenerator< Ttesting::ValuesIn (const T(&array)[N])
 
template<class Container >
internal::ParamGenerator
< typename
Container::value_type > 
testing::ValuesIn (const Container &container)
 
template<typename... T>
internal::ValueArray< T...> testing::Values (T...v)
 
internal::ParamGenerator< bool > testing::Bool ()
 
template<typename... Generator>
internal::CartesianProductHolder
< Generator...> 
testing::Combine (const Generator &...g)
 

Macro Definition Documentation

#define TEST_P (   test_suite_name,
  test_name 
)
Value:
class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name) \
: public test_suite_name { \
public: \
GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() {} \
void TestBody() override; \
\
private: \
static int AddToRegistry() { \
.GetTestSuitePatternHolder<test_suite_name>( \
GTEST_STRINGIFY_(test_suite_name), \
::testing::internal::CodeLocation(__FILE__, __LINE__)) \
->AddTestPattern( \
GTEST_STRINGIFY_(test_suite_name), GTEST_STRINGIFY_(test_name), \
new ::testing::internal::TestMetaFactory<GTEST_TEST_CLASS_NAME_( \
test_suite_name, test_name)>(), \
::testing::internal::CodeLocation(__FILE__, __LINE__)); \
return 0; \
} \
static int gtest_registering_dummy_ GTEST_ATTRIBUTE_UNUSED_; \
test_name)); \
}; \
int GTEST_TEST_CLASS_NAME_(test_suite_name, \
test_name)::gtest_registering_dummy_ = \
GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::AddToRegistry(); \
void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()
#define GTEST_ATTRIBUTE_UNUSED_
Definition: gtest-port.h:665
#define GTEST_STRINGIFY_(...)
#define GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)
ParameterizedTestSuiteInfo< TestSuite > * GetTestSuitePatternHolder(const char *test_suite_name, CodeLocation code_location)
void
Definition: uninit.c:105
#define GTEST_DISALLOW_COPY_AND_ASSIGN_(type)
Definition: gtest-port.h:693
static UnitTest * GetInstance()
Definition: gtest.cc:4998
internal::ParameterizedTestSuiteRegistry & parameterized_test_registry() GTEST_LOCK_EXCLUDED_(mutex_)
Definition: gtest.cc:5356

Definition at line 414 of file gtest-param-test.h.

#define GTEST_EXPAND_ (   arg)    arg

Definition at line 457 of file gtest-param-test.h.

#define GTEST_GET_FIRST_ (   first,
  ... 
)    first

Definition at line 458 of file gtest-param-test.h.

#define GTEST_GET_SECOND_ (   first,
  second,
  ... 
)    second

Definition at line 459 of file gtest-param-test.h.

#define INSTANTIATE_TEST_SUITE_P (   prefix,
  test_suite_name,
  ... 
)

Definition at line 461 of file gtest-param-test.h.

#define GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST (   T)
Value:
namespace gtest_do_not_use_outside_namespace_scope {} \
static const ::testing::internal::MarkAsIgnored gtest_allow_ignore_##T( \
#define GTEST_STRINGIFY_(...)
#define T
Definition: Sacado_rad.hpp:553

Definition at line 497 of file gtest-param-test.h.

#define INSTANTIATE_TEST_CASE_P
Value:
static_assert(::testing::internal::InstantiateTestCase_P_IsDeprecated(), \
""); \
#define INSTANTIATE_TEST_SUITE_P(prefix, test_suite_name,...)

Definition at line 504 of file gtest-param-test.h.