Searched refs:GetMutableElement (Results 1 - 5 of 5) sorted by relevance

/external/protobuf/gtest/test/
H A Dgtest_unittest.cc821 // Tests the GetMutableElement accessor.
822 TEST(VectorDeathTest, GetMutableElement) {
828 EXPECT_EQ(0, a.GetMutableElement(0));
829 EXPECT_EQ(1, a.GetMutableElement(1));
830 EXPECT_EQ(2, a.GetMutableElement(2));
832 a.GetMutableElement(0) = 42;
833 EXPECT_EQ(42, a.GetMutableElement(0));
834 EXPECT_EQ(1, a.GetMutableElement(1));
835 EXPECT_EQ(2, a.GetMutableElement(2));
838 a.GetMutableElement(
[all...]
/external/open-vcdiff/gtest/src/
H A Dgtest-internal-inl.h388 E& GetMutableElement(int i) { function in class:testing::internal::Vector
H A Dgtest.cc2471 test_indices_->GetMutableElement(i) = i;
4293 test_case_indices_.GetMutableElement(i) = i;
/external/protobuf/gtest/src/
H A Dgtest-internal-inl.h384 E& GetMutableElement(int i) { function in class:testing::internal::Vector
H A Dgtest.cc2441 test_indices_->GetMutableElement(i) = i;
4262 test_case_indices_.GetMutableElement(i) = i;

Completed in 1117 milliseconds