Ignore:
Timestamp:
11/19/10 14:59:55 (14 years ago)
Author:
luiz-fernando
Message:

Ticket #1402 - Automacao dos casos de teste do Expresso documentados no Testlink

Location:
devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/responder
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/responder/EncaminharEmailAnexoTestCase.java

    r3521 r3523  
    44 
    55import br.gov.serpro.cte.common.ExpressoMailTestCase; 
     6import br.gov.serpro.cte.email.compor.EnviarEmailAnexoTestCase; 
    67 
    78/** 
     
    1415 
    1516        @Test 
    16         public void testaEncaminharEmailAnexo() throws Exception { 
     17        public void testa() throws Exception { 
     18                super.executeTestCase(EnviarEmailAnexoTestCase.class, 
     19                                new Class[] { boolean.class }, new Object[] { false }); 
     20 
    1721                String id = super.readEmail(Valor.ASSUNTO_ANEXO.getValue()); 
    18                 id = id.substring(id.lastIndexOf("_")); 
    1922                super.forwardEmail(id, Valor.EMAIL_TESTE_1.getValue()); 
    2023        } 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/responder/EncaminharEmailTestCase.java

    r3521 r3523  
    44 
    55import br.gov.serpro.cte.common.ExpressoMailTestCase; 
     6import br.gov.serpro.cte.email.compor.EnviarEmailTestCase; 
    67 
    78/** 
     
    1415 
    1516        @Test 
    16         public void testaEncaminharEmail() throws Exception { 
     17        public void testa() throws Exception { 
     18                super.executeTestCase(EnviarEmailTestCase.class, 
     19                                new Class[] { boolean.class }, new Object[] { false }); 
    1720                String id = super.readEmail(Valor.ASSUNTO.getValue()); 
    18                 id = id.substring(id.lastIndexOf("_")); 
    1921                super.forwardEmail(id, Valor.EMAIL_TESTE_1.getValue()); 
    2022        } 
  • devel/testlink/automation/src/test/java/br/gov/serpro/cte/email/responder/ResponderEmailTestCase.java

    r3521 r3523  
    44 
    55import br.gov.serpro.cte.common.ExpressoMailTestCase; 
     6import br.gov.serpro.cte.email.compor.EnviarEmailTestCase; 
    67 
    78/** 
     
    1415 
    1516        @Test 
    16         public void testaResponserEmail() throws Exception { 
     17        public void testa() throws Exception { 
     18                super.executeTestCase(EnviarEmailTestCase.class, 
     19                                new Class[] { boolean.class }, new Object[] { false }); 
    1720                String id = super.readEmail(Valor.ASSUNTO.getValue()); 
    1821                super.replyEmail(id); 
    1922        } 
    20  
    21         @Test 
    22         public void testaResponserEmailSemHistorico() throws Exception { 
    23                 String id = super.readEmail(Valor.ASSUNTO.getValue()); 
    24                 super.replyEmailWithoutHistory(id); 
    25         } 
    26  
    27         @Test 
    28         public void testaResponserEmailTodos() throws Exception { 
    29                 String id = super 
    30                                 .readEmail("[SELENIUM] Teste envio mensagem para múltiplos des..."); 
    31                 super.replyAllEmail(id); 
    32         } 
    33  
    34         @Test 
    35         public void testaResponserEmailTodosSemHistorico() throws Exception { 
    36                 String id = super 
    37                                 .readEmail("[SELENIUM] Teste envio mensagem para múltiplos des..."); 
    38                 super.replyEmailWithoutHistory(id); 
    39         } 
    40  
    4123} 
Note: See TracChangeset for help on using the changeset viewer.