Home
last modified time | relevance | path

Searched refs:GetElementOr (Results 1 - 7 of 7) sorted by relevance

/third_party/googletest/googletest/src/
H A Dgtest-internal-inl.h293 inline E GetElementOr(const std::vector<E>& v, int i, E default_value) { in GetElementOr() function
590 const int index = GetElementOr(test_suite_indices_, i, -1); in GetTestSuite()
602 const int index = GetElementOr(test_suite_indices_, i, -1); in GetMutableSuiteCase()
H A Dgtest.cc160 using internal::GetElementOr;
2959 const int index = GetElementOr(test_indices_, i, -1);
2966 const int index = GetElementOr(test_indices_, i, -1);
/third_party/node/deps/googletest/src/
H A Dgtest-internal-inl.h294 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 Dgtest.cc168 using internal::GetElementOr;
2949 const int index = GetElementOr(test_indices_, i, -1);
2956 const int index = GetElementOr(test_indices_, i, -1);
/third_party/mesa3d/src/gtest/src/
H A Dgtest-internal-inl.h300 inline E GetElementOr(const std::vector<E>& v, int i, E default_value) { in GetElementOr() function
593 const int index = GetElementOr(test_suite_indices_, i, -1); in GetTestSuite()
605 const int index = GetElementOr(test_suite_indices_, i, -1); in GetMutableSuiteCase()
H A Dgtest.cc145 using internal::GetElementOr;
2776 const int index = GetElementOr(test_indices_, i, -1); in GetTestInfo()
2783 const int index = GetElementOr(test_indices_, i, -1); in GetMutableTestInfo()
/third_party/googletest/googletest/test/
H A Dgtest_unittest.cc230 using testing::internal::GetElementOr;
847 // Tests GetElementOr().
848 TEST(ContainerUtilityTest, GetElementOr) { in TEST()
850 EXPECT_EQ('x', GetElementOr(a, 0, 'x')); in TEST()
854 EXPECT_EQ('a', GetElementOr(a, 0, 'x')); in TEST()
855 EXPECT_EQ('b', GetElementOr(a, 1, 'x')); in TEST()
856 EXPECT_EQ('x', GetElementOr(a, -2, 'x')); in TEST()
857 EXPECT_EQ('x', GetElementOr(a, 2, 'x')); in TEST()

Completed in 39 milliseconds