Index: /devel/testlink/automation2.0/.classpath
===================================================================
--- /devel/testlink/automation2.0/.classpath	(revision 3663)
+++ /devel/testlink/automation2.0/.classpath	(revision 3663)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
+	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+	<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
+	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>
Index: /devel/testlink/automation2.0/.project
===================================================================
--- /devel/testlink/automation2.0/.project	(revision 3663)
+++ /devel/testlink/automation2.0/.project	(revision 3663)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>ExpressoAutomation2.0</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.maven.ide.eclipse.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.maven.ide.eclipse.maven2Nature</nature>
+	</natures>
+</projectDescription>
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/email/MailPage.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/email/MailPage.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/email/MailPage.java	(revision 3663)
@@ -0,0 +1,255 @@
+package br.gov.serpro.expresso.cte.pages.email;
+
+import org.apache.commons.lang.StringUtils;
+import org.openqa.selenium.JavascriptExecutor;
+import org.openqa.selenium.WebDriver;
+import org.openqa.selenium.WebElement;
+import org.openqa.selenium.support.FindBy;
+
+import br.gov.serpro.expresso.cte.pages.common.Page;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Dec 16, 2010 at 9:43:21 AM
+ * 
+ */
+public class MailPage extends Page {
+
+	@FindBy(xpath = "//table[@id='folders_tbl']/tbody/tr[1]/td/table/tbody/tr[2]/td/div/span")
+	private WebElement newEmail;
+
+	@FindBy(id = "to_1")
+	private WebElement to;
+
+	@FindBy(id = "subject_1")
+	private WebElement subject;
+
+	@FindBy(id = "send_button_1")
+	private WebElement send;
+
+	@FindBy(id = "important_message_1")
+	private WebElement important;
+
+	@FindBy(id = "return_receipt_1")
+	private WebElement returnReceipt;
+
+	@FindBy(id = "a_cco_link_1")
+	private WebElement blindCarbonCopyLink;
+
+	@FindBy(id = "cco_1")
+	private WebElement blindCarbonCopy;
+
+	@FindBy(id = "a_cc_link_1")
+	private WebElement carbonCopyLink;
+
+	@FindBy(id = "cc_1")
+	private WebElement carbonCopy;
+
+	@FindBy(id = "save_message_options_1")
+	private WebElement saveEmail;
+
+	@FindBy(xpath = "//div[@id='div_message_scroll_1']/form/table/tbody/tr[10]/td[2]/a")
+	private WebElement attachmentLink;
+
+	@FindBy(id = "inputFile_1_1")
+	private WebElement attachment;
+
+	@FindBy(xpath = "//div[@id='footer_menu']/table[@id='footer_box']/tbody/tr[@id='table_message']/td[@id='span_options']/span[1]/span")
+	private WebElement deleteEmailLink;
+
+	@FindBy(id = "lINBOX/Trashtree_folders")
+	private WebElement trashFolder;
+
+	@FindBy(id = "empty_trash")
+	private WebElement emptyTrashLink;
+
+	@FindBy(id = "divScrollMain_0")
+	private WebElement emailsListDiv;
+
+	@FindBy(id = "tot_m")
+	private WebElement totalEmails;
+
+	/**
+	 * @param driver
+	 */
+	public MailPage(WebDriver driver) {
+		super(driver);
+	}
+
+	/**
+	 * @param to
+	 * @param subject
+	 * @param body
+	 */
+	public void composeEmail(String to, String subject, String body) {
+		this.newEmail.click();
+		waitForElementById("to_1");
+		this.to.sendKeys(to);
+		this.subject.sendKeys(subject != null ? subject : "");
+
+		// Foi o unico jeito que consegui pegar o richtexteditor...
+		if (body != null) {
+			((JavascriptExecutor) driver)
+					.executeScript("document.getElementById('body_1').contentWindow.document.body.innerHTML='"
+							+ body + "';");
+		}
+	}
+
+	/**
+	 * Abre uma pasta de email especifica.
+	 * 
+	 * @param folder
+	 *            Pasta de email a ser aberta.
+	 */
+	public void openFolder(String folder) {
+		clickElement(folder);
+		waitForElementById("divScrollMain_0");
+	}
+
+	/**
+	 * Abre uma pasta de email especifica.
+	 * 
+	 * @param folder
+	 *            Pasta de email a ser aberta.
+	 */
+	public void openFolder(WebElement folder) {
+		folder.click();
+		waitForElementById("divScrollMain_0");
+	}
+
+	/**
+	 * Limpa a lixeira.
+	 */
+	public void cleanupTrash() {
+		this.openFolder(this.trashFolder);
+		this.emptyTrashLink.click();
+	}
+
+	/**
+	 * @return Numero de emails na pasta selecionada.
+	 */
+	public int getTotalEmails() {
+		return Integer.valueOf(this.totalEmails.getText());
+	}
+
+	/**
+	 * Marca email sendo composto como importante.
+	 */
+	public void setImportantFlag() {
+		this.important.click();
+	}
+
+	/**
+	 * Marca solicitacao de confirmacao de leitura do email sendo composto.
+	 */
+	public void setReturnReceipt() {
+		this.returnReceipt.click();
+	}
+
+	/**
+	 * Salva email sendo composto (devera ir para a pasta de Rascunhos).
+	 * 
+	 * TODO adicionar teste para verificar se o email realmente esta presente na
+	 * pasta Rascunhos??
+	 */
+	public void saveEmail() {
+		this.saveEmail.click();
+	}
+
+	/**
+	 * Apaga email previamente selecionado.
+	 */
+	public void deleteEmail() {
+		this.deleteEmailLink.click();
+	}
+
+	/**
+	 * Adiciona email no campo de copia oculta.
+	 * 
+	 * @param email
+	 *            Email a ser adicionado.
+	 */
+	public void setBlindCarbonCopy(String email) {
+		this.blindCarbonCopyLink.click();
+		this.blindCarbonCopy.sendKeys(email);
+	}
+
+	/**
+	 * Adiciona email no campo de copia.
+	 * 
+	 * @param email
+	 *            Email a ser adicionado.
+	 */
+	public void setCarbonCopy(String email) {
+		this.carbonCopyLink.click();
+		this.carbonCopy.sendKeys(email);
+	}
+
+	/**
+	 * Anexo um arquivo no email sendo composto.
+	 * 
+	 * @param attachment
+	 *            Caminho para o arquivo a ser anexado.
+	 */
+	public void addAttachment(String attachment) {
+		this.attachmentLink.click();
+		this.attachment.sendKeys(attachment);
+	}
+
+	/**
+	 * Envia email sendo composto.
+	 */
+	public void sendMail() {
+		this.send.click();
+	}
+
+	/**
+	 * @param to
+	 * @param subject
+	 */
+	public void composeEmail(String to, String subject) {
+		composeEmail(to, subject, null);
+	}
+
+	/**
+	 * @param to
+	 */
+	public void composeEmail(String to) {
+		composeEmail(to, null, null);
+	}
+
+	/**
+	 * Procura um email pelo assunto.
+	 * 
+	 * @param subject
+	 *            Assunto a ser procurado.
+	 * @param select
+	 *            Se email encontrado, deseja seleciona-lo?
+	 * @return "id" do email.
+	 */
+	public String findEmailIdBySuject(String subject, boolean select) {
+		String html = driver.getPageSource();
+		String part1 = StringUtils.substringBefore(html, subject);
+		int start = StringUtils.lastIndexOf(part1, "id=\"") + 4;
+		int last = StringUtils.indexOf(part1, "\"", start);
+		String id = StringUtils.substring(part1, start, last);
+
+		if (select) {
+			// Marca checkbox correspondente ao id da mensagem.
+			clickElement("check_box" + id.substring(1));
+		}
+		return id;
+	}
+
+	/**
+	 * Verifica se mensagem informada corresponde ao exibido pelo Expresso na
+	 * div onde sao exibidas mensagens ao usuario.
+	 * 
+	 * @param message
+	 *            Mensagem a ser validada.
+	 */
+	public void assertMessage(String message) {
+		assert message.equals(getDisplayedElementContent("em_div_write_msg"));
+	}
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/email/HomePage.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/email/HomePage.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/email/HomePage.java	(revision 3663)
@@ -0,0 +1,30 @@
+package br.gov.serpro.expresso.cte.pages.email;
+
+import org.openqa.selenium.WebDriver;
+import org.openqa.selenium.WebElement;
+import org.openqa.selenium.support.FindBy;
+
+import br.gov.serpro.expresso.cte.pages.common.Page;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Dec 16, 2010 at 9:43:15 AM
+ * 
+ */
+public class HomePage extends Page {
+	@FindBy(xpath = "//a/img[@id='expressoMail12id']")
+	private WebElement mail;
+
+	/**
+	 * @param driver
+	 */
+	public HomePage(WebDriver driver) {
+		super(driver);
+	}
+
+	public void enterMail() {
+		mail.click();
+		waitForElementByXpath("//table[@id='folders_tbl']/tbody/tr[1]/td/table/tbody/tr[2]/td/div/span");
+	}
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/email/LoginPage.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/email/LoginPage.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/email/LoginPage.java	(revision 3663)
@@ -0,0 +1,41 @@
+package br.gov.serpro.expresso.cte.pages.email;
+
+import org.openqa.selenium.WebDriver;
+import org.openqa.selenium.WebElement;
+import org.openqa.selenium.support.FindBy;
+
+import br.gov.serpro.expresso.cte.pages.common.Page;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Dec 13, 2010 at 9:30:42 AM
+ * 
+ */
+public class LoginPage extends Page {
+
+	@FindBy(name = "user")
+	private WebElement username;
+
+	@FindBy(name = "passwd")
+	private WebElement password;
+
+	/**
+	 * @param driver
+	 */
+	public LoginPage(WebDriver driver) {
+		super(driver);
+	}
+
+	/**
+	 * @param username
+	 * @param password
+	 */
+	public void login(String username, String password) {
+		this.username.sendKeys(username);
+		this.password.sendKeys(password);
+		this.username.submit();
+
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/common/Page.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/common/Page.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/pages/common/Page.java	(revision 3663)
@@ -0,0 +1,132 @@
+package br.gov.serpro.expresso.cte.pages.common;
+
+import java.util.concurrent.TimeUnit;
+
+import org.openqa.selenium.By;
+import org.openqa.selenium.NoSuchElementException;
+import org.openqa.selenium.RenderedWebElement;
+import org.openqa.selenium.WebDriver;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 4, 2011 at 3:50:44 PM
+ * 
+ */
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 4, 2011 at 3:52:33 PM
+ * 
+ */
+public class Page {
+	/** Implementacao do driver a ser utilizado no teste da pagina. */
+	protected WebDriver driver;
+
+	/**
+	 * @param driver
+	 *            Implementacao do driver (Firefox, IE, etc)
+	 */
+	public Page(WebDriver driver) {
+		this.driver = driver;
+	}
+
+	/**
+	 * Clica em um elemento.
+	 * 
+	 * @param id
+	 *            Id do elemento a ser clicado.
+	 */
+	public void clickElement(String id) {
+		driver.findElement(By.id(id)).click();
+	}
+
+	/**
+	 * Aguarda por um elemento.
+	 * 
+	 * @param id
+	 *            Id do elemento a ser aguardado.
+	 */
+	public void waitForElementById(String id) {
+		isDisplayed(this.waitFindElement(By.id(id), 5000, 1000));
+	}
+
+	/**
+	 * @param name
+	 */
+	public void waitForElementByName(String name) {
+		isDisplayed(this.waitFindElement(By.name(name), 5000, 1000));
+	}
+
+	/**
+	 * @param xpath
+	 */
+	public void waitForElementByXpath(String xpath) {
+		isDisplayed(this.waitFindElement(By.xpath(xpath), 5000, 1000));
+	}
+
+	/**
+	 * @param ms
+	 */
+	public void waitAMoment(long ms) {
+		driver.manage().timeouts().implicitlyWait(ms, TimeUnit.MILLISECONDS);
+	}
+
+	/**
+	 * @param e
+	 */
+	private void isDisplayed(RenderedWebElement e) {
+		System.out.println("starting tentatives");
+		// Up to 10 times
+		for (int i = 0; i < 10; i++) {
+			System.out.println("tentative " + i);
+			// Check whether our element is visible yet
+			if (e.isDisplayed()) {
+				return;
+			}
+
+			try {
+				Thread.sleep(1000);
+			} catch (InterruptedException ex) {
+				// Try again
+			}
+		}
+
+	}
+
+	/**
+	 * @param id
+	 * @return
+	 */
+	public String getElementContent(String id) {
+		return driver.findElement(By.id(id)).getText();
+	}
+
+	public String getDisplayedElementContent(String id) {
+		waitForElementById(id);
+		return driver.findElement(By.id(id)).getText();
+	}
+
+	public RenderedWebElement waitFindElement(By by, long timeout, long interval) {
+		long start = System.currentTimeMillis();
+		while (true) {
+			try {
+				return (RenderedWebElement) driver.findElement(by);
+			} catch (NoSuchElementException nse) {
+				if (System.currentTimeMillis() - start >= timeout) {
+					throw new Error("Timeout reached and element[" + by
+							+ "]not found");
+				} else {
+					try {
+						synchronized (this) {
+							wait(interval);
+						}
+					} catch (InterruptedException e) {
+						e.printStackTrace();
+					}
+				}
+			}
+		}
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailConfirmacaoLeituraTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailConfirmacaoLeituraTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailConfirmacaoLeituraTestCase.java	(revision 3663)
@@ -0,0 +1,24 @@
+package br.gov.serpro.expresso.cte.email.compor;
+
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 5, 2011 at 2:52:47 PM
+ * 
+ */
+public class EnviarEmailConfirmacaoLeituraTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void test() {
+		mp.composeEmail("luiz-fernando.estivalet@cte.serpro.gov.br",
+				"assunto conf leitura", "texto conf leitura");
+		mp.setReturnReceipt();
+		mp.sendMail();
+		mp.assertMessage("Sua mensagem foi enviada e salva.");
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailAnexoTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailAnexoTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailAnexoTestCase.java	(revision 3663)
@@ -0,0 +1,24 @@
+package br.gov.serpro.expresso.cte.email.compor;
+
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 5, 2011 at 2:53:31 PM
+ * 
+ */
+public class EnviarEmailAnexoTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void test() {
+		mp.composeEmail("luiz-fernando.estivalet@cte.serpro.gov.br",
+				"assunto anexo", "texto anexo");
+		mp.addAttachment("/home/luiz/Desktop/arquivo.txt");
+		mp.sendMail();
+		mp.assertMessage("Sua mensagem foi enviada e salva.");
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailCopiaTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailCopiaTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailCopiaTestCase.java	(revision 3663)
@@ -0,0 +1,24 @@
+package br.gov.serpro.expresso.cte.email.compor;
+
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 5, 2011 at 9:55:14 AM
+ * 
+ */
+public class EnviarEmailCopiaTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void test() {
+		mp.composeEmail("luiz-fernando.estivalet@cte.serpro.gov.br",
+				"assunto copia", "texto copia ");
+		mp.setCarbonCopy("luiz-fernando.estivalet@cte.serpro.gov.br");
+		mp.sendMail();
+		mp.assertMessage("Sua mensagem foi enviada e salva.");
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailSemDestinatarioTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailSemDestinatarioTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailSemDestinatarioTestCase.java	(revision 3663)
@@ -0,0 +1,22 @@
+package br.gov.serpro.expresso.cte.email.compor;
+
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 5, 2011 at 2:49:15 PM
+ * 
+ */
+public class EnviarEmailSemDestinatarioTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void test() {
+		mp.composeEmail("", "assunto", "texto");
+		mp.sendMail();
+		mp.assertMessage("VocÃª deve fornecer pelo menos um endereÃ§o de destinatÃ¡rio de email.");
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailTestCase.java	(revision 3663)
@@ -0,0 +1,21 @@
+package br.gov.serpro.expresso.cte.email.compor;
+
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 4, 2011 at 3:53:04 PM
+ * 
+ */
+public class EnviarEmailTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void test() {
+		mp.composeEmail(EMAIL_TESTE_1, EMAIL_ASSUNTO, EMAIL_TEXTO);
+		mp.sendMail();
+		mp.assertMessage(EMAIL_ENVIADO);
+	}
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailSemAssuntoTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailSemAssuntoTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailSemAssuntoTestCase.java	(revision 3663)
@@ -0,0 +1,25 @@
+package br.gov.serpro.expresso.cte.email.compor;
+
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 4, 2011 at 3:53:07 PM
+ * 
+ */
+public class EnviarEmailSemAssuntoTestCase extends BaseEmailTestCase {
+	@Test
+	public void test() {
+		mp.composeEmail("luiz-fernando.estivalet@cte.serpro.gov.br");
+		mp.sendMail();
+		Alert noSubject = driver.switchTo().alert();
+		assert "Enviar esta mensagem sem assunto?".equals(noSubject.getText());
+		noSubject.accept();
+		mp.assertMessage("Sua mensagem foi enviada e salva.");
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailImportanteTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailImportanteTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailImportanteTestCase.java	(revision 3663)
@@ -0,0 +1,23 @@
+package br.gov.serpro.expresso.cte.email.compor;
+
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 5, 2011 at 2:50:28 PM
+ * 
+ */
+public class EnviarEmailImportanteTestCase extends BaseEmailTestCase {
+	@Test
+	public void test() {
+		mp.composeEmail("luiz-fernando.estivalet@cte.serpro.gov.br",
+				"assunto importante", "texto importante");
+		mp.setImportantFlag();
+		mp.sendMail();
+		mp.assertMessage("Sua mensagem foi enviada e salva.");
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailCopiaOcultaTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailCopiaOcultaTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/EnviarEmailCopiaOcultaTestCase.java	(revision 3663)
@@ -0,0 +1,24 @@
+package br.gov.serpro.expresso.cte.email.compor;
+
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 5, 2011 at 9:55:14 AM
+ * 
+ */
+public class EnviarEmailCopiaOcultaTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void test() {
+		mp.composeEmail("luiz-fernando.estivalet@cte.serpro.gov.br",
+				"assunto copia oculta", "texto copia oculta");
+		mp.setBlindCarbonCopy("luiz-fernando.estivalet@cte.serpro.gov.br");
+		mp.sendMail();
+		mp.assertMessage("Sua mensagem foi enviada e salva.");
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/SalvarEmailTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/SalvarEmailTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/compor/SalvarEmailTestCase.java	(revision 3663)
@@ -0,0 +1,23 @@
+package br.gov.serpro.expresso.cte.email.compor;
+
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 5, 2011 at 2:48:43 PM
+ * 
+ */
+public class SalvarEmailTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void test() {
+		mp.composeEmail("luiz-fernando.estivalet@cte.serpro.gov.br",
+				"assunto salvar", "texto salvar");
+		mp.saveEmail();
+		mp.assertMessage("Sua mensagem foi salva como rascunho na pasta Rascunhos.");
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/listar/ApagarEmailSelecionadoTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/listar/ApagarEmailSelecionadoTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/listar/ApagarEmailSelecionadoTestCase.java	(revision 3663)
@@ -0,0 +1,22 @@
+package br.gov.serpro.expresso.cte.email.listar;
+
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 6, 2011 at 9:07:40 AM
+ * 
+ */
+public class ApagarEmailSelecionadoTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void test() {
+		mp.findEmailIdBySuject(EMAIL_ASSUNTO, true);
+		mp.deleteEmail();
+		mp.assertMessage(EMAIL_APAGAR_MENSAGEM);
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/listar/LimparLixeiraTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/listar/LimparLixeiraTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/email/listar/LimparLixeiraTestCase.java	(revision 3663)
@@ -0,0 +1,28 @@
+package br.gov.serpro.expresso.cte.email.listar;
+
+import org.openqa.selenium.Alert;
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.common.BaseEmailTestCase;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 6, 2011 at 9:33:58 AM
+ * 
+ */
+public class LimparLixeiraTestCase extends BaseEmailTestCase {
+
+	@Test
+	public void test() {
+		mp.cleanupTrash();
+		// Alerta de confirmacao de limpeza da lixeira.
+		Alert confirm = driver.switchTo().alert();
+		assert EMAIL_LIMPAR_LIXEIRA.equals(confirm.getText());
+		confirm.accept();
+
+		mp.assertMessage("Sua pasta Lixeira foi limpa.");
+
+		System.out.println("AFTER->" + mp.getTotalEmails());
+	}
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/config.properties
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/config.properties	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/config.properties	(revision 3663)
@@ -0,0 +1,10 @@
+url=https://cte.serpro.gov.br
+user=luiz-fernando.estivalet
+passwd=senha
+#url=https://homologaexpresso.serpro.gov.br
+#user=88758559000
+#passwd=q1w2e3r4
+waitPage=30000
+# timeout em segundos
+timeout=60
+
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/Config.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/Config.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/Config.java	(revision 3663)
@@ -0,0 +1,68 @@
+package br.gov.serpro.expresso.cte.common;
+
+import java.net.URL;
+import java.text.MessageFormat;
+import java.util.Properties;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 4, 2011 at 3:53:14 PM
+ * 
+ */
+public final class Config {
+	private static final Config INSTANCE = new Config();
+
+	private Properties config;
+	private Properties mensagens;
+	private Properties campos;
+	private Properties valores;
+
+	private Config() {
+		try {
+			this.config = this
+					.load("br/gov/serpro/expresso/cte/common/config.properties");
+			this.mensagens = this
+					.load("br/gov/serpro/expresso/cte/common/mensagens.properties");
+			this.campos = this
+					.load("br/gov/serpro/expresso/cte/common/campos.properties");
+			this.valores = this
+					.load("br/gov/serpro/expresso/cte/common/valores.properties");
+		} catch (Exception e) {
+			e.printStackTrace();
+			System.exit(0);
+		}
+	}
+
+	public static Config getInstance() {
+		return INSTANCE;
+	}
+
+	public String getConfig(String key) {
+		return this.config.getProperty(key);
+	}
+
+	public String getMensagem(String key) {
+		return this.mensagens.getProperty(key);
+	}
+
+	public String getCampo(String key) {
+		return this.campos.getProperty(key);
+	}
+
+	public String getCampo(String key, Object... args) {
+		return MessageFormat.format(getCampo(key), args);
+	}
+
+	public String getValor(String key) {
+		return this.valores.getProperty(key);
+	}
+
+	private Properties load(String propsName) throws Exception {
+		Properties props = new Properties();
+		URL url = ClassLoader.getSystemResource(propsName);
+		props.load(url.openStream());
+		return props;
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/BaseTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/BaseTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/BaseTestCase.java	(revision 3663)
@@ -0,0 +1,36 @@
+package br.gov.serpro.expresso.cte.common;
+
+import org.openqa.selenium.WebDriver;
+import org.openqa.selenium.firefox.FirefoxDriver;
+import org.openqa.selenium.support.PageFactory;
+import org.testng.annotations.AfterClass;
+import org.testng.annotations.BeforeClass;
+
+import br.gov.serpro.expresso.cte.pages.email.LoginPage;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 4, 2011 at 3:53:19 PM
+ * 
+ */
+public class BaseTestCase implements Constants {
+	protected WebDriver driver;
+
+	@BeforeClass
+	public void beforeClass() {
+		driver = new FirefoxDriver();
+		driver.get(URL);
+	}
+
+	public void login() {
+		LoginPage page = PageFactory.initElements(driver, LoginPage.class);
+		page.login(USER, PASS);
+	}
+
+	@AfterClass
+	public void afterClass() {
+		driver.close();
+	}
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/valores.properties
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/valores.properties	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/valores.properties	(revision 3663)
@@ -0,0 +1,30 @@
+email.teste.1=luiz-fernando.estivalet@cte.serpro.gov.br
+email.teste.2=luiz.f.estivalet@gmail.com
+email.teste.3=luizfernando_estivalet@yahoo.com
+email.invalido=bla
+email.teste.multiplos=luiz-fernando.estivalet@cte.serpro.gov.br, luizfernando_estivalet@yahoo.com
+anexo.1=/home/luiz/Desktop/arquivo.txt
+anexo.2=/home/luiz/Desktop/arquivo2.txt
+assunto=[SELENIUM] Teste envio mensagem
+assunto.salvar=[SELENIUM] Teste salvar mensagem
+assunto.email.invalido=[SELENIUM] Teste envio mensagem com destinatário inválido
+assunto.sem.destinatario=[SELENIUM] Teste envio mensagem sem destinatário
+assunto.multiplos.destinatarios=[SELENIUM] Teste múltiplos destinatários
+assunto.anexo=[SELENIUM] Teste envio mensagem com anexo
+assunto.importante=[SELENIUM] Teste envio mensagem importante
+assunto.multiplos.anexos=[SELENIUM] Teste com múltiplos anexos
+assunto.confirmacao.leitura=[SELENIUM] Teste com confirmação de leitura
+assunto.copia=[SELENIUM] Teste envio mensagem com cópia
+assunto.copia.oculta=[SELENIUM] Teste envio mensagem com cópia oculta 
+assunto.somente.copia=[SELENIUM] Teste envio mensagem somente cópia
+assunto.somente.copia.oculta=[SELENIUM] Teste mensagem somente cópia oculta
+texto.email=<p>Email enviado a partir do Selenium!</p><p>Favor ignorar!</p>
+texto.email.confirmacao.leitura=<p>Email enviado a partir do Selenium!</p><p>Teste de confirmação de leitura</p><p>Favor ignorar!</p>
+texto.email.copia.oculta=<p>Email enviado a partir do Selenium!</p><p>Teste de cópia oculta</p><p>Favor ignorar!</p>
+texto.email.copia=<p>Email enviado a partir do Selenium!</p><p>Teste de cópia</p><p>Favor ignorar!</p>
+texto.email.importante=<p>Email enviado a partir do Selenium!</p><p>Teste de email importante</p><p>Favor ignorar!</p>
+texto.email.multiplos.anexos=<p>Email enviado a partir do Selenium!</p><p>Teste de email com múltiplos anexos</p><p>Favor ignorar!</p>
+texto.email.multiplos.destinatarios=<p>Email enviado a partir do Selenium!</p><p>Teste de email com múltiplos destinatários</p><p>Favor ignorar!</p>
+texto.email.sem.assunto=<p>Email enviado a partir do Selenium!</p><p>Teste de email sem assunto</p><p>Favor ignorar!</p>
+texto.email.salvo=<p>Email enviado a partir do Selenium!</p><p>Teste para salvar um email na pasta rascunhos</p><p>Favor ignorar!</p>
+texto.email.anexo=<p>Email enviado a partir do Selenium!</p><p>Teste de anexo</p><p>Favor ignorar!</p>
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/mensagens.properties
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/mensagens.properties	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/mensagens.properties	(revision 3663)
@@ -0,0 +1,14 @@
+pasta.vazia=Esta pasta está vazia
+sem.destinatario=Você deve fornecer pelo menos um endereço de destinatário de email.
+sem.assunto=^Enviar esta mensagem sem assunto[\\s\\S]$
+email.enviado=Sua mensagem foi enviada e salva.
+destinatario.invalido=Erro de SMTP: Os endereços de destinatário a seguir falharam: bla@
+salva.rascunho=Sua mensagem foi salva como rascunho na pasta Rascunhos.
+limpar.lixeira=Você tem certeza que deseja limpar sua lixeira?
+lixeira.limpa=Sua pasta Lixeira foi limpa.
+apagar.uma.mensagem=Mensagem movida para a pasta Lixeira
+marcar.importante=Mensagem marcada como Importante
+marcar.normal=Mensagem marcada como Normal
+marcar.nao.lido=Mensagem marcada como Não lida
+apagar.mensagem=Mensagens movidas para pasta Lixeira
+teste=Olá {0}, {1}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/Constants.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/Constants.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/Constants.java	(revision 3663)
@@ -0,0 +1,22 @@
+package br.gov.serpro.expresso.cte.common;
+
+public interface Constants {
+	public static final String URL = Config.getInstance().getConfig("url");
+	public static final String USER = Config.getInstance().getConfig("user");
+	public static final String PASS = Config.getInstance().getConfig("passwd");
+
+	public static final String EMAIL_TESTE_1 = Config.getInstance().getValor(
+			"email.teste.1");
+	public static final String EMAIL_ASSUNTO = Config.getInstance().getValor(
+			"assunto");
+	public static final String EMAIL_TEXTO = Config.getInstance().getValor(
+			"texto.email");
+	public static final String EMAIL_ENVIADO = Config.getInstance()
+			.getMensagem("email.enviado");
+
+	public static final String EMAIL_APAGAR_MENSAGEM = Config.getInstance()
+			.getMensagem("apagar.uma.mensagem");
+	public static final String EMAIL_LIMPAR_LIXEIRA = Config.getInstance()
+			.getMensagem("limpar.lixeira");
+
+}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/campos.properties
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/campos.properties	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/campos.properties	(revision 3663)
@@ -0,0 +1,42 @@
+email.adicionar.anexo=link=exact:Anexos: adicionar+
+email.anexo.1=inputFile_1_1
+email.anexo.2=inputFile_1_2
+email.nova.mensagem=//table[@id='folders_tbl']/tbody/tr[1]/td/table/tbody/tr[2]/td/div/span
+email.para.1=to_1
+email.assunto.1=subject_1
+email.enviar.email.1=send_button_1
+email.checkbox.email=//div[@id='exmail_main_body']/div[@id='content_id_0']/div[@id='divScrollMain_0']/table[@id='table_box']/tbody[@id='tbody_box']/tr[1]/td[1]/input[1]
+email.confirmacao.leitura=return_receipt_1
+email.importante=//div[@id='exmail_main_body']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[1]/td[2]/span[3]
+email.normal=//div[@id='exmail_main_body']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[1]/td[2]/span[3]
+email.nao.lido=//div[@id='exmail_main_body']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[1]/td[2]/span[2]
+email.importante.checkbox=important_message_1
+email.copia.1=a_cc_link_1
+email.salvar=save_message_options_1
+email.copia.campo.1=cc_1
+email.copia.oculta.1=a_cco_link_1
+email.copia.oculta.campo.1=cco_1
+email.pasta.lixeira=lINBOX/Trashtree_folders
+email.pasta.enviados=lINBOX/Senttree_folders
+email.limpar.lixeira=empty_trash
+email.selecionar.todos.emails=chk_box_select_all_messages
+email.encaminhar.email=//div[@id='exmail_main_body']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[1]/td[3]/span[3]
+email.responder.email=//div[@id='exmail_main_body']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[1]/td[3]/span[5]
+email.mover.email=//span[@onclick='wfolders.makeWindow(\"\",\"move_to\")']
+email.msg.info=msg_info
+email.mensagem=em_div_write_msg
+email.div.principal=divScrollMain_0
+email.aba.mensagem=//div[@id='exmail_main_body']/table[1]/tbody[@id='border_tbody']/tr[1]/td[2]/table/tbody/tr/td[1]
+email.apagar.email=//div[@id='footer_menu']/table[@id='footer_box']/tbody/tr[@id='table_message']/td[@id='span_options']/span[1]/span
+email.total.emails=//div[@id='exmail_main_body']/table[@id='border_table']/tbody[@id='border_tbody']/tr[@id='border_tr']/td[@id='border_id_0']/font/span[@id='tot_m']
+email.responder.todos=msg_opt_reply_options{0}_r
+email.responder.todos.sem.historico=msg_opt_reply_options{0}_r
+email.responder.sem.historico=msg_opt_reply_options{0}_r
+email.id=//div[@id='divScrollMain_0']/table[@id='table_box']/tbody[@id='tbody_box']/tr[{0}]/td[1]/input[1]@id
+email.id.importante=//div[@id='exmail_main_body']/div[@id='content_id_0']/div[@id='divScrollMain_0']/table[@id='table_box']/tbody[@id='tbody_box']/tr[@id='{0}']/td[5]/img
+email.id.lido=//div[@id='exmail_main_body']/div[@id='content_id_0']/div[@id='divScrollMain_0']/table[@id='table_box']/tbody[@id='tbody_box']/tr[@id='{0}']/td[7]/img@title
+email.id.responder.todos=//div[@id='''exmail_main_body''']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[2]/td/div/span[1]
+email.id.responder.todos.sem.historico=//div[@id='''exmail_main_body''']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[2]/td/div/span[3]
+email.id.responder.sem.historico=//div[@id='''exmail_main_body''']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[2]/td/div/span[3]
+email.id.para=to{0}
+email.id.enviar=send_button{0}
Index: /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/BaseEmailTestCase.java
===================================================================
--- /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/BaseEmailTestCase.java	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/br/gov/serpro/expresso/cte/common/BaseEmailTestCase.java	(revision 3663)
@@ -0,0 +1,33 @@
+package br.gov.serpro.expresso.cte.common;
+
+import org.openqa.selenium.support.PageFactory;
+import org.testng.annotations.Test;
+
+import br.gov.serpro.expresso.cte.pages.email.HomePage;
+import br.gov.serpro.expresso.cte.pages.email.MailPage;
+
+/**
+ * @author L.F.Estivalet (Serpro)
+ * 
+ *         Created on Jan 4, 2011 at 3:53:25 PM
+ * 
+ */
+public class BaseEmailTestCase extends BaseTestCase {
+
+	/** Contem os elementos da pagina de email que sao utilizados nos testes. */
+	protected MailPage mp;
+
+	/**
+	 * Antes dos demais testes do modulo de email serem iniciados, este teste eh
+	 * executado. Ele faz o login no Expresso e vai direto para a pagina incial.
+	 * Depois clica-se no modulo ExpressoMail para entao inicializar componentes
+	 * da pagina.
+	 */
+	@Test
+	public void init() {
+		super.login();
+		HomePage hp = PageFactory.initElements(driver, HomePage.class);
+		hp.enterMail();
+		mp = PageFactory.initElements(driver, MailPage.class);
+	}
+}
Index: /devel/testlink/automation2.0/src/test/java/testng.xml
===================================================================
--- /devel/testlink/automation2.0/src/test/java/testng.xml	(revision 3663)
+++ /devel/testlink/automation2.0/src/test/java/testng.xml	(revision 3663)
@@ -0,0 +1,11 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
+  
+<suite name="Suite" >
+  <test name="Test" preserve-order="true">
+    <classes>
+       <class name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase" />
+       <class name="br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase" />
+       <class name="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase" />
+    </classes>
+  </test>
+</suite>
Index: /devel/testlink/automation2.0/pom.xml
===================================================================
--- /devel/testlink/automation2.0/pom.xml	(revision 3663)
+++ /devel/testlink/automation2.0/pom.xml	(revision 3663)
@@ -0,0 +1,79 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>br.gov.serpro.cte</groupId>
+	<artifactId>ExpressoAutomation2.0</artifactId>
+	<version>0.0.1-SNAPSHOT</version>
+	<build>
+		<plugins>
+
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<version>2.3.2</version>
+				<configuration>
+					<compilerVersion>1.6</compilerVersion>
+				</configuration>
+			</plugin>
+
+			<plugin>
+				<groupId>org.jbehave</groupId>
+				<artifactId>jbehave-maven-plugin</artifactId>
+				<version>3.1</version>
+			</plugin>
+
+
+		</plugins>
+	</build>
+	<name>ExpressoAutomation2</name>
+	<url>http://maven.apache.org</url>
+
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+	</properties>
+
+	<dependencies>
+		
+		<dependency>
+		  <groupId>org.testng</groupId>
+		  <artifactId>testng</artifactId>
+		  <version>5.14.1</version>
+		  <scope>test</scope>
+		</dependency>
+
+			<dependency>
+			<groupId>org.seleniumhq.selenium</groupId>
+			<artifactId>selenium</artifactId>
+			<version>2.0b1</version>
+		</dependency>
+
+<!--
+<dependency>
+    <groupId>org.jbehave.web</groupId>
+    <artifactId>jbehave-web-distribution</artifactId>
+    <version>3.1.1</version>
+</dependency>				 
+
+
+<dependency>
+    <groupId>org.jbehave</groupId>
+    <artifactId>jbehave-distribution</artifactId>
+    <version>3.1.1</version>
+</dependency>
+ 
+<dependency>
+    <groupId>org.mockito</groupId>
+    <artifactId>mockito-all</artifactId>
+    <version>1.8.5</version>
+</dependency>
+				 
+
+		<dependency>
+    	<groupId>org.jbehave</groupId>
+    <artifactId>jbehave</artifactId>
+    		<version>3.1.1</version>
+</dependency>
+	 -->	
+	</dependencies>
+
+</project>
Index: /devel/testlink/automation2.0/test-output/testng-results.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/testng-results.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/testng-results.xml	(revision 3663)
@@ -0,0 +1,20 @@
+<testng-results>
+  <reporter-output>
+  </reporter-output>
+  <suite name="Default suite" duration-ms="11915" started-at="2011-01-06T10:15:31Z" finished-at="2011-01-06T10:15:43Z">
+    <groups>
+    </groups>
+    <test name="Default test" duration-ms="11915" started-at="2011-01-06T10:15:31Z" finished-at="2011-01-06T10:15:43Z">
+      <class name="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase">
+        <test-method status="PASS" signature="beforeClass()" name="beforeClass" is-config="true" duration-ms="5057" started-at="2011-01-06T10:15:32Z" finished-at="2011-01-06T10:15:37Z">
+        </test-method>
+        <test-method status="PASS" signature="init()" name="init" duration-ms="4690" started-at="2011-01-06T10:15:37Z" finished-at="2011-01-06T10:15:41Z">
+        </test-method>
+        <test-method status="PASS" signature="test()" name="test" duration-ms="2004" started-at="2011-01-06T10:15:41Z" finished-at="2011-01-06T10:15:43Z">
+        </test-method>
+        <test-method status="PASS" signature="afterClass()" name="afterClass" is-config="true" duration-ms="17" started-at="2011-01-06T10:15:43Z" finished-at="2011-01-06T10:15:43Z">
+        </test-method>
+      </class>
+    </test>
+  </suite>
+</testng-results>
Index: /devel/testlink/automation2.0/test-output/testng-failed.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/testng-failed.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/testng-failed.xml	(revision 3663)
@@ -0,0 +1,14 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite verbose="0" name="Failed suite [Default suite]" parallel="false">
+  <test name="Default test(failed)">
+    <classes>
+      <class name="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase">
+        <methods>
+          <include name="test"/>
+          <include name="afterClass"/>
+          <include name="beforeClass"/>
+        </methods>
+      </class>
+    </classes>
+  </test>
+</suite>
Index: /devel/testlink/automation2.0/test-output/emailable-report.html
===================================================================
--- /devel/testlink/automation2.0/test-output/emailable-report.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/emailable-report.html	(revision 3663)
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>TestNG:  Unit Test</title>
+<style type="text/css">
+table caption,table.info_table,table.param,table.passed,table.failed {margin-bottom:10px;border:1px solid #000099;border-collapse:collapse;empty-cells:show;}
+table.info_table td,table.info_table th,table.param td,table.param th,table.passed td,table.passed th,table.failed td,table.failed th {
+border:1px solid #000099;padding:.25em .5em .25em .5em
+}
+table.param th {vertical-align:bottom}
+td.numi,th.numi,td.numi_attn {
+text-align:right
+}
+tr.total td {font-weight:bold}
+table caption {
+text-align:center;font-weight:bold;
+}
+table.passed tr.stripe td,table tr.passedodd td {background-color: #00AA00;}
+table.passed td,table tr.passedeven td {background-color: #33FF33;}
+table.passed tr.stripe td,table tr.skippedodd td {background-color: #cccccc;}
+table.passed td,table tr.skippedodd td {background-color: #dddddd;}
+table.failed tr.stripe td,table tr.failedodd td,table.param td.numi_attn {background-color: #FF3333;}
+table.failed td,table tr.failedeven td,table.param tr.stripe td.numi_attn {background-color: #DD0000;}
+tr.stripe td,tr.stripe th {background-color: #E6EBF9;}
+p.totop {font-size:85%;text-align:center;border-bottom:2px black solid}
+div.shootout {padding:2em;border:3px #4854A8 solid}
+</style>
+</head>
+<body>
+<table cellspacing=0 cellpadding=0 class="param">
+<tr><th>Test</th><th class="numi">Methods<br/>Passed</th><th class="numi">Scenarios<br/>Passed</th><th class="numi"># skipped</th><th class="numi"># failed</th><th class="numi">Total<br/>Time</th><th class="numi">Included<br/>Groups</th><th class="numi">Excluded<br/>Groups</th></tr>
+<tr><td style="text-align:left;padding-right:2em">Default test</td><td class="numi">2</td><td class="numi">2</td><td class="numi">0</td><td class="numi">0</td><td class="numi">11.9 seconds</td><td class="numi"></td><td class="numi"></td></tr>
+</table>
+<a id="summary"></a>
+<table cellspacing=0 cellpadding=0 class="passed">
+<tr><th>Class</th><th>Method</th><th># of<br/>Scenarios</th><th>Time<br/>(Msecs)</th></tr>
+<tr><th colspan="4">Default test &#8212; passed</th></tr>
+<tr class="passedodd"><td rowspan="2">br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase<td><a href="#m1"><b>init</b>  </a></td><td class="numi">1</td><td class="numi">4690</td></tr><tr class="passedodd"><td><a href="#m2"><b>test</b>  </a></td><td class="numi">1</td><td class="numi">2004</td></tr>
+</table>
+<h1>Default test</h1>
+<a id="m1"></a><h2>br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase:init</h2>
+<p class="totop"><a href="#summary">back to summary</a></p>
+<a id="m2"></a><h2>br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase:test</h2>
+<p class="totop"><a href="#summary">back to summary</a></p>
+</body></html>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemAssuntoTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemAssuntoTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemAssuntoTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemAssuntoTestCase" tests="2" failures="0" timestamp="5 Jan 2011 16:50:17 GMT" time="7.652" errors="0">
+  <testcase name="test" time="3.842" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemAssuntoTestCase"/>
+  <testcase name="init" time="3.810" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemAssuntoTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailImportanteTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailImportanteTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailImportanteTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailImportanteTestCase" tests="2" failures="0" timestamp="5 Jan 2011 16:51:00 GMT" time="7.805" errors="0">
+  <testcase name="init" time="4.673" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailImportanteTestCase"/>
+  <testcase name="test" time="3.132" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailImportanteTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaOcultaTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaOcultaTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaOcultaTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaOcultaTestCase" tests="2" failures="0" timestamp="5 Jan 2011 16:52:31 GMT" time="7.114" errors="0">
+  <testcase name="test" time="3.467" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaOcultaTestCase"/>
+  <testcase name="init" time="3.647" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaOcultaTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.SalvarEmailTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.SalvarEmailTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.SalvarEmailTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.compor.SalvarEmailTestCase" tests="2" failures="0" timestamp="5 Jan 2011 16:48:31 GMT" time="9.884" errors="0">
+  <testcase name="test" time="3.133" classname="br.gov.serpro.expresso.cte.email.compor.SalvarEmailTestCase"/>
+  <testcase name="init" time="6.751" classname="br.gov.serpro.expresso.cte.email.compor.SalvarEmailTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase" tests="2" failures="0" timestamp="6 Jan 2011 12:15:44 GMT" time="6.694" errors="0">
+  <testcase name="init" time="4.690" classname="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase"/>
+  <testcase name="test" time="2.004" classname="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeituraTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeituraTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeituraTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeituraTestCase" tests="2" failures="0" timestamp="5 Jan 2011 16:53:21 GMT" time="6.863" errors="0">
+  <testcase name="init" time="3.759" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeituraTestCase"/>
+  <testcase name="test" time="3.104" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeituraTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailAnexoTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailAnexoTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailAnexoTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailAnexoTestCase" tests="2" failures="0" timestamp="5 Jan 2011 16:53:59 GMT" time="9.875" errors="0">
+  <testcase name="test" time="3.149" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailAnexoTestCase"/>
+  <testcase name="init" time="6.726" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailAnexoTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeitura.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeitura.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeitura.xml	(revision 3663)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeitura" tests="1" failures="0" timestamp="5 Jan 2011 11:53:43 GMT" time="5.866" errors="1">
+  <testcase name="test" time="5.866" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeitura">
+    <error type="java.lang.NullPointerException">
+      <![CDATA[java.lang.NullPointerException
+	at org.openqa.selenium.remote.RemoteWebDriver$RemoteAlert.getText(RemoteWebDriver.java:577)
+	at br.gov.serpro.expresso.cte.pages.email.MailPage.sendMail(MailPage.java:80)
+	at br.gov.serpro.expresso.cte.email.compor.EnviarEmailConfirmacaoLeitura.test(EnviarEmailConfirmacaoLeitura.java:18)
+	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
+	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
+	at java.lang.reflect.Method.invoke(Method.java:597)
+	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)
+	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
+	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:846)
+	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1168)
+	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
+	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
+	at org.testng.TestRunner.runWorkers(TestRunner.java:1125)
+	at org.testng.TestRunner.privateRun(TestRunner.java:749)
+	at org.testng.TestRunner.run(TestRunner.java:600)
+	at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)
+	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312)
+	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:274)
+	at org.testng.SuiteRunner.run(SuiteRunner.java:223)
+	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
+	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
+	at org.testng.TestNG.runSuitesSequentially(TestNG.java:954)
+	at org.testng.TestNG.runSuitesLocally(TestNG.java:883)
+	at org.testng.TestNG.run(TestNG.java:817)
+	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:110)
+	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:205)
+	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)
+]]>
+    </error>
+  </testcase>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaTestCase" tests="2" failures="0" timestamp="5 Jan 2011 16:51:39 GMT" time="8.310" errors="0">
+  <testcase name="test" time="3.368" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaTestCase"/>
+  <testcase name="init" time="4.942" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailCopiaTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemDestinatarioTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemDestinatarioTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemDestinatarioTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemDestinatarioTestCase" tests="2" failures="0" timestamp="5 Jan 2011 16:49:32 GMT" time="6.537" errors="0">
+  <testcase name="init" time="3.681" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemDestinatarioTestCase"/>
+  <testcase name="test" time="2.856" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailSemDestinatarioTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase" tests="2" failures="0" timestamp="6 Jan 2011 12:14:20 GMT" time="5.197" errors="0">
+  <testcase name="test" time="1.383" classname="br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase"/>
+  <testcase name="init" time="3.814" classname="br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/junitreports/TEST-br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase.xml	(revision 3663)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by org.testng.reporters.JUnitReportReporter -->
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase" tests="2" failures="0" timestamp="6 Jan 2011 12:14:20 GMT" time="6.618" errors="0">
+  <testcase name="init" time="3.393" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase"/>
+  <testcase name="test" time="3.225" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/Suite/classes.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/classes.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/classes.html	(revision 3663)
@@ -0,0 +1,108 @@
+<table border='1'>
+<tr>
+<th>Class name</th>
+<th>Method name</th>
+<th>Groups</th>
+</tr><tr>
+<td>br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase</td>
+<td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@Test</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>test</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td>&nbsp;</td>
+<td>init</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>beforeClass</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeMethod</td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@AfterMethod</td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@AfterClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>afterClass</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td>br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase</td>
+<td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@Test</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>test</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td>&nbsp;</td>
+<td>init</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>beforeClass</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeMethod</td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@AfterMethod</td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@AfterClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>afterClass</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td>br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase</td>
+<td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@Test</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>test</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td>&nbsp;</td>
+<td>init</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>beforeClass</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeMethod</td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@AfterMethod</td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@AfterClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>afterClass</td>
+<td>&nbsp;</td></tr>
+</table>
Index: /devel/testlink/automation2.0/test-output/Suite/Test.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/Test.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/Test.html	(revision 3663)
@@ -0,0 +1,147 @@
+<html>
+<head>
+<title>TestNG:  Test</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+
+<style type="text/css">
+.log { display: none;} 
+.stack-trace { display: none;} 
+</style>
+<script type="text/javascript">
+<!--
+function flip(e) {
+  current = e.style.display;
+  if (current == 'block') {
+    e.style.display = 'none';
+    return 0;
+  }
+  else {
+    e.style.display = 'block';
+    return 1;
+  }
+}
+
+function toggleBox(szDivId, elem, msg1, msg2)
+{
+  var res = -1;  if (document.getElementById) {
+    res = flip(document.getElementById(szDivId));
+  }
+  else if (document.all) {
+    // this is the way old msie versions work
+    res = flip(document.all[szDivId]);
+  }
+  if(elem) {
+    if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
+  }
+
+}
+
+function toggleAllBoxes() {
+  if (document.getElementsByTagName) {
+    d = document.getElementsByTagName('div');
+    for (i = 0; i < d.length; i++) {
+      if (d[i].className == 'log') {
+        flip(d[i]);
+      }
+    }
+  }
+}
+
+// -->
+</script>
+
+</head>
+<body>
+<h2 align='center'>Test</h2><table border='1' align="center">
+<tr>
+<td>Tests passed/Failed/Skipped:</td><td>5/1/0</td>
+</tr><tr>
+<td>Started on:</td><td>Thu Jan 06 10:13:44 BRST 2011</td>
+</tr>
+<tr><td>Total time:</td><td>36 seconds (36082 ms)</td>
+</tr><tr>
+<td>Included groups:</td><td></td>
+</tr><tr>
+<td>Excluded groups:</td><td></td>
+</tr>
+</table><p/>
+<small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table width='100%' border='1' class='invocation-failed'>
+<tr><td colspan='4' align='center'><b>FAILED TESTS</b></td></tr>
+<tr><td><b>Test method</b></td>
+<td width="30%"><b>Exception</b></td>
+<td width="10%"><b>Time (seconds)</b></td>
+<td><b>Instance</b></td>
+</tr>
+<tr>
+<td title='br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.test()'><b>test</b><br>Test class: br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase</td>
+<td><div><pre>java.lang.AssertionError
+	at br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.test(LimparLixeiraTestCase.java:23)
+... Removed 25 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace31561261", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a>
+<div class='stack-trace' id='stack-trace31561261'><pre>java.lang.AssertionError
+	at br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.test(LimparLixeiraTestCase.java:23)
+	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
+	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
+	at java.lang.reflect.Method.invoke(Method.java:597)
+	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:74)
+	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
+	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:846)
+	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1168)
+	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
+	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
+	at org.testng.TestRunner.runWorkers(TestRunner.java:1125)
+	at org.testng.TestRunner.privateRun(TestRunner.java:749)
+	at org.testng.TestRunner.run(TestRunner.java:600)
+	at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)
+	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312)
+	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:274)
+	at org.testng.SuiteRunner.run(SuiteRunner.java:223)
+	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
+	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
+	at org.testng.TestNG.runSuitesSequentially(TestNG.java:954)
+	at org.testng.TestNG.runSuitesLocally(TestNG.java:883)
+	at org.testng.TestNG.run(TestNG.java:817)
+	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:110)
+	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:205)
+	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)
+</pre></div></td>
+<td>0</td>
+<td>br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase@1386918</td></tr>
+</table><p>
+<table width='100%' border='1' class='invocation-passed'>
+<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>
+<tr><td><b>Test method</b></td>
+<td width="30%"><b>Exception</b></td>
+<td width="10%"><b>Time (seconds)</b></td>
+<td><b>Instance</b></td>
+</tr>
+<tr>
+<td title='br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase.init()'><b>init</b><br>Test class: br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase</td>
+<td></td>
+<td>3</td>
+<td>br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase@7bb290</td></tr>
+<tr>
+<td title='br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase.init()'><b>init</b><br>Test class: br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase</td>
+<td></td>
+<td>3</td>
+<td>br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase@8acf6e</td></tr>
+<tr>
+<td title='br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.init()'><b>init</b><br>Test class: br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase</td>
+<td></td>
+<td>6</td>
+<td>br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase@1386918</td></tr>
+<tr>
+<td title='br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase.test()'><b>test</b><br>Test class: br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase</td>
+<td></td>
+<td>3</td>
+<td>br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase@7bb290</td></tr>
+<tr>
+<td title='br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase.test()'><b>test</b><br>Test class: br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase</td>
+<td></td>
+<td>1</td>
+<td>br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase@8acf6e</td></tr>
+</table><p>
+</body>
+</html>
Index: /devel/testlink/automation2.0/test-output/Suite/groups.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/groups.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/groups.html	(revision 3663)
@@ -0,0 +1,1 @@
+<h2>Groups used for this test run</h2>
Index: /devel/testlink/automation2.0/test-output/Suite/reporter-output.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/reporter-output.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/reporter-output.html	(revision 3663)
@@ -0,0 +1,1 @@
+<h2>Reporter output</h2><table></table>
Index: /devel/testlink/automation2.0/test-output/Suite/testng-failed.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/testng-failed.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/testng-failed.xml	(revision 3663)
@@ -0,0 +1,26 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite verbose="0" name="Failed suite [Suite]" parallel="false">
+  <test name="Test(failed)">
+    <classes>
+      <class name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase">
+        <methods>
+          <include name="afterClass"/>
+          <include name="beforeClass"/>
+        </methods>
+      </class>
+      <class name="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase">
+        <methods>
+          <include name="test"/>
+          <include name="afterClass"/>
+          <include name="beforeClass"/>
+        </methods>
+      </class>
+      <class name="br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase">
+        <methods>
+          <include name="afterClass"/>
+          <include name="beforeClass"/>
+        </methods>
+      </class>
+    </classes>
+  </test>
+</suite>
Index: /devel/testlink/automation2.0/test-output/Suite/methods-not-run.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/methods-not-run.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/methods-not-run.html	(revision 3663)
@@ -0,0 +1,2 @@
+<h2>Methods that were not run</h2><table>
+</table>
Index: /devel/testlink/automation2.0/test-output/Suite/methods.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/methods.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/methods.html	(revision 3663)
@@ -0,0 +1,28 @@
+<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="718783">  <td>11/01/06 10:13:44</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;br.gov.serpro.expresso.cte.common.BaseTestCase.beforeClass()">&gt;&gt;beforeClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="ac79ad">  <td>11/01/06 10:13:49</td>   <td>4972</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.common.BaseEmailTestCase.init()">init</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="6da5eb">  <td>11/01/06 10:13:53</td>   <td>8410</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase.test()">test</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="718783">  <td>11/01/06 10:13:56</td>   <td>11677</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;br.gov.serpro.expresso.cte.common.BaseTestCase.afterClass()">&lt;&lt;afterClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="718783">  <td>11/01/06 10:13:56</td>   <td>11700</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;br.gov.serpro.expresso.cte.common.BaseTestCase.beforeClass()">&gt;&gt;beforeClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="ac79ad">  <td>11/01/06 10:14:02</td>   <td>17280</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.common.BaseEmailTestCase.init()">init</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="687d8e">  <td>11/01/06 10:14:05</td>   <td>21137</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase.test()">test</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="718783">  <td>11/01/06 10:14:07</td>   <td>22561</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;br.gov.serpro.expresso.cte.common.BaseTestCase.afterClass()">&lt;&lt;afterClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="718783">  <td>11/01/06 10:14:07</td>   <td>22577</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;br.gov.serpro.expresso.cte.common.BaseTestCase.beforeClass()">&gt;&gt;beforeClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="ac79ad">  <td>11/01/06 10:14:12</td>   <td>28028</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.common.BaseEmailTestCase.init()">init</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="b3f889">  <td>11/01/06 10:14:19</td>   <td>34977</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.test()">test</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="718783">  <td>11/01/06 10:14:20</td>   <td>35953</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;br.gov.serpro.expresso.cte.common.BaseTestCase.afterClass()">&lt;&lt;afterClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+</table>
Index: /devel/testlink/automation2.0/test-output/Suite/testng.xml.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/testng.xml.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/testng.xml.html	(revision 3663)
@@ -0,0 +1,1 @@
+<html><head><title>testng.xml for Suite</title></head><body><tt>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt;<br/>&lt;suite&nbsp;verbose="0"&nbsp;name="Suite"&nbsp;parallel="false"&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;name="Test"&nbsp;preserve-order="true"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;<br/>&lt;/suite&gt;<br/></tt></body></html>
Index: /devel/testlink/automation2.0/test-output/Suite/main.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/main.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/main.html	(revision 3663)
@@ -0,0 +1,2 @@
+<html><head><title>Results for Suite</title></head>
+<body>Select a result on the left-hand pane.</body></html>
Index: /devel/testlink/automation2.0/test-output/Suite/toc.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/toc.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/toc.html	(revision 3663)
@@ -0,0 +1,30 @@
+<html>
+<head>
+<title>Results for Suite</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<h3><p align="center">Results for<br/><em>Suite</em></p></h3>
+<table border='1' width='100%'>
+<tr valign='top'>
+<td>1 test</td>
+<td><a target='mainFrame' href='classes.html'>3 classes</a></td>
+<td>6 methods:<br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
+</tr>
+<tr>
+<td><a target='mainFrame' href='groups.html'>0 group</a></td>
+<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>
+<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>
+</tr></table>
+<table width='100%' class='test-failed'>
+<tr><td>
+<table style='width: 100%'><tr><td valign='top'>Test (5/1/0)</td><td valign='top' align='right'>
+  <a href='Test.html' target='mainFrame'>Results</a>
+</td></tr></table>
+</td></tr><p/>
+</table>
+</body></html>
Index: /devel/testlink/automation2.0/test-output/Suite/Test.properties
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/Test.properties	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/Test.properties	(revision 3663)
@@ -0,0 +1,1 @@
+[SuiteResult Test]
Index: /devel/testlink/automation2.0/test-output/Suite/index.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/index.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/index.html	(revision 3663)
@@ -0,0 +1,6 @@
+<html><head><title>Results for Suite</title></head>
+<frameset cols="26%,74%">
+<frame src="toc.html" name="navFrame">
+<frame src="main.html" name="mainFrame">
+</frameset>
+</html>
Index: /devel/testlink/automation2.0/test-output/Suite/methods-alphabetical.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/methods-alphabetical.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/methods-alphabetical.html	(revision 3663)
@@ -0,0 +1,28 @@
+<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="718783">  <td>11/01/06 10:13:56</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;br.gov.serpro.expresso.cte.common.BaseTestCase.afterClass()">&lt;&lt;afterClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="718783">  <td>11/01/06 10:14:07</td>   <td>10884</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;br.gov.serpro.expresso.cte.common.BaseTestCase.afterClass()">&lt;&lt;afterClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="718783">  <td>11/01/06 10:14:20</td>   <td>24276</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;br.gov.serpro.expresso.cte.common.BaseTestCase.afterClass()">&lt;&lt;afterClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="718783">  <td>11/01/06 10:13:44</td>   <td>-11677</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;br.gov.serpro.expresso.cte.common.BaseTestCase.beforeClass()">&gt;&gt;beforeClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="718783">  <td>11/01/06 10:13:56</td>   <td>23</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;br.gov.serpro.expresso.cte.common.BaseTestCase.beforeClass()">&gt;&gt;beforeClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="718783">  <td>11/01/06 10:14:07</td>   <td>10900</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;br.gov.serpro.expresso.cte.common.BaseTestCase.beforeClass()">&gt;&gt;beforeClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="ac79ad">  <td>11/01/06 10:13:49</td>   <td>-6705</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.common.BaseEmailTestCase.init()">init</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="ac79ad">  <td>11/01/06 10:14:02</td>   <td>5603</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.common.BaseEmailTestCase.init()">init</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="ac79ad">  <td>11/01/06 10:14:12</td>   <td>16351</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.common.BaseEmailTestCase.init()">init</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="6da5eb">  <td>11/01/06 10:13:53</td>   <td>-3267</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase.test()">test</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="687d8e">  <td>11/01/06 10:14:05</td>   <td>9460</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase.test()">test</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+<tr bgcolor="b3f889">  <td>11/01/06 10:14:19</td>   <td>23300</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.test()">test</td> 
+  <td>main@32079775</td>   <td></td> </tr>
+</table>
Index: /devel/testlink/automation2.0/test-output/Suite/Test.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/Suite/Test.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Suite/Test.xml	(revision 3663)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.common.BaseEmailTestCase" tests="6" failures="1" timestamp="6 Jan 2011 12:14:20 GMT" time="36.082" errors="0">
+  <testcase name="init" time="3.393" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase"/>
+  <testcase name="test" time="3.225" classname="br.gov.serpro.expresso.cte.email.compor.EnviarEmailTestCase"/>
+  <testcase name="init" time="3.814" classname="br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase"/>
+  <testcase name="test" time="1.383" classname="br.gov.serpro.expresso.cte.email.listar.ApagarEmailSelecionadoTestCase"/>
+  <testcase name="init" time="6.907" classname="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase"/>
+  <testcase name="test" time="0.928" classname="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase">
+    <failure type="java.lang.AssertionError">
+      <![CDATA[java.lang.AssertionError
+	at br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.test(LimparLixeiraTestCase.java:23)
+... Removed 25 stack frames]]>
+    </failure>
+  </testcase>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/index.html
===================================================================
--- /devel/testlink/automation2.0/test-output/index.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/index.html	(revision 3663)
@@ -0,0 +1,9 @@
+<html>
+<head><title>Test results</title><link href="./testng.css" rel="stylesheet" type="text/css" />
+<link href="./my-testng.css" rel="stylesheet" type="text/css" />
+</head><body>
+<h2><p align='center'>Test results</p></h2>
+<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</th><th>Skipped</th><th>testng.xml</th></tr>
+<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>2</em></td><td><em>0</em></td><td><em>0</em></td><td>&nbsp;</td></tr>
+<tr align='center' class='invocation-passed'><td><a href='Default suite/index.html'>Default suite</a></td>
+<td>2</td><td>0</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html>
Index: /devel/testlink/automation2.0/test-output/testng.css
===================================================================
--- /devel/testlink/automation2.0/test-output/testng.css	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/testng.css	(revision 3663)
@@ -0,0 +1,9 @@
+.invocation-failed,  .test-failed  { background-color: #DD0000; }
+.invocation-percent, .test-percent { background-color: #006600; }
+.invocation-passed,  .test-passed  { background-color: #00AA00; }
+.invocation-skipped, .test-skipped { background-color: #CCCC00; }
+
+.main-page {
+  font-size: x-large;
+}
+
Index: /devel/testlink/automation2.0/test-output/Default suite/Default test.properties
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/Default test.properties	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/Default test.properties	(revision 3663)
@@ -0,0 +1,1 @@
+[SuiteResult Default test]
Index: /devel/testlink/automation2.0/test-output/Default suite/classes.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/classes.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/classes.html	(revision 3663)
@@ -0,0 +1,40 @@
+<table border='1'>
+<tr>
+<th>Class name</th>
+<th>Method name</th>
+<th>Groups</th>
+</tr><tr>
+<td>br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase</td>
+<td>&nbsp;</td><td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@Test</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>test</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td>&nbsp;</td>
+<td>init</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>beforeClass</td>
+<td>&nbsp;</td></tr>
+<tr>
+<td align='center' colspan='3'>@BeforeMethod</td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@AfterMethod</td>
+</tr>
+<tr>
+<td align='center' colspan='3'>@AfterClass</td>
+</tr>
+<tr>
+<td>&nbsp;</td>
+<td>afterClass</td>
+<td>&nbsp;</td></tr>
+</table>
Index: /devel/testlink/automation2.0/test-output/Default suite/groups.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/groups.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/groups.html	(revision 3663)
@@ -0,0 +1,1 @@
+<h2>Groups used for this test run</h2>
Index: /devel/testlink/automation2.0/test-output/Default suite/Default test.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/Default test.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/Default test.xml	(revision 3663)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testsuite hostname="luiz-VirtualBox" name="br.gov.serpro.expresso.cte.common.BaseEmailTestCase" tests="2" failures="0" timestamp="6 Jan 2011 12:15:43 GMT" time="11.915" errors="0">
+  <testcase name="init" time="4.69" classname="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase"/>
+  <testcase name="test" time="2.004" classname="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase"/>
+</testsuite>
Index: /devel/testlink/automation2.0/test-output/Default suite/reporter-output.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/reporter-output.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/reporter-output.html	(revision 3663)
@@ -0,0 +1,1 @@
+<h2>Reporter output</h2><table></table>
Index: /devel/testlink/automation2.0/test-output/Default suite/testng-failed.xml
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/testng-failed.xml	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/testng-failed.xml	(revision 3663)
@@ -0,0 +1,14 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite verbose="0" name="Failed suite [Default suite]" parallel="false">
+  <test name="Default test(failed)">
+    <classes>
+      <class name="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase">
+        <methods>
+          <include name="test"/>
+          <include name="afterClass"/>
+          <include name="beforeClass"/>
+        </methods>
+      </class>
+    </classes>
+  </test>
+</suite>
Index: /devel/testlink/automation2.0/test-output/Default suite/methods-not-run.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/methods-not-run.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/methods-not-run.html	(revision 3663)
@@ -0,0 +1,2 @@
+<h2>Methods that were not run</h2><table>
+</table>
Index: /devel/testlink/automation2.0/test-output/Default suite/methods.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/methods.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/methods.html	(revision 3663)
@@ -0,0 +1,12 @@
+<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="acee92">  <td>11/01/06 10:15:32</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;br.gov.serpro.expresso.cte.common.BaseTestCase.beforeClass()">&gt;&gt;beforeClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@30066395</td>   <td></td> </tr>
+<tr bgcolor="98a4b5">  <td>11/01/06 10:15:37</td>   <td>5059</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.common.BaseEmailTestCase.init()">init</td> 
+  <td>main@30066395</td>   <td></td> </tr>
+<tr bgcolor="e1d5ea">  <td>11/01/06 10:15:41</td>   <td>9796</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.test()">test</td> 
+  <td>main@30066395</td>   <td></td> </tr>
+<tr bgcolor="acee92">  <td>11/01/06 10:15:43</td>   <td>11841</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;br.gov.serpro.expresso.cte.common.BaseTestCase.afterClass()">&lt;&lt;afterClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@30066395</td>   <td></td> </tr>
+</table>
Index: /devel/testlink/automation2.0/test-output/Default suite/testng.xml.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/testng.xml.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/testng.xml.html	(revision 3663)
@@ -0,0 +1,1 @@
+<html><head><title>testng.xml for Default suite</title></head><body><tt>&lt;!DOCTYPE&nbsp;suite&nbsp;SYSTEM&nbsp;"http://testng.org/testng-1.0.dtd"&gt;<br/>&lt;suite&nbsp;verbose="0"&nbsp;name="Default&nbsp;suite"&nbsp;parallel="false"&gt;<br/>&nbsp;&nbsp;&lt;test&nbsp;verbose="2"&nbsp;name="Default&nbsp;test"&nbsp;preserve-order="false"&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;classes&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;class&nbsp;name="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase"/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/classes&gt;<br/>&nbsp;&nbsp;&lt;/test&gt;<br/>&lt;/suite&gt;<br/></tt></body></html>
Index: /devel/testlink/automation2.0/test-output/Default suite/Default test.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/Default test.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/Default test.html	(revision 3663)
@@ -0,0 +1,89 @@
+<html>
+<head>
+<title>TestNG:  Default test</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+
+<style type="text/css">
+.log { display: none;} 
+.stack-trace { display: none;} 
+</style>
+<script type="text/javascript">
+<!--
+function flip(e) {
+  current = e.style.display;
+  if (current == 'block') {
+    e.style.display = 'none';
+    return 0;
+  }
+  else {
+    e.style.display = 'block';
+    return 1;
+  }
+}
+
+function toggleBox(szDivId, elem, msg1, msg2)
+{
+  var res = -1;  if (document.getElementById) {
+    res = flip(document.getElementById(szDivId));
+  }
+  else if (document.all) {
+    // this is the way old msie versions work
+    res = flip(document.all[szDivId]);
+  }
+  if(elem) {
+    if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
+  }
+
+}
+
+function toggleAllBoxes() {
+  if (document.getElementsByTagName) {
+    d = document.getElementsByTagName('div');
+    for (i = 0; i < d.length; i++) {
+      if (d[i].className == 'log') {
+        flip(d[i]);
+      }
+    }
+  }
+}
+
+// -->
+</script>
+
+</head>
+<body>
+<h2 align='center'>Default test</h2><table border='1' align="center">
+<tr>
+<td>Tests passed/Failed/Skipped:</td><td>2/0/0</td>
+</tr><tr>
+<td>Started on:</td><td>Thu Jan 06 10:15:31 BRST 2011</td>
+</tr>
+<tr><td>Total time:</td><td>11 seconds (11915 ms)</td>
+</tr><tr>
+<td>Included groups:</td><td></td>
+</tr><tr>
+<td>Excluded groups:</td><td></td>
+</tr>
+</table><p/>
+<small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table width='100%' border='1' class='invocation-passed'>
+<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>
+<tr><td><b>Test method</b></td>
+<td width="30%"><b>Exception</b></td>
+<td width="10%"><b>Time (seconds)</b></td>
+<td><b>Instance</b></td>
+</tr>
+<tr>
+<td title='br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.init()'><b>init</b><br>Test class: br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase</td>
+<td></td>
+<td>4</td>
+<td>br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase@1506dc4</td></tr>
+<tr>
+<td title='br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.test()'><b>test</b><br>Test class: br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase</td>
+<td></td>
+<td>2</td>
+<td>br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase@1506dc4</td></tr>
+</table><p>
+</body>
+</html>
Index: /devel/testlink/automation2.0/test-output/Default suite/main.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/main.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/main.html	(revision 3663)
@@ -0,0 +1,2 @@
+<html><head><title>Results for Default suite</title></head>
+<body>Select a result on the left-hand pane.</body></html>
Index: /devel/testlink/automation2.0/test-output/Default suite/toc.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/toc.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/toc.html	(revision 3663)
@@ -0,0 +1,30 @@
+<html>
+<head>
+<title>Results for Default suite</title>
+<link href="../testng.css" rel="stylesheet" type="text/css" />
+<link href="../my-testng.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<h3><p align="center">Results for<br/><em>Default suite</em></p></h3>
+<table border='1' width='100%'>
+<tr valign='top'>
+<td>1 test</td>
+<td><a target='mainFrame' href='classes.html'>1 class</a></td>
+<td>2 methods:<br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods.html'>chronological</a><br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/>
+&nbsp;&nbsp;<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td>
+</tr>
+<tr>
+<td><a target='mainFrame' href='groups.html'>0 group</a></td>
+<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td>
+<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td>
+</tr></table>
+<table width='100%' class='test-passed'>
+<tr><td>
+<table style='width: 100%'><tr><td valign='top'>Default test (2/0/0)</td><td valign='top' align='right'>
+  <a href='Default test.html' target='mainFrame'>Results</a>
+</td></tr></table>
+</td></tr><p/>
+</table>
+</body></html>
Index: /devel/testlink/automation2.0/test-output/Default suite/index.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/index.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/index.html	(revision 3663)
@@ -0,0 +1,6 @@
+<html><head><title>Results for Default suite</title></head>
+<frameset cols="26%,74%">
+<frame src="toc.html" name="navFrame">
+<frame src="main.html" name="mainFrame">
+</frameset>
+</html>
Index: /devel/testlink/automation2.0/test-output/Default suite/methods-alphabetical.html
===================================================================
--- /devel/testlink/automation2.0/test-output/Default suite/methods-alphabetical.html	(revision 3663)
+++ /devel/testlink/automation2.0/test-output/Default suite/methods-alphabetical.html	(revision 3663)
@@ -0,0 +1,12 @@
+<h2>Methods run, sorted chronologically</h2><h3>&gt;&gt; means before, &lt;&lt; means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
+<table border="1">
+<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr>
+<tr bgcolor="acee92">  <td>11/01/06 10:15:43</td>   <td>0</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&lt;&lt;br.gov.serpro.expresso.cte.common.BaseTestCase.afterClass()">&lt;&lt;afterClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@30066395</td>   <td></td> </tr>
+<tr bgcolor="acee92">  <td>11/01/06 10:15:32</td>   <td>-11841</td> <td>&nbsp;</td><td>&nbsp;</td><td title="&gt;&gt;br.gov.serpro.expresso.cte.common.BaseTestCase.beforeClass()">&gt;&gt;beforeClass</td> 
+<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>  <td>main@30066395</td>   <td></td> </tr>
+<tr bgcolor="98a4b5">  <td>11/01/06 10:15:37</td>   <td>-6782</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.common.BaseEmailTestCase.init()">init</td> 
+  <td>main@30066395</td>   <td></td> </tr>
+<tr bgcolor="e1d5ea">  <td>11/01/06 10:15:41</td>   <td>-2045</td> <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td title="br.gov.serpro.expresso.cte.email.listar.LimparLixeiraTestCase.test()">test</td> 
+  <td>main@30066395</td>   <td></td> </tr>
+</table>
Index: /devel/testlink/automation2.0/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- /devel/testlink/automation2.0/.settings/org.eclipse.jdt.core.prefs	(revision 3663)
+++ /devel/testlink/automation2.0/.settings/org.eclipse.jdt.core.prefs	(revision 3663)
@@ -0,0 +1,9 @@
+#Fri Nov 26 10:04:47 BRST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.6
Index: /devel/testlink/automation2.0/.settings/org.maven.ide.eclipse.prefs
===================================================================
--- /devel/testlink/automation2.0/.settings/org.maven.ide.eclipse.prefs	(revision 3663)
+++ /devel/testlink/automation2.0/.settings/org.maven.ide.eclipse.prefs	(revision 3663)
@@ -0,0 +1,9 @@
+#Fri Nov 26 09:14:18 BRST 2010
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
