@@ -0,0 +1,995 @@
+package test.reports;%0A%0Aimport org.testng.Assert;%0Aimport org.testng.Reporter;%0Aimport org.testng.annotations.Test;%0A%0A/**%0A * Generates multiple permutations of TestNG output to see how things look in EmailableReporter.%0A * %0A * @author Paul Mendelson%0A * @since 5.3%0A * @version $Revision$%0A */%0A@Test%0Apublic class EmailableReportDriver %7B%0A  %0A  public void doFailureSansLog() %7B%0A    Assert.fail(%22show failure in report%22);%0A  %7D    %0A  public void doFailureNested() %7B%0A    Assert.fail(%22show failure in report%22,new Exception(%22Real cuase%22));%0A  %7D    %0A  public void doFailureWithLog() %7B%0A    Reporter.log(%22Preparing to fail%22);%0A    Assert.fail(%22show failure in report%22);%0A  %7D%0A  @Test(expectedExceptions=%7BNumberFormatException.class%7D)%0A  public void doExpectedExceptionSansLog() %7B%0A    Reporter.log(%22step 1%22);%0A    Reporter.log(%22step 2%22);%0A    Integer.parseInt(%22BAD TEXT%22);%0A  %7D%0A  @Test(expectedExceptions=%7BNumberFormatException.class%7D)%0A  public void doExpectedExceptionWithLog() %7B%0A    Integer.parseInt(%22BAD TEXT%22);%0A  %7D%0A  %0A%7D%0A

Generates multiple permutations of TestNG output to see how things look in EmailableReporter.