Class TestResultWrapperConverter

  • All Implemented Interfaces:
    com.thoughtworks.xstream.converters.Converter , com.thoughtworks.xstream.converters.ConverterMatcher

    
    public class TestResultWrapperConverter
    extends AbstractCollectionConverter
                        

    XStream Class to convert TestResultWrapper

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static String getVersion() Returns the converter version; used to check for possible incompatibilities
      boolean canConvert(Class arg0)
      void marshal(Object arg0, HierarchicalStreamWriter arg1, MarshallingContext arg2)
      Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) Read test results from JTL files and pass them to the visualiser directly.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestResultWrapperConverter

        TestResultWrapperConverter(Mapper arg0)
        Parameters:
        arg0 - the Mapper to be used
    • Method Detail

      • getVersion

         static String getVersion()

        Returns the converter version; used to check for possible incompatibilities

        Returns:

        the version of this converter

      • marshal

         void marshal(Object arg0, HierarchicalStreamWriter arg1, MarshallingContext arg2)
      • unmarshal

         Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context)

        Read test results from JTL files and pass them to the visualiser directly. If the ResultCollector helper object is defined, then pass the samples to that rather than adding them to the test result wrapper.

        Returns:

        the test result wrapper (may be empty)