Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py299 def TestCompositeHasBits(composite_field_name, scalar_field_name): argument
304 composite_field = getattr(proto, composite_field_name)
310 self.assertTrue(not proto.HasField(composite_field_name))
322 self.assertTrue(proto.HasField(composite_field_name))
325 proto.ClearField(composite_field_name)
328 composite_field = getattr(proto, composite_field_name)
330 self.assertTrue(not proto.HasField(composite_field_name))
337 self.assertTrue(not proto.HasField(composite_field_name))