crash.software
Projects
Pull Requests
Issues
Builds
protobuf-decoder
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
protobuf-decoder
Files
🤬
Sign In
d2fe6cc0
ROOT
/
Lib
/
google
/
protobuf
/
internal
/
descriptor_pool_test.py
Search
History
821 lines
|
ISO-8859-1
|
34 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
os
sys
unittest
unittest
unittest_import_pb2
unittest_import_public_pb2
unittest_pb2
descriptor_pb2
api_implementation
descriptor_pool_test1_pb2
descriptor_pool_test2_pb2
factory_test1_pb2
factory_test2_pb2
file_options_test_pb2
more_messages_pb2
descriptor
descriptor_database
descriptor_pool
message_factory
symbol_database
DescriptorPoolTest
(unittest.TestCase)
pool
factory_test1_fd
factory_test2_fd
setUp
(self)
testFindFileByName
(self)
testFindFileByNameFailure
(self)
testFindFileContainingSymbol
(self)
testFindFileContainingSymbolFailure
(self)
testFindMessageTypeByName
(self)
testFindMessageTypeByNameFailure
(self)
testFindEnumTypeByName
(self)
testFindEnumTypeByNameFailure
(self)
testFindFieldByName
(self)
testFindExtensionByName
(self)
testFindAllExtensions
(self)
testFindExtensionByNumber
(self)
testExtensionsAreNotFields
(self)
testUserDefinedDB
(self)
testAddSerializedFile
(self)
testComplexNesting
(self)
testEnumDefaultValue
(self)
testDefaultValueForCustomMessages
(self)
ProtoFile
(object)
name
package
messages
dependencies
public_dependencies
__init__
(self,name,package,messages,dependencies=None,public_dependencies=None)
CheckFile
(self,test,pool)
EnumType
(object)
values
__init__
(self,values)
CheckType
(self,test,msg_desc,name,file_desc)
MessageType
(object)
type_dict
field_list
is_extendable
extensions
__init__
(self,type_dict,field_list,is_extendable=False,extensions=None)
CheckType
(self,test,containing_type_desc,name,file_desc)
EnumField
(object)
number
type_name
default_value
__init__
(self,number,type_name,default_value)
CheckField
(self,test,msg_desc,name,index)
MessageField
(object)
number
type_name
__init__
(self,number,type_name)
CheckField
(self,test,msg_desc,name,index)
StringField
(object)
number
default_value
__init__
(self,number,default_value)
CheckField
(self,test,msg_desc,name,index)
ExtensionField
(object)
number
extended_type
__init__
(self,number,extended_type)
CheckField
(self,test,msg_desc,name,index)
AddDescriptorTest
(unittest.TestCase)
_TestMessage
(self,prefix)
testMessage
(self)
_TestEnum
(self,prefix)
testEnum
(self)
testFile
(self)
testEmptyDescriptorPool
(self)
testCustomDescriptorPool
(self)
testFileDescriptorOptionsWithCustomDescriptorPool
(self)
DefaultPoolTest
(unittest.TestCase)
testFindMethods
(self)
testAddFileDescriptor
(self)
TEST1_FILE
TEST2_FILE
All occurrences
Please wait...
Page is in error, reload to recover