ó
SÉLjc @ s² d Z d Z y d d l Z Wn e k
r; d d l Z n Xd d l m Z d d l m Z d d l m Z d d l m
Z
d e j f d „ ƒ YZ e
d
k r® e j ƒ n d S( s. Tests for google.protobuf.descriptor_database.s" matthewtoia@google.com (Matt Toia)iÿÿÿÿN( t unittest_pb2( t descriptor_pb2( t factory_test2_pb2( t descriptor_databaset DescriptorDatabaseTestc B s e Z d „ Z RS( c C sœ t j ƒ } t j j t j j ƒ } | j | ƒ | j | | j
d ƒ ƒ | j | | j d ƒ ƒ | j | | j d ƒ ƒ | j | | j d ƒ ƒ | j | | j d ƒ ƒ | j | | j d ƒ ƒ | j | | j d ƒ ƒ | j | | j d ƒ ƒ | j | | j d ƒ ƒ | j | | j d
ƒ ƒ t j j t j j ƒ } | j | ƒ | j | | j d ƒ ƒ | j | | j d ƒ ƒ | j
t | j d
ƒ d S( Ns, google/protobuf/internal/factory_test2.protos/ google.protobuf.python.internal.Factory2MessagesE google.protobuf.python.internal.Factory2Message.NestedFactory2Messages, google.protobuf.python.internal.Factory2EnumsB google.protobuf.python.internal.Factory2Message.NestedFactory2EnumsD google.protobuf.python.internal.MessageWithNestedEnumOnly.NestedEnums: google.protobuf.python.internal.Factory2Message.list_fields> google.protobuf.python.internal.Factory2Enum.FACTORY_2_VALUE_0s- google.protobuf.python.internal.another_fields> google.protobuf.python.internal.Factory2Message.one_more_fields protobuf_unittest.TestServices) protobuf_unittest.TestAllTypes.none_fields protobuf_unittest.NoneMessage( R t DescriptorDatabaseR t FileDescriptorProtot
FromStringR t
DESCRIPTORt
serialized_pbt Addt assertEqualt FindFileByNamet FindFileContainingSymbolR t assertRaisest KeyError( t selft dbt file_desc_protot file_desc_proto2( ( sU /usr/lib/python2.7/site-packages/google/protobuf/internal/descriptor_database_test.pyt testAdd1 sD
( t __name__t
__module__R ( ( ( sU /usr/lib/python2.7/site-packages/google/protobuf/internal/descriptor_database_test.pyR / s t __main__( t __doc__t
__author__t unittest2t unittestt ImportErrort google.protobufR R t google.protobuf.internalR R t TestCaseR R t main( ( ( sU /usr/lib/python2.7/site-packages/google/protobuf/internal/descriptor_database_test.pyt