�
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" [email protected] (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