Package de.gebit.integrity.fixtures
Interface CustomStringConversionFixture
public interface CustomStringConversionFixture
A fixture may implement this optional interface to provide customized string conversion functionality, which will be
used to convert values returned by the fixture to strings to be displayed in the console or the XML result file. Note
that at the moment, a fixture can only influence the conversion of its own results, not the conversion of the
expected result given in the test script!
- Author:
- Rene Schneider - initial API and implementation
-
Method Summary
Modifier and TypeMethodDescriptionconvertValueToString(Object aValue, String aFixtureMethod) Converts the given value (which is a result value from a fixture method call) to a String.
-
Method Details
-
convertValueToString
Converts the given value (which is a result value from a fixture method call) to a String.- Parameters:
aValue- the value to convertaFixtureMethod- the fixture method name which was called and which returned the value- Returns:
- the resulting string
-