public class TransferResourceTest extends Object
TransferResource
class.Constructor and Description |
---|
TransferResourceTest() |
Modifier and Type | Method and Description |
---|---|
void |
testXmlMarshalling()
Tests that
transfer resources are marshalled to
the expected XML format. |
public void testXmlMarshalling() throws IOException, JAXBException, org.apache.tika.mime.MimeTypeException, SAXException
transfer 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.