For instance groups field can be "" to indicate there are no groups and
ignoring this is a bug if there were some grouping in the previous
uno:sheetGeometry message. This also adds a Mocha test for this.
The issue was originally caught by the cypress group/ungroup tests.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib64009e62d510772d5f523378b713a71cf9cccc6
All public methods of SheetGeometry class now have tests.
TODO: Add tests for component classes of SheetGeometry. For instance
SheetDimension's interface are directly used in drawing headers, so we
need tests for them.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ifab2acea51cf30e6cf1437d9983e6678b4074c38