public class AlchemyLanguageIT extends WatsonServiceTest
CONTENT_TYPE, PLACEHOLDER, properties
Constructor and Description |
---|
AlchemyLanguageIT() |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Sets the up.
|
void |
testApiKeyIsNull()
Test api key is null.
|
void |
testCombined()
Test comboined.
|
void |
testFeeds()
Test Get testFeeds.
|
void |
testGetAuthors()
Test Get testGetAuthor.
|
void |
testGetConceptsHTML()
Test get concepts HTML.
|
void |
testGetConceptsText()
Test get concepts Tet.
|
void |
testGetConceptsUrl()
Test Get getTaxonomy URL.
|
void |
testGetDates()
Test get dates from a url.
|
void |
testGetEmotionHTML()
Test get emotion from HTML.
|
void |
testGetEmotionText()
Test get emotion from text.
|
void |
testGetEmotionUrl()
Test Get emotion from URL.
|
void |
testGetEntitiesHtml()
Test Get entities HTML.
|
void |
testGetEntitiesUrl()
Test Get entities URL.
|
void |
testGetEntitiesWithDifferentCharacters()
Test Get entities HTML.
|
void |
testGetLanguage()
Test Get testGetLanguage.
|
void |
testGetPublicationDateHTML()
Test get publication date html.
|
void |
testGetPublicationDateURL()
Test get publication date url.
|
void |
testGetRelationsHtml()
Test Get testGetRelationsHtml HTML.
|
void |
testGetRelationsUrl()
Test Get testGetRelationsUrl URL.
|
void |
testGetTargetedSentimentHtml()
Test Get testGetTargetedSentiment HTML.
|
void |
testGetTargetedSentimentURL()
Test Get testGetTargetedSentiment Url.
|
void |
testGetTargetedSentimentURLAndTargets()
Test Get testGetTargetedSentiment Url and multiple targets.
|
void |
testGetTaxonomyHtml()
Test Get getTaxonomy HTML.
|
void |
testGetTaxonomyUrl()
Test Get getTaxonomy URL.
|
void |
testGetTextSentimentHtml()
Test Get testGetTextSentiment HTML.
|
void |
testGetTextSentimentUrl()
Test Get testGetTextSentiment URL.
|
void |
testGetTitle()
Test Get testGetTitle.
|
void |
testGetTypedRelationsHTML()
Test get typed relations from HTML.
|
void |
testGetTypedRelationsText()
Test get typed relations from text.
|
void |
testGetTypedRelationsUrl()
Test Get typed relations from URL.
|
void |
testGetWordsHtml()
Test Get keywords HTML.
|
void |
testGetWordsUrl()
Test Get keywords URL.
|
void |
testMicroformats()
Test microformats.
|
void |
testRawText()
Test Get testGetRawText.
|
void |
testText()
Test Get testGetText.
|
getDefaultHeaders, getProperty, getStringFromInputStream, loadFixture, writeInputStreamToFile
public void setUp() throws java.lang.Exception
WatsonServiceTest
setUp
in class WatsonServiceTest
java.lang.Exception
- the exceptionpublic void testApiKeyIsNull()
public void testCombined()
public void testFeeds()
public void testGetAuthors()
public void testGetConceptsHTML()
public void testGetConceptsText()
public void testGetConceptsUrl()
public void testGetEntitiesHtml()
public void testGetEntitiesUrl()
public void testGetEntitiesWithDifferentCharacters()
public void testGetLanguage()
public void testGetPublicationDateHTML()
public void testGetPublicationDateURL()
public void testGetRelationsHtml()
public void testGetRelationsUrl()
public void testGetTargetedSentimentHtml()
public void testGetTargetedSentimentURL()
public void testGetTargetedSentimentURLAndTargets()
public void testGetTaxonomyHtml() throws java.io.IOException
java.io.IOException
- Signals that an I/O exception has occurred.public void testGetTaxonomyUrl()
public void testGetTextSentimentHtml()
public void testGetTextSentimentUrl()
public void testGetTitle()
public void testGetWordsHtml()
public void testGetWordsUrl()
public void testMicroformats()
public void testRawText() throws java.lang.Exception
java.lang.Exception
public void testText()
public void testGetDates()
public void testGetEmotionHTML()
public void testGetEmotionText()
public void testGetEmotionUrl()
public void testGetTypedRelationsHTML()
public void testGetTypedRelationsText()
public void testGetTypedRelationsUrl()