Package net.thucydides.core.model
Class ReportNamer
java.lang.Object
net.thucydides.core.model.ReportNamer
Determies the correct default name for test reports.
- Author:
- johnsmart
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReportNamerforReportType(ReportType type) getNormalizedTestNameFor(Story userStory) getNormalizedTestNameFor(TestOutcome testOutcome) Return a filesystem-friendly version of the test case name.getNormalizedTestReportNameFor(String testName) getSimpleTestNameFor(TestOutcome testOutcome) Return a filesystem-friendly version of the test case name.optionallyCompressed(String text) withPrefix(String prefix)
-
Constructor Details
-
ReportNamer
-
-
Method Details
-
forReportType
-
getNormalizedTestNameFor
Return a filesystem-friendly version of the test case name. The file system version should have no spaces and have the XML file suffix. -
getNormalizedTestReportNameFor
-
optionallyCompressed
-
getSimpleTestNameFor
Return a filesystem-friendly version of the test case name. The filesytem version should have no spaces and have the XML file suffix. -
getNormalizedTestNameFor
-
getNormalizedTestNameFor
-
withNoCompression
-
withPrefix
-