FileDocCategorySizeDatePackage
TestFormulaRecordAggregate.javaAPI DocApache Poi 3.0.11954Mon Jan 01 12:39:46 GMT 2007org.apache.poi.hssf.record.aggregates

TestFormulaRecordAggregate

public class TestFormulaRecordAggregate extends TestCase
author
avik

Fields Summary
Constructors Summary
public TestFormulaRecordAggregate(String arg)
Creates a new instance of TestFormulaRecordAggregate

        super(arg);
    
Methods Summary
public voidtestClone()

        FormulaRecord f = new FormulaRecord();
        StringRecord s = new StringRecord();
        FormulaRecordAggregate fagg = new FormulaRecordAggregate(f,s);
        FormulaRecordAggregate newFagg = (FormulaRecordAggregate) fagg.clone();
        assertTrue("objects are different", fagg!=newFagg);
        assertTrue("deep clone", fagg.getFormulaRecord() != newFagg.getFormulaRecord());
        assertTrue("deep clone",  fagg.getStringRecord() != newFagg.getStringRecord());