Home
last modified time | relevance | path

Searched refs:GetMutableElement (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/gtest/test/
Dgtest_unittest.cc822 TEST(VectorDeathTest, GetMutableElement) { in TEST() argument
828 EXPECT_EQ(0, a.GetMutableElement(0)); in TEST()
829 EXPECT_EQ(1, a.GetMutableElement(1)); in TEST()
830 EXPECT_EQ(2, a.GetMutableElement(2)); in TEST()
832 a.GetMutableElement(0) = 42; in TEST()
833 EXPECT_EQ(42, a.GetMutableElement(0)); in TEST()
834 EXPECT_EQ(1, a.GetMutableElement(1)); in TEST()
835 EXPECT_EQ(2, a.GetMutableElement(2)); in TEST()
838 a.GetMutableElement(3), in TEST()
841 a.GetMutableElement(-1), in TEST()
/external/protobuf/gtest/src/
Dgtest-internal-inl.h384 E& GetMutableElement(int i) { in GetMutableElement() function
Dgtest.cc2441 test_indices_->GetMutableElement(i) = i; in UnshuffleTests()
4262 test_case_indices_.GetMutableElement(i) = i; in UnitTestImpl()