Examples of CellCacheAggeration


Examples of org.zkoss.test.zss.CellCacheAggeration

    verifyPasteAll(PasteSource.COPY, from, 16, 5, 16, 9);
  }
 
  @Test
  public void row_paste_special() {
    CellCacheAggeration from = getCellCacheAggerationBuilder(12, 5, 12, 9).build();
    mouseDirector.openRowContextMenu(12);
    click(".z-menupopup:visible .zsmenuitem-copy");
   
    mouseDirector.openRowContextMenu(16);
    click(".z-menupopup:visible .zsmenuitem-pasteSpecial");
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

  }
 
  @Test
  public void row_insert() {
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(13, 5, 13, 9);
    CellCacheAggeration from = builder.build();
    mouseDirector.openRowContextMenu(13);
   
    click(".z-menupopup:visible .zsmenuitem-insertSheetRow");
   
    verifyInsert(Insert.CELL_DOWN, from, builder);
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

  }

  @Test
  public void row_delete() {
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(13, 5, 13, 9);
    CellCacheAggeration from = builder.down().build();
    mouseDirector.openRowContextMenu(13);
   
    click(".z-menupopup:visible .zsmenuitem-deleteSheetRow");
   
    verifyDelete(Delete.CELL_UP, from, builder, null);
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

  }

 
  @Test
  public void row_clear_content() {
    CellCacheAggeration cache = getCellCacheAggerationBuilder(12, 5, 12, 9).build();
    mouseDirector.openRowContextMenu(12);
    click(".z-menupopup:visible .zsmenuitem-clearContent");
    verifyClearContent(cache);
  }
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

    keyboardDirector.ctrlCut(tRow, lCol, bRow, rCol);
    Assert.assertTrue(isVisible("div.zshighlight"));
    Assert.assertTrue(spreadsheet.isHighlight(tRow, lCol, bRow, rCol));
   
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    CellCacheAggeration cutFrom = builder.build();
    spreadsheet.focus(11, 10);
    keyboardDirector.ctrlPaste(11, 10);
   
    verifyPasteAll(PasteSource.CUT, cutFrom, builder.offset(11, 10).build());
  }
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

    keyboardDirector.ctrlCopy(tRow, lCol, bRow, rCol);
    Assert.assertTrue(isVisible("div.zshighlight"));
    Assert.assertTrue(spreadsheet.isHighlight(tRow, lCol, bRow, rCol));
   
    CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
    CellCacheAggeration from = builder.build();
    spreadsheet.focus(15, 8);
    keyboardDirector.ctrlPaste(15, 8);
   
    //TODO: shall not compare cell's right border, since right border may effect by other cell
    verifyPasteAll(PasteSource.COPY, from, builder.offset(15, 8).build());
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

  public void ctrl_d_delete_content() {
    int tRow = 11;
    int lCol = 8;
    int bRow = 13;
    int rCol = 9;
    CellCacheAggeration cache = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol).build();
    keyboardDirector.ctrlD(tRow, lCol, bRow, rCol);
   
    verifyClearContent(cache);
  }
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

  public void ctrl_delete_delete_style() {
    int tRow = 11;
    int lCol = 8;
    int bRow = 13;
    int rCol = 9;
    CellCacheAggeration cache = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol).build();
    keyboardDirector.ctrlDelete(tRow, lCol, bRow, rCol);
   
    verifyClearStyle(cache);
  }
View Full Code Here

Examples of org.zkoss.test.zss.CellCacheAggeration

  public void d_clear_content() {
    int tRow = 12;
    int lCol = 8;
    int bRow = 13;
    int rCol = 9;
    CellCacheAggeration cache = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol).build();
    keyboardDirector.delete(tRow, lCol, bRow, rCol);
   
    verifyClearContent(cache);
  }
View Full Code Here

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.right().build();
   
    spreadsheet.setSelection(tRow, lCol, bRow, rCol);
    click(".zstbtn-del .zstbtn-arrow");
    click(".zsmenu-deleteCell");
    click(".zsmenuitem-shiftCellLeft");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.