public class OpenCppunitPublisherConverter extends ConvertToLabeledGroupsConverter
CPPUNIT_PARSER_TO_USE, ENABLE_CONVERSIONS, JUNIT_PARSER_TO_USE, LOGGER, OPEN_CPPUNIT_PLUGIN_CLASS_NAME
Constructor and Description |
---|
OpenCppunitPublisherConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class type)
Determines whether the converter can marshall a particular type.
|
void |
marshal(Object source,
com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
com.thoughtworks.xstream.converters.MarshallingContext context)
This method will be called to save old cppunit publishers to disk, but we do not
want to allow that save operation if this plugin is installed.
|
static void |
registerWithXStream(com.thoughtworks.xstream.XStream xstream) |
Object |
unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
com.thoughtworks.xstream.converters.UnmarshallingContext context)
Convert textual data back into an object.
|
public void marshal(Object source, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
reader
- The stream to read the text from.context
- public boolean canConvert(Class type)
type
- the Class representing the object type to be convertedpublic static void registerWithXStream(com.thoughtworks.xstream.XStream xstream)
Copyright © 2004-2017 Yahoo!, Inc.. All Rights Reserved.