/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest-typed-test_test.cc | 122 EXPECT_EQ(static_cast<TypeParam>(2), this->value_); in TYPED_TEST() 157 TYPED_TEST(NumericTest, DefaultIsZero) { EXPECT_EQ(0, TypeParam()); } in TYPED_TEST() 181 if (std::is_same<TypeParam, char>::value) { in TYPED_TEST() 187 if (std::is_same<TypeParam, int>::value) { in TYPED_TEST() 297 if (std::is_same<TypeParam, char>::value) { in TYPED_TEST_P() 303 if (std::is_same<TypeParam, int>::value) { in TYPED_TEST_P() 391 TYPED_TEST_P(NumericTest, DefaultIsZero) { EXPECT_EQ(0, TypeParam()); } in TYPED_TEST_P() 394 EXPECT_LT(TypeParam(0), TypeParam(1)); in TYPED_TEST_P()
|
H A D | googletest-port-test.cc | 415 const RE empty(TypeParam("")); in TYPED_TEST() 418 const RE simple(TypeParam("hello")); in TYPED_TEST() 421 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST() 428 { const RE invalid(TypeParam("?")); }, in TYPED_TEST() 434 const RE empty(TypeParam("")); in TYPED_TEST() 435 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST() 436 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST() 438 const RE re(TypeParam("a.*z")); in TYPED_TEST() 439 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST() 440 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST() [all …]
|
H A D | googletest-output-test-golden-lin.txt | 22 [0;32m[----------] [m1 test from ATypedDeathTest/0, where TypeParam = int 25 [0;32m[----------] [m1 test from ATypedDeathTest/1, where TypeParam = double 28 [0;32m[----------] [m1 test from My/ATypeParamDeathTest/0, where TypeParam = int 31 [0;32m[----------] [m1 test from My/ATypeParamDeathTest/1, where TypeParam = double 604 [0;32m[----------] [m2 tests from TypedTest/0, where TypeParam = int 611 TypeParam() 616 [0;31m[ FAILED ] [mTypedTest/0.Failure, where TypeParam = int 617 [0;32m[----------] [m2 tests from TypedTestWithNames/char0, where TypeParam = char 625 [0;31m[ FAILED ] [mTypedTestWithNames/char0.Failure, where TypeParam = char 626 [0;32m[----------] [m2 tests from TypedTestWithNames/int1, where TypeParam = int [all …]
|
H A D | gtest-typed-test_test.h | 47 TYPED_TEST_P(ContainerTest, CanBeDefaultConstructed) { TypeParam container; } in TYPED_TEST_P() 50 TypeParam container; in TYPED_TEST_P()
|
H A D | googletest-output-test_.cc | 704 TYPED_TEST(TypedTest, Success) { EXPECT_EQ(0, TypeParam()); } in TYPED_TEST() 707 EXPECT_EQ(1, TypeParam()) << "Expected failure"; in TYPED_TEST() 737 TYPED_TEST_P(TypedTestP, Success) { EXPECT_EQ(0U, TypeParam()); } in TYPED_TEST_P() 740 EXPECT_EQ(1U, TypeParam()) << "Expected failure"; in TYPED_TEST_P() 768 TypeParam instantiate; in TYPED_TEST_P()
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-function-mocker_test.cc | 518 { TypeParam b; } in TYPED_TEST() 521 TypeParam b; in TYPED_TEST() 526 TypeParam b; in TYPED_TEST() 593 TypeParam mock; in TYPED_TEST() 613 TypeParam mock; in TYPED_TEST() 682 TypeParam mock; in TYPED_TEST() 745 TypeParam mock; in TYPED_TEST() 868 using Argument = TypeParam; in TYPED_TEST() 870 EXPECT_TRUE(IsMockFunctionTemplateArgumentDeducedTo<TypeParam>(foo)); in TYPED_TEST() 875 using Argument = std::function<TypeParam>; in TYPED_TEST() [all …]
|
H A D | gmock-matchers-misc_test.cc | 226 TypeParam my_set(vals, vals + 6); in TYPED_TEST() 227 const Matcher<TypeParam> m = ContainerEq(my_set); in TYPED_TEST() 236 TypeParam my_set(vals, vals + 6); in TYPED_TEST() 237 TypeParam test_set(test_vals, test_vals + 4); in TYPED_TEST() 238 const Matcher<TypeParam> m = ContainerEq(my_set); in TYPED_TEST() 248 TypeParam my_set(vals, vals + 6); in TYPED_TEST() 249 TypeParam test_set(test_vals, test_vals + 6); in TYPED_TEST() 250 const Matcher<const TypeParam&> m = ContainerEq(my_set); in TYPED_TEST() 259 TypeParam my_set(vals, vals + 6); in TYPED_TEST() 260 TypeParam test_set(test_vals, test_vals + 5); in TYPED_TEST() [all …]
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-typed-test.h | 72 TypeParam n = this->value_; 139 TypeParam n = 0; 205 typedef gtest_TypeParam_ TypeParam; \ 277 typedef gtest_TypeParam_ TypeParam; \
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | HLSLExternalSemaSource.cpp | 433 auto *TypeParam = TemplateTypeParmDecl::Create( in defineHLSLVectorAlias() local 436 TypeParam->setDefaultArgument( in defineHLSLVectorAlias() 440 TemplateParams.emplace_back(TypeParam); in defineHLSLVectorAlias() 461 AST.getTemplateTypeParmType(0, 0, false, TypeParam), in defineHLSLVectorAlias()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
H A D | LVReader.h | 119 LV_OBJECT_ALLOCATOR(TypeParam) 225 LV_CREATE_OBJECT(TypeParam) in LV_CREATE_OBJECT()
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | testing.md | 204 Within the test body, the special name `TypeParam` refers to the type parameter, 209 // Inside a test, refer to the special name TypeParam to get the type 212 TypeParam n = this->value_; 255 Within the test body, the special name `TypeParam` refers to the type parameter,
|
/freebsd/contrib/googletest/docs/ |
H A D | faq.md | 107 you can write `new TypeParam`), or if their factory functions have the same 108 form (e.g. `CreateInstance<TypeParam>()`).
|
H A D | advanced.md | 1319 // Inside a test, refer to the special name TypeParam to get the type 1322 TypeParam n = this->value_; 1378 // Inside a test, refer to TypeParam to get the type parameter. 1379 TypeParam n = 0;
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 3523 Type *TypeParam; in parseTargetExtType() local 3524 if (parseType(TypeParam, /*AllowVoid=*/true)) in parseTargetExtType() 3526 TypeParams.push_back(TypeParam); in parseTargetExtType()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 5856 if (ObjCTypeParamType *TypeParam = in getObjCTypeParamType() local 5858 return QualType(TypeParam, 0); in getObjCTypeParamType()
|