hudson.plugins.fitnesse
Class NativePageCounts
java.lang.Object
org.xml.sax.helpers.DefaultHandler
hudson.plugins.fitnesse.NativePageCounts
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class NativePageCounts
- extends DefaultHandler
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PAGE
public static final String PAGE
- See Also:
- Constant Field Values
PSEUDO_PAGE
public static final String PSEUDO_PAGE
- See Also:
- Constant Field Values
CONTENT
public static final String CONTENT
- See Also:
- Constant Field Values
APPROX_RESULT_DATE
public static final String APPROX_RESULT_DATE
- See Also:
- Constant Field Values
RIGHT
public static final String RIGHT
- See Also:
- Constant Field Values
WRONG
public static final String WRONG
- See Also:
- Constant Field Values
IGNORED
public static final String IGNORED
- See Also:
- Constant Field Values
EXCEPTIONS
public static final String EXCEPTIONS
- See Also:
- Constant Field Values
DURATION
public static final String DURATION
- See Also:
- Constant Field Values
SUMMARY
public static final String SUMMARY
- See Also:
- Constant Field Values
DETAIL
public static final String DETAIL
- See Also:
- Constant Field Values
NativePageCounts
public NativePageCounts(PrintStream logger,
String rootDirName)
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
- Stores the actual fitnesse results. We do not want to merge them into
build.xml since the results may have size of several MB. E.g. in a suite
with lots of fitnesse-tests the user usually wants to see a view results.
Putting all fitnesse results into build.xml will load all results into
memory which can slow down the system.
The allContents is read later on. The content is written to separate
files.
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
resultsDateOf
public String resultsDateOf(String approxResultDate)
size
public int size()
getSummary
public hudson.plugins.fitnesse.NativePageCounts.Counts getSummary()
getDetailsContents
public List<String> getDetailsContents()
getAllCounts
public Collection<hudson.plugins.fitnesse.NativePageCounts.Counts> getAllCounts()
getDetails
public List<hudson.plugins.fitnesse.NativePageCounts.Counts> getDetails()
Copyright © 2004-2014. All Rights Reserved.