PHP Class ProtobufTest\Binary\SizeCalculatorTest

Inheritance: extends ProtobufTest\TestCase
Afficher le fichier Open project: protobuf-php/protobuf

Protected Properties

Свойство Type Description
$calculator Protobuf\Binary\SizeCalculator
$writer Protobuf\Binary\StreamWriter

Méthodes publiques

Méthode Description
providerBool ( )
providerByteStream ( )
providerDouble ( )
providerFixed32 ( )
providerFixed64 ( )
providerFloat ( )
providerSFixed32 ( )
providerSFixed64 ( )
providerString ( )
providerZigZag32 ( )
providerZigZag64 ( )
testComputeBoolSize ( $value )
testComputeByteStreamSize ( $value )
testComputeDoubleSize ( $value )
testComputeFixed32Size ( $value )
testComputeFixed64Size ( $value )
testComputeFloatSize ( $value )
testComputeSFixed32Size ( $value )
testComputeSFixed64Size ( $value )
testComputeStringSize ( $value )
testComputeVarintSize ( $value )
testComputeZigZag32Size ( $value )
testComputeZigZag64Size ( $value )
varintProvider ( )

Méthodes protégées

Méthode Description
setUp ( )

Method Details

providerBool() public méthode

public providerBool ( )

providerByteStream() public méthode

public providerByteStream ( )

providerDouble() public méthode

public providerDouble ( )

providerFixed32() public méthode

public providerFixed32 ( )

providerFixed64() public méthode

public providerFixed64 ( )

providerFloat() public méthode

public providerFloat ( )

providerSFixed32() public méthode

public providerSFixed32 ( )

providerSFixed64() public méthode

public providerSFixed64 ( )

providerString() public méthode

public providerString ( )

providerZigZag32() public méthode

public providerZigZag32 ( )

providerZigZag64() public méthode

public providerZigZag64 ( )

setUp() protected méthode

protected setUp ( )

testComputeBoolSize() public méthode

public testComputeBoolSize ( $value )

testComputeByteStreamSize() public méthode

public testComputeByteStreamSize ( $value )

testComputeDoubleSize() public méthode

public testComputeDoubleSize ( $value )

testComputeFixed32Size() public méthode

public testComputeFixed32Size ( $value )

testComputeFixed64Size() public méthode

public testComputeFixed64Size ( $value )

testComputeFloatSize() public méthode

public testComputeFloatSize ( $value )

testComputeSFixed32Size() public méthode

public testComputeSFixed32Size ( $value )

testComputeSFixed64Size() public méthode

public testComputeSFixed64Size ( $value )

testComputeStringSize() public méthode

public testComputeStringSize ( $value )

testComputeVarintSize() public méthode

public testComputeVarintSize ( $value )

testComputeZigZag32Size() public méthode

public testComputeZigZag32Size ( $value )

testComputeZigZag64Size() public méthode

public testComputeZigZag64Size ( $value )

varintProvider() public méthode

public varintProvider ( )

Property Details

$calculator protected_oe property

protected SizeCalculator,Protobuf\Binary $calculator
Résultat Protobuf\Binary\SizeCalculator

$writer protected_oe property

protected StreamWriter,Protobuf\Binary $writer
Résultat Protobuf\Binary\StreamWriter