예제 #1
0
 @SuppressWarnings("PMD.SignatureDeclareThrowsException")
 // one of the dependent methods throws Exception
 @BeforeMethod(groups = {"smoke", "savings", "acceptance", "ui"})
 public void setUp() throws Exception {
   super.setUp();
   savingsAccountHelper = new SavingsAccountHelper(selenium);
 }
예제 #2
0
 @Override
 @SuppressWarnings("PMD.SignatureDeclareThrowsException")
 // one of the dependent methods throws Exception
 @BeforeMethod
 public void setUp() throws Exception {
   super.setUp();
   appLauncher = new AppLauncher(selenium);
 }
 @Override
 @SuppressWarnings(
     "PMD.SignatureDeclareThrowsException") // one of the dependent methods throws Exception
 @BeforeMethod
 public void setUp() throws Exception {
   super.setUp();
   setSystemDate();
 }
예제 #4
0
 @SuppressWarnings(
     "PMD.SignatureDeclareThrowsException") // one of the dependent methods throws Exception
 @BeforeMethod
 @Override
 public void setUp() throws Exception {
   super.setUp();
   questionGroupHelper = new QuestionGroupHelper(new NavigationHelper(selenium));
   random = new Random();
 }
예제 #5
0
 @Override
 @SuppressWarnings("PMD.SignatureDeclareThrowsException")
 // one of the dependent methods throws Exception
 @BeforeMethod(alwaysRun = true)
 public void setUp() throws Exception {
   navigationHelper = new NavigationHelper(selenium);
   propertiesHelper = new CustomPropertiesHelper(selenium);
   savingsAccountHelper = new SavingsAccountHelper(selenium);
   centerTestHelper = new CenterTestHelper(selenium);
   clientTestHelper = new ClientTestHelper(selenium);
   super.setUp();
 }
  @Override
  @SuppressWarnings(
      "PMD.SignatureDeclareThrowsException") // one of the dependent methods throws Exception
  @BeforeMethod(alwaysRun = true)
  public void setUp() throws Exception {
    super.setUp();

    DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService =
        new DateTimeUpdaterRemoteTestingService(selenium);
    dateTimeUpdaterRemoteTestingService.resetDateTime();

    savingsProductHelper = new SavingsProductHelper(selenium);
    savingsAccountHelper = new SavingsAccountHelper(selenium);
  }
예제 #7
0
파일: FeeTest.java 프로젝트: femlo/head
  @Override
  @SuppressWarnings("PMD.SignatureDeclareThrowsException")
  // one of the dependent methods throws Exception
  @BeforeMethod(alwaysRun = true)
  public void setUp() throws Exception {
    super.setUp();

    DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService =
        new DateTimeUpdaterRemoteTestingService(selenium);
    DateTime targetTime = new DateTime(2009, 7, 11, 12, 0, 0, 0);
    dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
    dataSetup = new TestDataSetup(selenium, applicationDatabaseOperation);

    loanTestHelper = new LoanTestHelper(selenium);
    feeTestHelper = new FeeTestHelper(dataSetup, new NavigationHelper(selenium));
  }