public class NaturalLanguageUnderstandingIT extends WatsonServiceTest
CONTENT_TYPE, PLACEHOLDER, properties
Constructor and Description |
---|
NaturalLanguageUnderstandingIT() |
Modifier and Type | Method and Description |
---|---|
void |
analyzeHtmlForConceptsIsSuccessful()
Analyze test HTML for concepts.
|
void |
analyzeHtmlForMetadataIsSuccessful()
Analyze html input for metadata.
|
void |
analyzeHtmlIsSuccessful()
Default test for HTML input.
|
void |
analyzeTextForCategoriesIsSuccessful()
Analyze input text for categories.
|
void |
analyzeTextForConceptsIsSuccessful()
Analyze given test input text for concepts.
|
void |
analyzeTextForEmotionsWithoutTargetsIsSuccessful()
Analyze input text for emotions without targets.
|
void |
analyzeTextForEntitiesIsSuccessful()
Analyze input text for entities.
|
void |
analyzeTextForKeywordsIsSuccessful()
Analyze input text for keywords.
|
void |
analyzeTextForRelationsIsSuccessful()
Analyze input text for relations.
|
void |
analyzeTextForSemanticRolesIsSuccessful()
Analyze input text for semantic roles.
|
void |
analyzeTextForSentimentWithoutTargetsIsSuccessful()
Analyze input text for sentiment without targets.
|
void |
analyzeTextForSentimentWithTargetsIsSuccessful()
Analyze input text for sentiment with targets.
|
void |
analyzeTextIsSuccessful()
Default test for text input.
|
void |
analyzeUrlIsSuccessful()
Default test for URL input.
|
void |
setUp()
Sets the up.
|
getDefaultHeaders, getProperty, getStringFromInputStream, loadFixture, writeInputStreamToFile
public void setUp() throws java.lang.Exception
WatsonServiceTest
setUp
in class WatsonServiceTest
java.lang.Exception
- the exceptionpublic void analyzeHtmlIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeTextIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeUrlIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeTextForConceptsIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeHtmlForConceptsIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeTextForEmotionsWithoutTargetsIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeTextForEntitiesIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeTextForKeywordsIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeHtmlForMetadataIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeTextForRelationsIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeTextForSemanticRolesIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeTextForSentimentWithTargetsIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeTextForSentimentWithoutTargetsIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void analyzeTextForCategoriesIsSuccessful() throws java.lang.Exception
java.lang.Exception
- the exception