TestSubRecordpublic class TestSubRecord extends TestCase Tests Subrecord components of an OBJ record. Test data taken directly
from a real Excel file. |
Fields Summary |
---|
byte[] | dataAutoFilter |
Constructors Summary |
---|
public TestSubRecord(String name)
super( name );
|
Methods Summary |
---|
public void | testParseAutoFilterLbsData()
//jmh Record r = SubRecord.createSubRecord( (short) 0x0013, (short) 0x1fee, dataAutoFilter, 0x0032 );
//jmh assertEquals( "ftLbsData is 20 bytes", 20, r.getRecordSize() );
| public void | testParseCmo()
//jmh Record r = SubRecord.createSubRecord( (short) 0x0015, (short) 0x0012, dataAutoFilter, 0x0000 );
//jmh assertEquals( "ftCmo is 22 bytes", 22, r.getRecordSize() );
//jmh assertEquals( "ftCmo is a CommonObjectDataSubRecord"
//jmh , "org.apache.poi.hssf.record.CommonObjectDataSubRecord"
//jmh , r.getClass().getName() );
| public void | testParseEnd()
//jmh Record r = SubRecord.createSubRecord( (short) 0x0000, (short) 0x0000, dataAutoFilter, 0x0046 );
//jmh assertEquals( "ftEnd is 4 bytes", 4, r.getRecordSize() );
//jmh assertEquals( "ftEnd is a EndSubRecord"
//jmh , "org.apache.poi.hssf.record.EndSubRecord"
//jmh , r.getClass().getName() );
|
|