public abstract class AbstractEventReporter extends Object implements EventReporter
| Modifier and Type | Field and Description |
|---|---|
protected static String |
FAILED_LABEL_PREFIX |
protected static String |
ID_EVENT_LABEL |
protected static int |
LIMIT_VALUE |
protected org.apache.commons.logging.Log |
log |
protected static String |
NEW_LINE |
protected org.alfresco.bm.event.ResultService |
resultService |
protected static String |
TIME_EVENT_LABEL |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEventReporter(org.alfresco.bm.event.ResultService resultService) |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
buildHeaders(List<String> headers)
Helper method to build header labels of csv file.
|
protected void |
writeTestDetails(Writer writer,
String notes)
Dump summary data for a test
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportprotected static String ID_EVENT_LABEL
protected static String TIME_EVENT_LABEL
protected static String FAILED_LABEL_PREFIX
protected static final String NEW_LINE
protected static final int LIMIT_VALUE
protected org.apache.commons.logging.Log log
protected final org.alfresco.bm.event.ResultService resultService
protected AbstractEventReporter(org.alfresco.bm.event.ResultService resultService)
resultService - service providing access to resultspublic static List<String> buildHeaders(List<String> headers)
headers - collection of event names to use as labels for headerprotected void writeTestDetails(Writer writer, String notes) throws IOException
IOExceptionCopyright © 2013. All Rights Reserved.