Searched refs:GetElementOr (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/contrib/googletest/googletest/src/ |
| H A D | gtest-internal-inl.h | 294 inline E GetElementOr(const std::vector<E>& v, int i, E default_value) { in GetElementOr() function 591 const int index = GetElementOr(test_suite_indices_, i, -1); in GetTestSuite() 603 const int index = GetElementOr(test_suite_indices_, i, -1); in GetMutableSuiteCase()
|
| H A D | gtest.cc | 168 using internal::GetElementOr; 2949 const int index = GetElementOr(test_indices_, i, -1); in GetTestInfo() 2956 const int index = GetElementOr(test_indices_, i, -1); in GetMutableTestInfo()
|
| /freebsd-14.2/contrib/googletest/googletest/test/ |
| H A D | gtest_unittest.cc | 246 using testing::internal::GetElementOr; 870 TEST(ContainerUtilityTest, GetElementOr) { in TEST() argument 872 EXPECT_EQ('x', GetElementOr(a, 0, 'x')); in TEST() 876 EXPECT_EQ('a', GetElementOr(a, 0, 'x')); in TEST() 877 EXPECT_EQ('b', GetElementOr(a, 1, 'x')); in TEST() 878 EXPECT_EQ('x', GetElementOr(a, -2, 'x')); in TEST() 879 EXPECT_EQ('x', GetElementOr(a, 2, 'x')); in TEST()
|