QUDA  v1.1.0
A library for QCD on GPUs
Namespaces | Macros | Functions
gtest-param-test.h File Reference
#include <utility>
#include "gtest/internal/gtest-internal.h"
#include "gtest/internal/gtest-param-util.h"
#include "gtest/internal/gtest-port.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 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 ::testing::internal::IteratorTraits< 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_EXPAND_

#define GTEST_EXPAND_ (   arg)    arg

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

◆ GTEST_GET_FIRST_

#define GTEST_GET_FIRST_ (   first,
  ... 
)    first

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

◆ GTEST_GET_SECOND_

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

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

◆ INSTANTIATE_TEST_CASE_P

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

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

◆ INSTANTIATE_TEST_SUITE_P

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

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

◆ 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)() {} \
virtual void TestBody(); \
\
private: \
static int AddToRegistry() { \
.GetTestSuitePatternHolder<test_suite_name>( \
#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)>()); \
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)
#define GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)

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