Package org.zkoss.test.zss

Examples of org.zkoss.test.zss.CellCacheAggeration


    int tRow = 12;
    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    CellCacheAggeration src = builder.build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenu-insert");
    click(".z-menupopup:visible .zsmenuitem-shiftCellDown");
   
View Full Code Here


    int bRow = 13;
    int rCol = 6;
    //exam whole row will be inefficient, only expand 5 cells to check
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol)
      .expandRight(5);
    CellCacheAggeration cache = builder.build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenu-insert");
    click(".z-menupopup:visible .zsmenuitem-insertSheetRow");
   
View Full Code Here

    int bRow = 13;
    int rCol = 6;
    //exam whole column will be inefficient, only expand 5 cells to check
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol)
      .expandDown(5);
    CellCacheAggeration cache = builder.build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenu-insert");
    click(".z-menupopup:visible .zsmenuitem-insertSheetColumn");
    verifyInsert(Insert.CELL_RIGHT, cache, builder);
View Full Code Here

    int tRow = 12;
    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    CellCacheAggeration src = builder.right().build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenu-del");
    click(".z-menupopup:visible .zsmenuitem-shiftCellLeft");
   
View Full Code Here

    int tRow = 12;
    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    CellCacheAggeration src = builder.down().build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenu-del");
    click(".z-menupopup:visible .zsmenuitem-shiftCellUp");
   
View Full Code Here

    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    //exam whole row is inefficient, expend 5 cells to check
    CellCacheAggeration src = builder.down().expandRight(5).build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenu-del");
    click(".z-menupopup:visible .zsmenuitem-deleteSheetRow");
   
View Full Code Here

    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    //exam whole row is inefficient, expend 5 cells to check
    CellCacheAggeration src = builder.right().expandDown(5).build();
   
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenu-del");
    click(".z-menupopup:visible .zsmenuitem-deleteSheetColumn");
   
View Full Code Here

  public void cell_clear_content() {
    int tRow = 12;
    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    CellCacheAggeration src = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol).build();
    mouseDirector.openCellContextMenu(tRow, lCol, bRow, rCol);
    click(".z-menupopup:visible .zsmenuitem-clearContent");
   
    verifyClearContent(src);
  }
View Full Code Here

    int tRow = 11;
    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    spreadsheet.setSelection(tRow, lCol, bRow, rCol);
    CellCacheAggeration cache = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol).build();
   
    click(".zstbtn-clear .zstbtn-arrow");
    click(".zsmenuitem-clearContent");
   
    verifyClearContent(cache);
View Full Code Here

    int tRow = 11;
    int lCol = 5;
    int bRow = 13;
    int rCol = 6;
    spreadsheet.setSelection(tRow, lCol, bRow, rCol);
    CellCacheAggeration cache = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol).build();
   
    click(".zstbtn-clear .zstbtn-arrow");
    click(".zsmenuitem-clearStyle");
   
    verifyClearStyle(cache);
View Full Code Here

TOP

Related Classes of org.zkoss.test.zss.CellCacheAggeration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.