| com.ibm.emb.test.MediaFormatTest com.ibm.emb.test.mfb.EmbeddedMediaFormatTest
All known Subclasses: com.ibm.emb.test.mfb.MpegVideoFormatTest, com.ibm.emb.test.mfb.JpegFormatTest, com.ibm.emb.test.mfb.BmpFormatTest, com.ibm.emb.test.mfb.WavFormatTest, com.ibm.emb.test.mfb.MpegAudioFormatTest,
Method Summary | |
abstract public MediaFormat | createMediaFormat() | public void | testTEMB0054SBA() | public void | testTEMB0055SBA()
Testcase Name: disassembleContent(URL, byte[])
Testcase Number: TEMB0055SBA
Test 1:
call disassembleContent with random media content and null as location
--->check the result to be a 1-element segment array,
and the element to contain the random content created and a childLocation of null. | public void | testTEMB0059SBA() |
EmbeddedMediaFormatTest | public EmbeddedMediaFormatTest(String name) throws MediaException(Code) | | |
createMediaFormat | abstract public MediaFormat createMediaFormat()(Code) | | abstract method to create an instance of MediaFormat this method needs to
be implemented in the test subclass and will create an Instance of the
concrete implementation of the class under test
|
testTEMB0054SBA | public void testTEMB0054SBA() throws MediaException, MalformedURLException(Code) | |
Testcase Name: assembleContent(URL, MediaSegment[])
Testcase Number: TEMB0054SBA
Test 1:
create 2 element segment array
call assembleContent with the segment array created and null as location
----> check for FormatSyntaxException
Test 2:
create 1 element segment array, fill in random content and valid random child location
call assembleContent with the segment array created and null as location
--->check for FormatSyntaxException
|
testTEMB0055SBA | public void testTEMB0055SBA() throws MediaException, MalformedURLException(Code) | |
Testcase Name: disassembleContent(URL, byte[])
Testcase Number: TEMB0055SBA
Test 1:
call disassembleContent with random media content and null as location
--->check the result to be a 1-element segment array,
and the element to contain the random content created and a childLocation of null.
|
testTEMB0059SBA | public void testTEMB0059SBA() throws MediaException, MalformedURLException(Code) | |
Testcase Name: isEmbedded()
Testcase Number: TEMB0059SBA
Test 1:
call isEmbedded
--->check if result is true
|
|
|