Search in sources :

Example 6 with ReportFormatter

use of com.axway.ats.log.report.model.ReportFormatter in project ats-framework by Axway.

the class Test_ReportFormatter method passedRun.

@Test
public void passedRun() throws MessagingException {
    RunWrapper run = createRun();
    ReportFormatter formatter = new ReportFormatter(run);
    assertTrue(formatter.getDescription().length() > 0);
    assertTrue(formatter.toHtml().length() > 0);
}
Also used : RunWrapper(com.axway.ats.log.report.model.RunWrapper) ReportFormatter(com.axway.ats.log.report.model.ReportFormatter) Test(org.junit.Test)

Aggregations

ReportFormatter (com.axway.ats.log.report.model.ReportFormatter)6 RunWrapper (com.axway.ats.log.report.model.RunWrapper)5 MailReportSender (com.axway.ats.log.report.model.MailReportSender)3 Test (org.junit.Test)3 SuiteWrapper (com.axway.ats.log.report.model.SuiteWrapper)2 PublicAtsApi (com.axway.ats.common.PublicAtsApi)1 Suite (com.axway.ats.log.autodb.entities.Suite)1 Testcase (com.axway.ats.log.autodb.entities.Testcase)1 EndRunEvent (com.axway.ats.log.autodb.events.EndRunEvent)1 EndSuiteEvent (com.axway.ats.log.autodb.events.EndSuiteEvent)1 EndTestCaseEvent (com.axway.ats.log.autodb.events.EndTestCaseEvent)1 StartRunEvent (com.axway.ats.log.autodb.events.StartRunEvent)1 StartSuiteEvent (com.axway.ats.log.autodb.events.StartSuiteEvent)1 StartTestCaseEvent (com.axway.ats.log.autodb.events.StartTestCaseEvent)1 AbstractLoggingEvent (com.axway.ats.log.autodb.model.AbstractLoggingEvent)1 ReportExtactor (com.axway.ats.log.report.model.ReportExtactor)1 ParseException (java.text.ParseException)1 ArrayList (java.util.ArrayList)1