Package no.ugland.utransprod.gui.util

Examples of no.ugland.utransprod.gui.util.JYearChooserFinder


  @Test
  public void testSend() {
    int numberOfTransports = routeViewHandler.getNumberOfTransports();
    if (numberOfTransports == 0) {
      dialogFixture.robot.finder().find(
          new JYearChooserFinder("YearChooserTransport")).setYear(2010);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedIndex(Util.getCurrentWeek() - 2);
      Pause.pause(PAUSE);
    }
    dialogFixture.comboBox("ComboBoxSupplier1").selectItem(0);
View Full Code Here


  @Test
  public void testUpdateGulvspon() {
    int numberOfTransports = routeViewHandler.getNumberOfTransports();
    if (numberOfTransports == 0) {
      dialogFixture.robot.finder().find(
          new JYearChooserFinder("YearChooserTransport")).setYear(2012);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedIndex(Util.getCurrentWeek() - 2);
      Pause.pause(PAUSE);
    }
View Full Code Here

  @Test
  public void testRemoveTransport() {
    int numberOfTransports = routeViewHandler.getNumberOfTransports();
    if (numberOfTransports == 0) {
      dialogFixture.robot.finder().find(
          new JYearChooserFinder("YearChooserTransport")).setYear(2010);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedIndex(Util.getCurrentWeek() - 2);
      Pause.pause(PAUSE);
    }
    dialogFixture
View Full Code Here

  @Test
  public void testGenerateTransportLetter() {
    int numberOfTransports = routeViewHandler.getNumberOfTransports();
    if (numberOfTransports == 0) {
      dialogFixture.robot.finder().find(
          new JYearChooserFinder("YearChooserTransport")).setYear(2010);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedIndex(Util.getCurrentWeek() - 2);
      Pause.pause(PAUSE);
    }
    ;
View Full Code Here

  @Ignore
  public void testRemoveColli() {
    int numberOfTransports = routeViewHandler.getNumberOfTransports();
    if (numberOfTransports == 0) {
      dialogFixture.robot.finder().find(
          new JYearChooserFinder("YearChooserTransport")).setYear(2010);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedIndex(Util.getCurrentWeek() - 2);
      Pause.pause(PAUSE);
    }
    JComboBoxFixture combo = dialogFixture.comboBox("ComboBoxSupplier1");
View Full Code Here

  @Ignore
  public void testSendOrderWithMissing() {
    int numberOfTransports = routeViewHandler.getNumberOfTransports();
    if (numberOfTransports == 0) {
      dialogFixture.robot.finder().find(
          new JYearChooserFinder("YearChooserTransport")).setYear(2013);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedItem(1);
      Pause.pause(PAUSE);
    }
    JComboBoxFixture combo = dialogFixture.comboBox("ComboBoxSupplier1");
View Full Code Here

  @Test
  public void testSpliOrder() {
    int numberOfTransports = routeViewHandler.getNumberOfTransports();
    if (numberOfTransports == 0) {
      dialogFixture.robot.finder().find(
          new JYearChooserFinder("YearChooserTransport")).setYear(2012);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedIndex(Util.getCurrentWeek() - 2);
      Pause.pause(PAUSE);
    }
    dialogFixture
View Full Code Here

  @Ignore
  public void testShowDeviationForPostshipment() {
    int numberOfTransports = routeViewHandler.getNumberOfTransports();
    if (numberOfTransports == 0) {
      dialogFixture.robot.finder().find(
          new JYearChooserFinder("YearChooserTransport")).setYear(2012);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedIndex(Util.getCurrentWeek() - 2);
      Pause.pause(PAUSE);
    }
    int tableCount = 0;
View Full Code Here

  @Test
  public void testShowDeviationForPostShipment() {
    int numberOfTransports = routeViewHandler.getNumberOfTransports();
    if (numberOfTransports == 0) {
      dialogFixture.robot.finder().find(
          new JYearChooserFinder("YearChooserTransport")).setYear(2012);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedIndex(Util.getCurrentWeek() - 2);
      Pause.pause(PAUSE);
    }
View Full Code Here

  public void testGenerateTakstolInfo() {
    dialogFixture.show();
    int numberOfTransports = routeViewHandler.getNumberOfTransports();
    if (numberOfTransports == 0) {
      dialogFixture.robot.finder().find(
          new JYearChooserFinder("YearChooserTransport")).setYear(2010);
      dialogFixture.comboBox("ComboBoxWeeks").target
          .setSelectedItem(1);
      Pause.pause(PAUSE);
    }
    dialogFixture
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.gui.util.JYearChooserFinder

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.