public abstract class BindingTest extends Object
| Constructor and Description |
|---|
BindingTest() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addApplication(HttpApplication application)
Add an application to the server.
|
protected abstract void |
createServer()
Create a server to bind a CHF application to in tests.
|
void |
setUp()
Set up for tests.
|
protected abstract int |
startServer()
Start the server.
|
protected abstract void |
stopServer()
Stop the server.
|
void |
tearDown()
Tear down after tests.
|
void |
testAnswerWith500IfHttpApplicationFailedToStart()
Test 500 errors are returned if the application doesn't start correctly.
|
void |
testDescribedHttpApplicationLifecycle()
Test the application lifecycle for a described application.
|
void |
testHttpApplicationLifecycle()
Test the application lifecycle.
|
void |
testRequest()
Test a request.
|
void |
testSession()
Test the session.
|
protected abstract void createServer()
protected abstract void stopServer()
throws Exception
Exception - In case of error.protected abstract int startServer()
throws Exception
Exception - In case of error.protected abstract void addApplication(HttpApplication application) throws Exception
application - The application.Exception - In case of failure.@BeforeMethod
public final void setUp()
throws Exception
Exception - In case of failure.@AfterMethod
public final void tearDown()
throws Exception
Exception - In case of failure.public void testDescribedHttpApplicationLifecycle()
throws Exception
Exception - In case of failure.public void testHttpApplicationLifecycle()
throws Exception
Exception - In case of failure.public void testAnswerWith500IfHttpApplicationFailedToStart()
throws Exception
Exception - In case of failure.public void testRequest()
throws Exception
Exception - In case of failure.Copyright © 2025 Open Identity Platform Community. All rights reserved.