Ignore:
Timestamp:
01/19/11 14:25:51 (13 years ago)
Author:
luiz-fernando
Message:

Ticket #1402 - Novos casos de teste implementados usando WebDriver?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/BaseTestCase.java

    r3663 r3708  
    3434        } 
    3535 
     36        /** 
     37         * TODO Rever esse metodo. Foi o unico jeito que consegui fazer pegar o 
     38         * numero total de mensagens importantes. O metodo apenas aguarda 5 segundos 
     39         * antes de continuar a execucao. 
     40         *  
     41         * @throws Exception 
     42         *  
     43         * @see br.gov.serpro.cte.email.listar.ListarEmailsImportantesTestCase 
     44         */ 
     45        public void dummyWait() throws Exception { 
     46                dummyWait(5); 
     47        } 
     48 
     49        /** 
     50         * @param seconds 
     51         * @throws Exception 
     52         */ 
     53        public void dummyWait(int seconds) throws Exception { 
     54                for (int second = 0;; second++) { 
     55                        if (second >= seconds) { 
     56                                System.out.println("timeout"); 
     57                                return; 
     58                        } 
     59                        Thread.sleep(1000); 
     60                } 
     61 
     62        } 
     63 
    3664} 
Note: See TracChangeset for help on using the changeset viewer.