public class DocumentConversionIT extends WatsonServiceTest
CONTENT_TYPE, PLACEHOLDER, properties
Constructor and Description |
---|
DocumentConversionIT() |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Sets the up.
|
void |
testConvertToAnswers()
Test Convert to answers unit.
|
void |
testConvertToHtml()
Test convert to HTML.
|
void |
testConvertToText()
Test convert to Text.
|
void |
testIndexDocumentAndMetadataAndConvertDocConfig()
Test a dry run of the index document api with document, metadata, and convert document config.
|
void |
testIndexDocumentAndMetadataConvertDocConfigAndIndexConfig()
Test a dry run of the index document api with document, metadata, convert document config, and index config.
|
void |
testIndexDocumentAndMetadataDryRun()
Test a dry run of the index document api with document and metadata.
|
void |
testIndexDocumentDryRun()
Test a dry run of the index document api with document only.
|
void |
testIndexMetadataDryRun()
Test a dry run of the index document api with metadata only.
|
getDefaultHeaders, getProperty, getStringFromInputStream, loadFixture, writeInputStreamToFile
public void setUp() throws java.lang.Exception
WatsonServiceTest
setUp
in class WatsonServiceTest
java.lang.Exception
- the exceptionpublic void testConvertToAnswers()
public void testConvertToHtml()
public void testConvertToText()
public void testIndexDocumentDryRun()
public void testIndexMetadataDryRun()
public void testIndexDocumentAndMetadataDryRun()
public void testIndexDocumentAndMetadataAndConvertDocConfig()
public void testIndexDocumentAndMetadataConvertDocConfigAndIndexConfig()