| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractSolrServerControllerTest.AbstractSolrServerControllerSpy |
| Modifier and Type | Field and Description |
|---|---|
ExpectedException |
expectedException |
static String |
INSTANCE_NAME |
static String |
INSTANCE_PORT |
static String |
SOLT_MULTIPLE_SERVERS_STDOUT_FILE |
static String |
SOLT_NO_JSON_STDOUT_FILE |
static String |
SOLT_NO_SERVER_STDOUT_FILE |
| Constructor and Description |
|---|
AbstractSolrServerControllerTest() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
readFile(String file) |
void |
restartRunningServer() |
void |
serverDoesNotStart() |
void |
setUp() |
void |
startServer() |
void |
startServerWithStatusRetry() |
void |
statusShouldBeStarted() |
void |
statusShouldBeStopped() |
void |
statusShouldBeUnknown() |
void |
stopServer() |
void |
thrownExceptionBecauseWrongServerIsRunning() |
public static final String INSTANCE_NAME
public static final String INSTANCE_PORT
public static final String SOLT_MULTIPLE_SERVERS_STDOUT_FILE
public static final String SOLT_NO_JSON_STDOUT_FILE
public static final String SOLT_NO_SERVER_STDOUT_FILE
public ExpectedException expectedException
public void startServerWithStatusRetry()
throws Exception
Exceptionpublic void thrownExceptionBecauseWrongServerIsRunning()
throws Exception
Exceptionprotected String readFile(String file) throws IOException
IOExceptionCopyright © 2017 SAP SE. All Rights Reserved.