Packagecom.adobe.mediacore.utils.scte35
Classpublic class SCTE35ByteArrayTest
InheritanceSCTE35ByteArrayTest Inheritance Object

Test class for SCTE 35 byte array wrapper.



Public Methods
 MethodDefined By
  
Check that we are not allowed to read 0 bits.
SCTE35ByteArrayTest
  
Check that we can not construct SCTE35ByteArray objects with empty byte arrays.
SCTE35ByteArrayTest
  
Check that we are not allowed to read 0 bytes.
SCTE35ByteArrayTest
  
Check that we can not read more than 64 bits.
SCTE35ByteArrayTest
  
Check that we can read at least 64 bits.
SCTE35ByteArrayTest
  
Check that we can not construct SCTE35ByteArray objects with null byte arrays.
SCTE35ByteArrayTest
  
Check that we can not read bits after EOF.
SCTE35ByteArrayTest
  
Check that we can read any number of bits from 1 to 8 across multiple bytes.
SCTE35ByteArrayTest
  
Check that we can read bytes from SCTE-35 array.
SCTE35ByteArrayTest
  
Check that we can not more bits than stored inside the byte array.
SCTE35ByteArrayTest
  
Check that we can not more bytes than stored inside the byte array.
SCTE35ByteArrayTest
Method Detail
testEmptyBitRead()method
public function testEmptyBitRead():void

Check that we are not allowed to read 0 bits.

testEmptyByteArray()method 
public function testEmptyByteArray():void

Check that we can not construct SCTE35ByteArray objects with empty byte arrays.

testEmptyByteRead()method 
public function testEmptyByteRead():void

Check that we are not allowed to read 0 bytes.

testInvalidCountBitRead()method 
public function testInvalidCountBitRead():void

Check that we can not read more than 64 bits.

testMaximumBitRead()method 
public function testMaximumBitRead():void

Check that we can read at least 64 bits.

testNullByteArray()method 
public function testNullByteArray():void

Check that we can not construct SCTE35ByteArray objects with null byte arrays.

testReadBitsAfterEOF()method 
public function testReadBitsAfterEOF():void

Check that we can not read bits after EOF.

testReadBitsFromArray()method 
public function testReadBitsFromArray():void

Check that we can read any number of bits from 1 to 8 across multiple bytes.

testReadBytesFromArray()method 
public function testReadBytesFromArray():void

Check that we can read bytes from SCTE-35 array.

testReadExtraBits()method 
public function testReadExtraBits():void

Check that we can not more bits than stored inside the byte array.

testReadExtraBytes()method 
public function testReadExtraBytes():void

Check that we can not more bytes than stored inside the byte array.