public class ReferenceResourceTest extends Object
ReferenceResource
class.Constructor and Description |
---|
ReferenceResourceTest() |
Modifier and Type | Method and Description |
---|---|
void |
testXmlMarshalling()
Tests that
reference resources are marshalled to
the expected XML format. |
public void testXmlMarshalling() throws IOException, JAXBException, org.apache.tika.mime.MimeTypeException, SAXException
reference resources
are marshalled to
the expected XML format.IOException
- if the Diff
constructor failsJAXBException
- if the JAXBContext
or Marshaller
failorg.apache.tika.mime.MimeTypeException
- if MimeTypes.forName(String)
failsSAXException
- if the Diff
constructor failsCopyright © 1999–2017 Apache OODT. All rights reserved.