Search in sources :

Example 6 with RunWrapper

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

the class Test_ReportFormatter method createRun.

private RunWrapper createRun() {
    RunWrapper run = new RunWrapper();
    run.productName = "product";
    run.versionName = "version";
    run.buildName = "build";
    run.os = "os";
    run.scenariosTotal = 1;
    Suite suite = new Suite();
    suite.scenariosTotal = 1;
    run.addSuite(new SuiteWrapper(suite));
    return run;
}
Also used : Suite(com.axway.ats.log.autodb.entities.Suite) SuiteWrapper(com.axway.ats.log.report.model.SuiteWrapper) RunWrapper(com.axway.ats.log.report.model.RunWrapper)

Aggregations

RunWrapper (com.axway.ats.log.report.model.RunWrapper)6 ReportFormatter (com.axway.ats.log.report.model.ReportFormatter)5 SuiteWrapper (com.axway.ats.log.report.model.SuiteWrapper)3 Test (org.junit.Test)3 Suite (com.axway.ats.log.autodb.entities.Suite)2 MailReportSender (com.axway.ats.log.report.model.MailReportSender)2 PublicAtsApi (com.axway.ats.common.PublicAtsApi)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