Searched refs:GetElementOr (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest-internal-inl.h | 302 inline E GetElementOr(const std::vector<E>& v, int i, E default_value) { in GetElementOr() function 581 const int index = GetElementOr(test_case_indices_, i, -1); in GetTestCase() 588 const int index = GetElementOr(test_case_indices_, i, -1); in GetMutableTestCase()
|
D | gtest.cc | 146 using internal::GetElementOr; 2384 const int index = GetElementOr(test_indices_, i, -1); in GetTestInfo() 2391 const int index = GetElementOr(test_indices_, i, -1); in GetMutableTestInfo()
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest_unittest.cc | 254 using testing::internal::GetElementOr; 813 TEST(ContainerUtilityTest, GetElementOr) { in TEST() argument 815 EXPECT_EQ('x', GetElementOr(a, 0, 'x')); in TEST() 819 EXPECT_EQ('a', GetElementOr(a, 0, 'x')); in TEST() 820 EXPECT_EQ('b', GetElementOr(a, 1, 'x')); in TEST() 821 EXPECT_EQ('x', GetElementOr(a, -2, 'x')); in TEST() 822 EXPECT_EQ('x', GetElementOr(a, 2, 'x')); in TEST()
|