Package it.cdq.selenium.driver

Examples of it.cdq.selenium.driver.DriverWizzair


public class MinPriceTest {

  @Test
  public void minPriceWizz() throws Exception {
    DriverWizzair driver = new DriverWizzair();

    String wizz = "  MOSTRA GIORNI PRECEDENTI Milan Malpensa - Terminal 1  Bucarest H. Coanda mercoled� 14 mag 08:10  11:30 � 29,99 WIZZ Discount Club � 39,99 Milan Malpensa - Terminal 1  Bucarest H. Coanda mercoled� 14 mag 13:15  16:35 � 19,99 WIZZ Discount Club � 29,99 Milan Malpensa - Terminal 1  Bucarest H. Coanda gioved� 15 mag 07:55  11:15 � 29,99 WIZZ Discount Club � 39,99 Milan Malpensa - Terminal 1  Bucarest H. Coanda venerd� 16 mag 08:10  11:30 � 19,99 WIZZ Discount Club � 29,99 Milan Malpensa - Terminal 1  Bucarest H. Coanda venerd� 16 mag 13:15  16:35 � 29,99 WIZZ Discount Club � 39,99 Milan Malpensa - Terminal 1  Bucarest H. Coanda sabato 17 mag 13:00  16:15 � 49,99 WIZZ Discount Club � 59,99 Milan Malpensa - Terminal 1  Bucarest H. Coanda domenica 18 mag 13:15  16:35 � 59,99 WIZZ Discount Club � 69,99 MOSTRA GIORNI SUCCESSIVI";
    SimpleDateFormat wizzFormatter = new SimpleDateFormat("dd/MM");
    BigDecimal min = driver.minPrice(wizz, wizzFormatter.parse("14/05"));

    Assert.assertTrue(min.equals(new BigDecimal("19.99")));
  }
View Full Code Here

TOP

Related Classes of it.cdq.selenium.driver.DriverWizzair

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.