*/
public void testIsSkippableSpatial3D() throws Exception
{
privateSetUp();
SpatialFormatIterator sfi = new SpatialFormatIterator(canvasLayout);
sfi.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_ROW_COUNT, "2");
sfi.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_COLUMN_COUNT, "2");
sfi.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_ROWS, "fixed");
sfi.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_COLUMNS, "variable");
sfi.setName("spatial1");
SpatialFormatIterator sfi2 = new SpatialFormatIterator(canvasLayout);
sfi2.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_ROW_COUNT, "2");
sfi2.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_COLUMN_COUNT, "3");
sfi2.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_ROWS, "fixed");
sfi2.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_COLUMNS, "fixed");
sfi2.setName("spatial2");
TemporalFormatIterator tfi = new TemporalFormatIterator(canvasLayout);
tfi.setAttribute(TemporalFormatIterator.TEMPORAL_ITERATOR_CELL_COUNT, "4");
tfi.setAttribute(TemporalFormatIterator.TEMPORAL_ITERATOR_CELLS, "variable");
tfi.setName("temporal");
Format format2 = new Pane(canvasLayout);
format2.setName("pane2");
pageContext.addPaneMapping((Pane)format2);
Format format3 = new Pane(canvasLayout);
format3.setName("pane3");
pageContext.addPaneMapping((Pane)format3);
format3.setParent(tfi);
Grid grid2 = new Grid(canvasLayout);
grid2.setName("grid2");
grid2.setRows(2);
grid2.setColumns(1);
grid2.setParent(sfi2);
grid2.insertChildAt(format2, 0);
format2.setParent(grid2);
grid2.insertChildAt(tfi, 1);
tfi.setParent(grid2);
grid2.setParent(sfi2);
grid.setRows(2);
grid.setColumns(1);
grid.setParent(sfi);
grid.insertChildAt(format, 0);
format.setParent(grid);
grid.insertChildAt(sfi2, 1);
sfi2.setParent(grid);
index = new NDimensionalIndex(new int[] {0});
assertTrue("shouldn't skip format.0",
!createPaneContext(index).ignore());