Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.22.27.192
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : symbol_database_test.pyo
�
Du�ac@s�dZyddlZWnek
r5ddlZnXddlmZddlmZddlmZddlmZdej	fd��YZ
ed	kr�ej�ndS(
s*Tests for google.protobuf.symbol_database.i����N(tunittest_pb2(t
descriptor(tdescriptor_pool(tsymbol_databasetSymbolDatabaseTestcBsYeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	cCs�tjr$tjdtj��}ntj�}|jtj�|j	tj
�|j	tj
j�|j	tj
j�|j	tj
j
�|jtjj�|jtj
jj�|jtj�|S(Ntpool(Rt_USE_C_DESCRIPTORSRtSymbolDatabaseRtDefaulttRegisterFileDescriptorRt
DESCRIPTORtRegisterMessagetTestAllTypest
NestedMessaget
OptionalGroupt
RepeatedGrouptRegisterEnumDescriptortForeignEnumt
NestedEnumtRegisterServiceDescriptort_TESTSERVICE(tselftdb((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyt	_Database/s	cCs5|j�jtjj�}|j|tjk�dS(N(RtGetPrototypeRRR
t
assertTrue(Rtinstance((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyttestGetPrototypeAscCs6|j�jdg�}|jtj|dk�dS(Nsgoogle/protobuf/unittest.protosprotobuf_unittest.TestAllTypes(RtGetMessagesRRR(Rtmessages((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyttestGetMessagesFs
cCs�|jtj|j�jd��|jtjj|j�jd��|jtjj|j�jd��|jtjj|j�jd��dS(Nsprotobuf_unittest.TestAllTypess,protobuf_unittest.TestAllTypes.NestedMessages,protobuf_unittest.TestAllTypes.OptionalGroups,protobuf_unittest.TestAllTypes.RepeatedGroup(tassertEqualRRRt	GetSymbolR
RR(R((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyt
testGetSymbolMs


cCsN|jd|j�jjd�j�|jd|j�jjd�j�dS(Nsprotobuf_unittest.ForeignEnums)protobuf_unittest.TestAllTypes.NestedEnum(RRRtFindEnumTypeByNamet	full_name(R((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyt	testEnums[s
cCsN|jd|j�jjd�j�|jd|j�jjd�j�dS(Nsprotobuf_unittest.TestAllTypess,protobuf_unittest.TestAllTypes.NestedMessage(RRRtFindMessageTypeByNameR#(R((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyttestFindMessageTypeByNamefs
cCs)|jd|j�jjd�j�dS(Nsprotobuf_unittest.TestService(RRRtFindServiceByNameR#(R((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyttestFindServiceByNamepscCsN|jd|j�jjd�j�|jd|j�jjd�j�dS(Nsgoogle/protobuf/unittest.protos)protobuf_unittest.TestAllTypes.NestedEnumsprotobuf_unittest.TestAllTypes(RRRtFindFileContainingSymboltname(R((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyttestFindFileContainingSymbolvs
cCs)|jd|j�jjd�j�dS(Nsgoogle/protobuf/unittest.proto(RRRtFindFileByNameR*(R((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyttestFindFileByName�s(t__name__t
__module__RRRR!R$R&R(R+R-(((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyR-s						
		t__main__(
t__doc__t	unittest2tunittesttImportErrortgoogle.protobufRRRRtTestCaseRR.tmain(((sQ/usr/lib/python2.7/site-packages/google/protobuf/internal/symbol_database_test.pyt<module> s
[
© 2025 GrazzMean-Shell