Revision 3523,
652 bytes
checked in by luiz-fernando, 14 years ago
(diff) |
Ticket #1402 - Automacao dos casos de teste do Expresso documentados no Testlink
|
Rev | Line | |
---|
[3523] | 1 | package br.gov.serpro.cte.email.compor; |
---|
| 2 | |
---|
| 3 | import org.junit.Test; |
---|
| 4 | |
---|
| 5 | import br.gov.serpro.cte.common.ExpressoMailTestCase; |
---|
| 6 | |
---|
| 7 | /** |
---|
| 8 | * @author L.F.Estivalet (Serpro) |
---|
| 9 | * |
---|
| 10 | * Created on Nov 18, 2010 at 3:49:56 PM |
---|
| 11 | * |
---|
| 12 | */ |
---|
| 13 | public class EnviarEmailSemAssuntoTestCase extends ExpressoMailTestCase { |
---|
| 14 | |
---|
| 15 | // TODO Remover o email sem assunto da Caixa de Entrada, itens enviados e |
---|
| 16 | // lixeira e adicionar teste de verificacao de email enviado. |
---|
| 17 | @Test |
---|
| 18 | public void testa() throws Exception { |
---|
| 19 | super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), ""); |
---|
| 20 | super.sendEmail(); |
---|
| 21 | assertTrue(selenium.getConfirmation().matches( |
---|
| 22 | Mensagem.SEM_ASSUNTO.getValue())); |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.