|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.models.common.export.util.impl.XMLSerializer
org.eclipse.hyades.models.common.export.util.impl.TPFTestSuiteSerializer
| Field Summary | |
|---|---|
protected boolean |
constrainDates
|
protected java.util.Stack |
containsVerdicts
|
protected long |
endTime
|
static java.lang.String |
LF
|
protected boolean |
onlyConsiderMostRecentResult
|
protected int[] |
overallVerdict
|
static java.lang.String |
RESPONSE_URL
|
protected long |
startTime
|
protected int[] |
suiteVerdict
|
static java.lang.String |
TIME
|
| Fields inherited from class org.eclipse.hyades.models.common.export.util.impl.XMLSerializer |
|---|
content, dom, format, indent, os, parent, parentStack |
| Constructor Summary | |
|---|---|
TPFTestSuiteSerializer(org.eclipse.emf.common.util.EList content)
Constructor that takes in a list of EMF objects (the source model) and an outputstream. |
|
TPFTestSuiteSerializer(org.eclipse.emf.common.util.EList content,
java.io.OutputStream os)
Constructor that takes in a list of EMF objects (the source model) and an outputstream. |
|
| Method Summary | |
|---|---|
protected org.eclipse.emf.common.util.EList |
buildTestSuiteList()
|
protected void |
cleanup()
|
protected org.w3c.dom.Element |
createElement(java.lang.Object element,
boolean root)
Constructs an XML element based on an object |
static java.util.List |
findAllReferencedTestSuites(TPFTestSuite testSuite)
Recursively resolves all referenced test suites from the parameter root test suite. |
long |
getEndTime()
|
long |
getStartTime()
|
protected void |
init()
Initialize serializer. |
boolean |
isConstrainDates()
|
protected boolean |
isContainsVerdict()
|
boolean |
isOnlyConsiderMostRecentResult()
|
protected void |
recurseGenerate(org.eclipse.emf.common.util.EList list,
boolean root)
Helper function that processes the list of elements during serialization. |
protected void |
resetVerdict()
|
void |
serialize(org.eclipse.emf.common.util.EList content,
java.util.List[] allExecutionResults)
This method will serialize the contents of the EMF test model to a DOM representation. |
void |
serialize(org.eclipse.emf.common.util.EList content,
java.util.List[] allExecutionResults,
java.util.Properties properties)
|
void |
serialize(java.io.OutputStream out)
This method will serialize the contents of the EMF test model to a DOM representation. |
void |
serialize(java.io.OutputStream out,
java.util.Properties properties)
|
void |
setConstrainDates(boolean constrainDates)
|
void |
setEndTime(long endTime)
|
void |
setOnlyConsiderMostRecentResult(boolean onlyConsiderMostRecentResult)
|
protected void |
setParentContainsVerdict(boolean flag)
|
void |
setStartTime(long startTime)
|
protected void |
setVerdict(boolean flag)
|
| Methods inherited from class org.eclipse.hyades.models.common.export.util.impl.XMLSerializer |
|---|
appendTextNode, beginTag, beginTag, createDocument, decode, endTag, endTag, getDom, getIndent, isFormat, serializeGeneratedDocument, serializeGeneratedDocumentToString, setAttribute, setFormat, setIndent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String RESPONSE_URL
public static final java.lang.String TIME
public static final java.lang.String LF
protected boolean onlyConsiderMostRecentResult
protected boolean constrainDates
protected int[] suiteVerdict
protected int[] overallVerdict
protected java.util.Stack containsVerdicts
protected long startTime
protected long endTime
| Constructor Detail |
public TPFTestSuiteSerializer(org.eclipse.emf.common.util.EList content,
java.io.OutputStream os)
content - a list of EMF objects to serializeos - the outputstream to serialize topublic TPFTestSuiteSerializer(org.eclipse.emf.common.util.EList content)
content - a list of EMF objects to serialize| Method Detail |
protected void init()
protected void cleanup()
protected boolean isContainsVerdict()
protected void setParentContainsVerdict(boolean flag)
protected void setVerdict(boolean flag)
protected void resetVerdict()
public boolean isOnlyConsiderMostRecentResult()
public void setOnlyConsiderMostRecentResult(boolean onlyConsiderMostRecentResult)
public void serialize(java.io.OutputStream out)
org.eclipse.hyades.test.tools.ui.common.internal.report.ISerializer#serialize()
public void serialize(java.io.OutputStream out,
java.util.Properties properties)
protected org.eclipse.emf.common.util.EList buildTestSuiteList()
public static java.util.List findAllReferencedTestSuites(TPFTestSuite testSuite)
testSuite - The root test suite.
public void serialize(org.eclipse.emf.common.util.EList content,
java.util.List[] allExecutionResults)
org.eclipse.hyades.test.tools.ui.common.internal.report.ISerializer#serialize()
public void serialize(org.eclipse.emf.common.util.EList content,
java.util.List[] allExecutionResults,
java.util.Properties properties)
protected void recurseGenerate(org.eclipse.emf.common.util.EList list,
boolean root)
list -
protected org.w3c.dom.Element createElement(java.lang.Object element,
boolean root)
createElement in class XMLSerializerelement - object that is used to construct the XML element
public long getEndTime()
public void setEndTime(long endTime)
public long getStartTime()
public void setStartTime(long startTime)
public boolean isConstrainDates()
public void setConstrainDates(boolean constrainDates)
|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||