public class DialogServiceIT extends WatsonServiceTest
CONTENT_TYPE, PLACEHOLDER, properties
Constructor and Description |
---|
DialogServiceIT() |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Sets the up.
|
void |
testConverseAndGetConversationData()
Test create conversation.
|
void |
testConverseWithNulls()
Test converse with nulls.
|
void |
testCreateConversationWithNull()
Test create conversation with null.
|
void |
testCreateDialog()
Test create, update and delete dialogs.
|
void |
testCreateDialogWithNull()
Test create dialog with null.
|
void |
testDeleteDialogWithNull()
Test delete dialog with null.
|
void |
testGetContent()
Test get content.
|
void |
testGetContentWithNull()
Test get content with null.
|
void |
testGetConversationData()
Test get conversation data.
|
void |
testGetDialogs()
Test get dialogs.
|
void |
testGetProfile()
Test get profile.
|
void |
testProfileVariableEncoding()
Test profile variable encoding.
|
void |
testToString()
Test to string.
|
void |
testUpdateDialog()
Test update dialog.
|
void |
testUpdateProfile()
Test update profile.
|
getDefaultHeaders, getProperty, getStringFromInputStream, loadFixture, writeInputStreamToFile
public void setUp() throws java.lang.Exception
WatsonServiceTest
setUp
in class WatsonServiceTest
java.lang.Exception
- the exceptionpublic void testConverseAndGetConversationData() throws java.text.ParseException, java.lang.InterruptedException
java.text.ParseException
- the parse exceptionjava.lang.InterruptedException
- the interrupted exceptionpublic void testGetContent()
public void testProfileVariableEncoding()
public void testConverseWithNulls()
public void testCreateConversationWithNull()
public void testCreateDialog() throws java.net.URISyntaxException
java.net.URISyntaxException
- the URI syntax exceptionpublic void testCreateDialogWithNull()
public void testDeleteDialogWithNull()
public void testGetContentWithNull()
public void testGetConversationData()
public void testGetDialogs()
public void testGetProfile()
public void testToString()
public void testUpdateDialog()
public void testUpdateProfile()