| 145 | }; |
| 146 | |
| 147 | TEST_F(FieldTest, supportsInt32) { |
| 148 | testField(0, &Protobuf::Field::setInt32, &Protobuf::Field::getInt32, &WireFormat::WriteInt32); |
| 149 | testField(42, &Protobuf::Field::setInt32, &Protobuf::Field::getInt32, &WireFormat::WriteInt32); |
| 150 | testField(-42, &Protobuf::Field::setInt32, &Protobuf::Field::getInt32, &WireFormat::WriteInt32); |
| 151 | } |
| 152 | |
| 153 | TEST_F(FieldTest, supportsSInt32) { |
| 154 | testField(0, &Protobuf::Field::setSInt32, &Protobuf::Field::getSInt32, &WireFormat::WriteSInt32); |
nothing calls this directly
no test coverage detected