| com.ibm.emb.junit.EMBTestCaseBase com.ibm.emb.test.MediaHeaderTest
All known Subclasses: com.ibm.emb.test.mfb.WavHeaderTest, com.ibm.emb.test.mfb.JpegHeaderTest, com.ibm.emb.test.GenericMediaHeaderTest, com.ibm.emb.test.mfb.MpegVideoHeaderTest, com.ibm.emb.test.mfb.BmpHeaderTest, com.ibm.emb.test.mfb.MpegAudioHeaderTest,
MediaHeaderTest | abstract public class MediaHeaderTest extends EMBTestCaseBase (Code) | |
Line Item: MFB API
Subcategory 1: javax.emb
Subcategory 2: MediaHeader
|
MediaHeaderTest | public MediaHeaderTest(String name) throws MediaException(Code) | | |
createMediaHeader | abstract public MediaHeader createMediaHeader() throws MediaException, IOException(Code) | | abstract method to create an instance of mediaHeader with no parameters
this method needs to be implemented in the test subclass and will create
an instance of the concrete implementation of the class under test
|
stdSuite | public static Test stdSuite(String TestCaseImplementor)(Code) | | stdSuite method of this test class instantiates all tests necesssary to
for the standard compliance tests
Parameters: String - complete class Name of the implementor of the abstract test |
testEMB037 | public void testEMB037() throws MediaException, IOException(Code) | |
Testcase Name: getField(String fieldName)
Testcase Number: EMB037
setup: access file containing a list of all implemented Media formats and sample files
test procedure:
1.for each format, call extractHeader().getField(null)
expected result: NullPointerException
2.for each format, call extractHeader().getField("%$&//&%?%&")
expected result: null
3.for each format, call extractHeader().getFieldNames()
for each field, call getField()
expected result: not null
|
testEMB038 | public void testEMB038() throws MediaException, IOException(Code) | |
Testcase Name: getFieldNames()
Testcase Number: EMB038
setup: access file containing a list of all implemented Media formats and sample files
test procedure:
1.for each format, call extractHeader.getFieldNames()
expected result: not null
|
|
|