Lines Matching refs:SetArgPointee
66 using testing::SetArgPointee;
783 // Tests that SetArgPointee<N>(v) sets the variable pointed to by
787 Action<MyFunction> a = SetArgPointee<1>(2);
795 a = SetArgPointee<2>('a');
804 // Tests that SetArgPointee<N>() accepts a string literal.
808 Action<MyFunction> a = SetArgPointee<0>("hi");
815 a = SetArgPointee<1>("world");
824 Action<MyFunction> a = SetArgPointee<0>(L"world");
832 Action<MyStringFunction> a2 = SetArgPointee<0>(L"world");
841 // Tests that SetArgPointee<N>() accepts a char pointer.
845 Action<MyFunction> a = SetArgPointee<1>(hi);
854 a = SetArgPointee<2>(world);
864 Action<MyFunction> a = SetArgPointee<1>(hi);
874 Action<MyStringFunction> a2 = SetArgPointee<1>(world);
883 // Tests that SetArgPointee<N>(proto_buffer) sets the v1 protobuf
891 Action<void(bool, TestMessage*)> a = SetArgPointee<1>(*msg);
892 // SetArgPointee<N>(proto_buffer) makes a copy of proto_buffer
904 // Tests that SetArgPointee<N>(proto_buffer) sets the
913 Action<void(bool, ::ProtocolMessage*)> a = SetArgPointee<1>(*msg);
914 // SetArgPointee<N>(proto_buffer) makes a copy of proto_buffer
927 // Tests that SetArgPointee<N>(proto2_buffer) sets the v2
938 Action<void(bool, FooMessage*)> a = SetArgPointee<1>(*msg);
939 // SetArgPointee<N>(proto2_buffer) makes a copy of
952 // Tests that SetArgPointee<N>(proto2_buffer) sets the
963 Action<void(bool, ::proto2::Message*)> a = SetArgPointee<1>(*msg);
964 // SetArgPointee<N>(proto2_buffer) makes a copy of