GrPPI  1.0
Generic and Reusable Parallel Pattern Interface
Namespaces | Macros | Functions
cmake-build-release/googletest-src/googletest/include/gtest/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 cmake-build-release/googletest-src/googletest/include/gtest/gtest-param-test.h:

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< T > testing::Range (T start, T end, IncrementT step)
 
template<typename T >
internal::ParamGenerator< T > testing::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< T > testing::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

◆ GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST

#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_(...)
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/internal/gtest-internal.h:91

◆ GTEST_EXPAND_

#define GTEST_EXPAND_ (   arg)    arg

◆ GTEST_GET_FIRST_

#define GTEST_GET_FIRST_ (   first,
  ... 
)    first

◆ GTEST_GET_SECOND_

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

◆ INSTANTIATE_TEST_CASE_P

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

◆ INSTANTIATE_TEST_SUITE_P

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

◆ TEST_P

#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_; \
GTEST_DISALLOW_COPY_AND_ASSIGN_(GTEST_TEST_CLASS_NAME_(test_suite_name, \
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()
internal::ParameterizedTestSuiteRegistry & parameterized_test_registry() GTEST_LOCK_EXCLUDED_(mutex_)
static UnitTest * GetInstance()
ParameterizedTestSuiteInfo< TestSuite > * GetTestSuitePatternHolder(const char *test_suite_name, CodeLocation code_location)
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/internal/gtest-param-util.h:696
#define GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/internal/gtest-internal.h:1523
#define GTEST_ATTRIBUTE_UNUSED_
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/internal/gtest-port.h:665
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/internal/gtest-internal.h:492