public class RetrieveAndRankIT extends WatsonServiceTest
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
expectedException
The expected exception.
|
CONTENT_TYPE, PLACEHOLDER, properties| Constructor and Description |
|---|
RetrieveAndRankIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
preservesErrorMessages()
Preserves error messages.
|
void |
setUp()
Sets the up.
|
void |
testCreateAndDeleteSolrCluster()
Test create and delete solr cluster.
|
void |
testCreateAndDeleteSolrClusterWithOptions()
Test create and delete solr cluster with options.
|
void |
testCreateRankerAndRankResults()
Test create ranker and rank results.
|
void |
testDeleteAllRankers()
Test delete all rankers.
|
void |
testGetRankers()
Test get rankers.
|
void |
testGetRankerStatus()
Test get ranker status.
|
void |
testGetSolrCluster()
Test get solr cluster.
|
void |
testGetSolrClusterConfiguration()
Test get solr cluster configuration.
|
void |
testGetSolrClusters()
Test get solr clusters.
|
void |
testGetSolrClusterStats()
Test getting a Solr cluster's stats.
|
void |
testGetSolrUrl()
Test get solr url.
|
void |
testRankResults() |
void |
testSolrClusterResize()
Test solr cluster resize.
|
void |
testUploadAndDeleteSolrClusterConfigurationDirectory()
Test upload and delete solr cluster configuration directory.
|
void |
testUploadAndDeleteSolrClusterConfigurationZip()
Test upload and delete solr cluster configuration zip.
|
getDefaultHeaders, getProperty, getStringFromInputStream, loadFixture, writeInputStreamToFilepublic final org.junit.rules.ExpectedException expectedException
public void setUp()
throws java.lang.Exception
WatsonServiceTestsetUp in class WatsonServiceTestjava.lang.Exception - the exceptionpublic void testDeleteAllRankers()
public void testCreateRankerAndRankResults()
throws java.lang.InterruptedException,
java.io.IOException
java.lang.InterruptedException - the interrupted exceptionjava.io.IOException - Signals that an I/O exception has occurred.public void testRankResults()
throws java.io.IOException
java.io.IOExceptionpublic void testCreateAndDeleteSolrCluster()
public void testCreateAndDeleteSolrClusterWithOptions()
public void testGetRankers()
public void testGetRankerStatus()
public void testGetSolrCluster()
public void preservesErrorMessages()
public void testGetSolrClusterConfiguration()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.public void testGetSolrClusters()
public void testGetSolrClusterStats()
public void testGetSolrUrl()
public void testUploadAndDeleteSolrClusterConfigurationDirectory()
public void testUploadAndDeleteSolrClusterConfigurationZip()
public void testSolrClusterResize()
throws java.lang.InterruptedException
java.lang.InterruptedException - the interrupted exception