Package org.zkoss.test.zss

Examples of org.zkoss.test.zss.CellCache$Factory


//    pasteAllExpectBorderAndVerify(11, 5, 16, 5, 16, 6); //paste at cells that contains value
  }
 
  @Test
  public void paste_transpose() {
    CellCache F12 = getCellCache(11, 5);
    CellCache F13 = getCellCache(12, 5);
    spreadsheet.setSelection(11, 5, 12, 5);
    click(".zstbtn-copy");
   
    focus(11, 10);
    click(".zstbtn-paste .zstbtn-arrow");
    click(".zsmenuitem-pasteTranspose");
   
    CellCache K12 = getCellCache(11, 10);
    CellCache K13 = getCellCache(11, 11);
    Assert.assertEquals(F12.getText(), K12.getText());
    Assert.assertEquals(F13.getText(), K13.getText());
  }
View Full Code Here


    Assert.assertEquals("90", getCell(9, 11).getText());
  }

  @Test
  public void paste_special_transpose() {
    CellCache F12 = getCellCache(11, 5);
    CellCache F13 = getCellCache(12, 5);
    spreadsheet.setSelection(11, 5, 12, 5);
    click(".zstbtn-copy");
   
    mouseDirector.openCellContextMenu(11, 10);
    click(".z-menupopup:visible .zsmenuitem-pasteSpecial");
   
    jq("$transpose input").getWebElement().click();
    click("$_pasteSpecialDialog $okBtn");
   
    CellCache K12 = getCellCache(11, 10);
    CellCache K13 = getCellCache(11, 11);
    Assert.assertEquals(F12.getText(), K12.getText());
    Assert.assertEquals(F13.getText(), K13.getText());
  }
View Full Code Here

    Assert.assertEquals(cache, builder.offset(12, 10).build());
  }
 
  @Test
  public void drag_fill() {
    CellCache J12 = getCellCache(11, 9);
    mouseDirector.dragFill(11, 9, 11, 11);
   
    Assert.assertEquals(J12.getText(), getCell(11, 10).getText());
    Assert.assertEquals(J12.getFillColor(), getCell(11, 10).getFillColor());
  }
View Full Code Here

TOP

Related Classes of org.zkoss.test.zss.CellCache$Factory

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.