Package nl.b3p.web
Class WebTestUtil
java.lang.Object
nl.b3p.brmo.service.testutil.TestUtil
nl.b3p.web.WebTestUtil
- Direct Known Subclasses:
DownloadLogIntegrationTest
,ErrorPageIntegrationTest
,IndexPageIntegrationTest
,LogsPageIntegrationTest
Integratie test utility klasse om online integratie tests te bouwen welke tegen een brmo-service
kunnen worden uitgevoerd.
- Author:
- Mark Prins
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
the server root url.protected static org.apache.http.impl.client.CloseableHttpClient
our test client. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
initialize http client.static void
close http client connections.Methods inherited from class nl.b3p.brmo.service.testutil.TestUtil
checkDatabaseIsProvided, closeConnections, endTest, loadDBprop, setUp, setupJNDI, startTest
-
Field Details
-
BASE_TEST_URL
the server root url. "http://localhost:9091/brmo-service/"- See Also:
-
client
protected static org.apache.http.impl.client.CloseableHttpClient clientour test client.
-
-
Constructor Details
-
WebTestUtil
public WebTestUtil()
-
-
Method Details
-
setUpClass
initialize http client. -
tearDownClass
close http client connections.- Throws:
IOException
- if any occurs closing the http connection
-