QUDA  v1.1.0
A library for QCD on GPUs
Namespaces | Classes | Typedefs | Functions | Variables
testing Namespace Reference

Namespaces

 internal
 
 internal2
 

Classes

class  Message
 
class  Test
 
class  TestProperty
 
class  TestResult
 
class  TestInfo
 
class  TestSuite
 
class  Environment
 
class  TestEventListener
 
class  EmptyTestEventListener
 
class  TestEventListeners
 
class  UnitTest
 
class  WithParamInterface
 
class  TestWithParam
 
class  ScopedTrace
 
struct  TestParamInfo
 
struct  PrintToStringParamName
 

Typedefs

typedef internal::TimeInMillis TimeInMillis
 

Functions

 GTEST_DECLARE_string_ (death_test_style)
 
std::ostream & operator<< (std::ostream &os, const Message &sb)
 
template<typename T , typename IncrementT >
internal::ParamGenerator< T > Range (T start, T end, IncrementT step)
 
template<typename T >
internal::ParamGenerator< T > Range (T start, T end)
 
template<typename ForwardIterator >
internal::ParamGenerator< typename ::testing::internal::IteratorTraits< ForwardIterator >::value_type > ValuesIn (ForwardIterator begin, ForwardIterator end)
 
template<typename T , size_t N>
internal::ParamGenerator< T > ValuesIn (const T(&array)[N])
 
template<class Container >
internal::ParamGenerator< typename Container::value_type > ValuesIn (const Container &container)
 
template<typename... T>
internal::ValueArray< T... > Values (T... v)
 
internal::ParamGenerator< bool > Bool ()
 
template<typename... Generator>
internal::CartesianProductHolder< Generator... > Combine (const Generator &... g)
 
template<typename T >
::std::string PrintToString (const T &value)
 
EnvironmentAddGlobalTestEnvironment (Environment *env)
 
GTEST_API_ void InitGoogleTest (int *argc, char **argv)
 
GTEST_API_ void InitGoogleTest (int *argc, wchar_t **argv)
 
GTEST_API_ void InitGoogleTest ()
 
GTEST_API_ AssertionResult IsSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack)
 
GTEST_API_ AssertionResult IsSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack)
 
GTEST_API_ AssertionResult IsNotSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack)
 
GTEST_API_ AssertionResult IsNotSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack)
 
GTEST_API_ AssertionResult IsSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack)
 
GTEST_API_ AssertionResult IsNotSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack)
 
GTEST_API_ AssertionResult FloatLE (const char *expr1, const char *expr2, float val1, float val2)
 
GTEST_API_ AssertionResult DoubleLE (const char *expr1, const char *expr2, double val1, double val2)
 
template<typename T1 , typename T2 >
bool StaticAssertTypeEq ()
 
GTEST_API_ std::string TempDir ()
 
template<int &... ExplicitParameterBarrier, typename Factory >
TestInfoRegisterTest (const char *test_suite_name, const char *test_name, const char *type_param, const char *value_param, const char *file, int line, Factory factory)
 
template<typename Pred , typename T1 >
AssertionResult AssertPred1Helper (const char *pred_text, const char *e1, Pred pred, const T1 &v1)
 
template<typename Pred , typename T1 , typename T2 >
AssertionResult AssertPred2Helper (const char *pred_text, const char *e1, const char *e2, Pred pred, const T1 &v1, const T2 &v2)
 
template<typename Pred , typename T1 , typename T2 , typename T3 >
AssertionResult AssertPred3Helper (const char *pred_text, const char *e1, const char *e2, const char *e3, Pred pred, const T1 &v1, const T2 &v2, const T3 &v3)
 
template<typename Pred , typename T1 , typename T2 , typename T3 , typename T4 >
AssertionResult AssertPred4Helper (const char *pred_text, const char *e1, const char *e2, const char *e3, const char *e4, Pred pred, const T1 &v1, const T2 &v2, const T3 &v3, const T4 &v4)
 
template<typename Pred , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
AssertionResult AssertPred5Helper (const char *pred_text, const char *e1, const char *e2, const char *e3, const char *e4, const char *e5, Pred pred, const T1 &v1, const T2 &v2, const T3 &v3, const T4 &v4, const T5 &v5)
 

Variables

class GTEST_API_ testing::ScopedTrace GTEST_ATTRIBUTE_UNUSED_
 

Typedef Documentation

◆ TimeInMillis

Definition at line 530 of file gtest.h.

Function Documentation

◆ AddGlobalTestEnvironment()

Environment* testing::AddGlobalTestEnvironment ( Environment env)
inline

Definition at line 1470 of file gtest.h.

◆ AssertPred1Helper()

template<typename Pred , typename T1 >
AssertionResult testing::AssertPred1Helper ( const char *  pred_text,
const char *  e1,
Pred  pred,
const T1 &  v1 
)

Definition at line 87 of file gtest_pred_impl.h.

◆ AssertPred2Helper()

template<typename Pred , typename T1 , typename T2 >
AssertionResult testing::AssertPred2Helper ( const char *  pred_text,
const char *  e1,
const char *  e2,
Pred  pred,
const T1 &  v1,
const T2 &  v2 
)

Definition at line 130 of file gtest_pred_impl.h.

◆ AssertPred3Helper()

template<typename Pred , typename T1 , typename T2 , typename T3 >
AssertionResult testing::AssertPred3Helper ( const char *  pred_text,
const char *  e1,
const char *  e2,
const char *  e3,
Pred  pred,
const T1 &  v1,
const T2 &  v2,
const T3 &  v3 
)

Definition at line 180 of file gtest_pred_impl.h.

◆ AssertPred4Helper()

template<typename Pred , typename T1 , typename T2 , typename T3 , typename T4 >
AssertionResult testing::AssertPred4Helper ( const char *  pred_text,
const char *  e1,
const char *  e2,
const char *  e3,
const char *  e4,
Pred  pred,
const T1 &  v1,
const T2 &  v2,
const T3 &  v3,
const T4 &  v4 
)

Definition at line 236 of file gtest_pred_impl.h.

◆ AssertPred5Helper()

template<typename Pred , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
AssertionResult testing::AssertPred5Helper ( const char *  pred_text,
const char *  e1,
const char *  e2,
const char *  e3,
const char *  e4,
const char *  e5,
Pred  pred,
const T1 &  v1,
const T2 &  v2,
const T3 &  v3,
const T4 &  v4,
const T5 &  v5 
)

Definition at line 298 of file gtest_pred_impl.h.

◆ Bool()

internal::ParamGenerator<bool> testing::Bool ( )
inline

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

◆ Combine()

template<typename... Generator>
internal::CartesianProductHolder<Generator...> testing::Combine ( const Generator &...  g)

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

◆ DoubleLE()

GTEST_API_ AssertionResult testing::DoubleLE ( const char *  expr1,
const char *  expr2,
double  val1,
double  val2 
)

◆ FloatLE()

GTEST_API_ AssertionResult testing::FloatLE ( const char *  expr1,
const char *  expr2,
float  val1,
float  val2 
)

◆ GTEST_DECLARE_string_()

testing::GTEST_DECLARE_string_ ( death_test_style  )

◆ InitGoogleTest() [1/3]

GTEST_API_ void testing::InitGoogleTest ( )

◆ InitGoogleTest() [2/3]

GTEST_API_ void testing::InitGoogleTest ( int *  argc,
char **  argv 
)

◆ InitGoogleTest() [3/3]

GTEST_API_ void testing::InitGoogleTest ( int *  argc,
wchar_t **  argv 
)

◆ IsNotSubstring() [1/3]

GTEST_API_ AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const ::std::string &  needle,
const ::std::string &  haystack 
)

◆ IsNotSubstring() [2/3]

GTEST_API_ AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const char *  needle,
const char *  haystack 
)

◆ IsNotSubstring() [3/3]

GTEST_API_ AssertionResult testing::IsNotSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const wchar_t *  needle,
const wchar_t *  haystack 
)

◆ IsSubstring() [1/3]

GTEST_API_ AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const ::std::string &  needle,
const ::std::string &  haystack 
)

◆ IsSubstring() [2/3]

GTEST_API_ AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const char *  needle,
const char *  haystack 
)

◆ IsSubstring() [3/3]

GTEST_API_ AssertionResult testing::IsSubstring ( const char *  needle_expr,
const char *  haystack_expr,
const wchar_t *  needle,
const wchar_t *  haystack 
)

◆ operator<<()

std::ostream& testing::operator<< ( std::ostream &  os,
const Message sb 
)
inline

Definition at line 204 of file gtest-message.h.

◆ PrintToString()

template<typename T >
::std::string testing::PrintToString ( const T &  value)

Definition at line 938 of file gtest-printers.h.

◆ Range() [1/2]

template<typename T >
internal::ParamGenerator<T> testing::Range ( start,
end 
)

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

◆ Range() [2/2]

template<typename T , typename IncrementT >
internal::ParamGenerator<T> testing::Range ( start,
end,
IncrementT  step 
)

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

◆ RegisterTest()

template<int &... ExplicitParameterBarrier, typename Factory >
TestInfo* testing::RegisterTest ( const char *  test_suite_name,
const char *  test_name,
const char *  type_param,
const char *  value_param,
const char *  file,
int  line,
Factory  factory 
)

Definition at line 2434 of file gtest.h.

◆ StaticAssertTypeEq()

template<typename T1 , typename T2 >
bool testing::StaticAssertTypeEq ( )

Definition at line 2297 of file gtest.h.

◆ TempDir()

GTEST_API_ std::string testing::TempDir ( )

◆ Values()

template<typename... T>
internal::ValueArray<T...> testing::Values ( T...  v)

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

◆ ValuesIn() [1/3]

template<class Container >
internal::ParamGenerator< typename Container::value_type > testing::ValuesIn ( const Container &  container)

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

◆ ValuesIn() [2/3]

template<typename T , size_t N>
internal::ParamGenerator<T> testing::ValuesIn ( const T(&)  array[N])

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

◆ ValuesIn() [3/3]

template<typename ForwardIterator >
internal::ParamGenerator< typename ::testing::internal::IteratorTraits<ForwardIterator>::value_type> testing::ValuesIn ( ForwardIterator  begin,
ForwardIterator  end 
)

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

Variable Documentation

◆ GTEST_ATTRIBUTE_UNUSED_

class GTEST_API_ testing::ScopedTrace testing::GTEST_ATTRIBUTE_UNUSED_