Home
last modified time | relevance | path

Searched refs:TypeParam (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgtest-typed-test_test.cc128 EXPECT_EQ(static_cast<TypeParam>(2), this->value_); in TYPED_TEST()
167 EXPECT_EQ(0, TypeParam()); in TYPED_TEST()
192 if (testing::internal::IsSame<TypeParam, char>::value) { in TYPED_TEST()
198 if (testing::internal::IsSame<TypeParam, int>::value) { in TYPED_TEST()
314 if (testing::internal::IsSame<TypeParam, char>::value) { in TYPED_TEST_P()
320 if (testing::internal::IsSame<TypeParam, int>::value) { in TYPED_TEST_P()
412 EXPECT_EQ(0, TypeParam()); in TYPED_TEST_P()
416 EXPECT_LT(TypeParam(0), TypeParam(1)); in TYPED_TEST_P()
H A Dgoogletest-port-test.cc407 const RE empty(TypeParam("")); in TYPED_TEST()
410 const RE simple(TypeParam("hello")); in TYPED_TEST()
413 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
420 const RE invalid(TypeParam("?")); in TYPED_TEST()
426 const RE empty(TypeParam("")); in TYPED_TEST()
427 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
430 const RE re(TypeParam("a.*z")); in TYPED_TEST()
431 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
432 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
439 const RE empty(TypeParam("")); in TYPED_TEST()
[all …]
H A Dgoogletest-output-test-golden-lin.txt22 [----------] 1 test from ATypedDeathTest/0, where TypeParam = int
25 [----------] 1 test from ATypedDeathTest/1, where TypeParam = double
28 [----------] 1 test from My/ATypeParamDeathTest/0, where TypeParam = int
596 [----------] 2 tests from TypedTest/0, where TypeParam = int
603 TypeParam()
608 [ FAILED ] TypedTest/0.Failure, where TypeParam = int
635 TypeParam()
649 TypeParam()
663 TypeParam()
677 TypeParam()
[all …]
H A Dgtest-typed-test_test.h52 TypeParam container; in TYPED_TEST_P()
56 TypeParam container; in TYPED_TEST_P()
H A Dgoogletest-output-test_.cc801 EXPECT_EQ(0, TypeParam()); in TYPED_TEST()
805 EXPECT_EQ(1, TypeParam()) << "Expected failure"; in TYPED_TEST()
842 EXPECT_EQ(0U, TypeParam()); in TYPED_TEST_P()
846 EXPECT_EQ(1U, TypeParam()) << "Expected failure"; in TYPED_TEST_P()
/freebsd-13.1/contrib/googletest/googletest/include/gtest/
H A Dgtest-typed-test.h71 TypeParam n = this->value_;
138 TypeParam n = 0;
206 typedef gtest_TypeParam_ TypeParam; \
268 typedef gtest_TypeParam_ TypeParam; \
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock-matchers_test.cc4917 TypeParam my_set(vals, vals + 6); in TYPED_TEST()
4918 const Matcher<TypeParam> m = ContainerEq(my_set); in TYPED_TEST()
4927 TypeParam my_set(vals, vals + 6); in TYPED_TEST()
4928 TypeParam test_set(test_vals, test_vals + 4); in TYPED_TEST()
4929 const Matcher<TypeParam> m = ContainerEq(my_set); in TYPED_TEST()
4939 TypeParam my_set(vals, vals + 6); in TYPED_TEST()
4940 TypeParam test_set(test_vals, test_vals + 6); in TYPED_TEST()
4950 TypeParam my_set(vals, vals + 6); in TYPED_TEST()
4951 TypeParam test_set(test_vals, test_vals + 5); in TYPED_TEST()
4963 TypeParam my_set(vals, vals + 6); in TYPED_TEST()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp847 for (ObjCTypeParamDecl *TypeParam : *TypeParams) { in checkPreObjCMessage()
848 if (TypeParam->getVariance() != ObjCTypeParamVariance::Invariant) in checkPreObjCMessage()
/freebsd-13.1/contrib/googletest/googletest/docs/
H A Dfaq.md103 you can write `new TypeParam`), or if their factory functions have the same
104 form (e.g. `CreateInstance<TypeParam>()`).
H A Dadvanced.md1554 // Inside a test, refer to the special name TypeParam to get the type
1557 TypeParam n = this->value_;
1612 // Inside a test, refer to TypeParam to get the type parameter.
1613 TypeParam n = 0;
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp5256 if (ObjCTypeParamType *TypeParam = in getObjCTypeParamType() local
5258 return QualType(TypeParam, 0); in getObjCTypeParamType()