| Interface | Description |
|---|---|
| IPolicyTestBackEndService |
During a policy test, we need something to simulate an invoke to a back
end API/service.
|
| Class | Description |
|---|---|
| ApimanPolicyTest |
Base class for all apiman policy tests.
|
| EchoBackEndService |
The default policy test backend service.
|
| PolicyTestBackEndServiceResponse |
A response returned by the
IPolicyTestBackEndService. |
| PolicyTester |
A junit test runner that makes it really easy to unit test custom policy
implementations.
|
| PolicyTesterBufferFactoryComponent |
Buffer factory component for use in policy unit tests.
|
| PolicyTesterConnector |
Creates a connection to the back end service.
|
| PolicyTesterConnectorFactory |
The
IConnectorFactory used by the policy testing framework. |
| PolicyTesterServiceConnection |
A connection a simulated back end service.
|
| PolicyTesterServiceConnectionResponse |
The response created by the policy tester service connection.
|
| PolicyTestRequest |
Send one of these to the "send" method found in the
ApimanPolicyTest class
in order to simulate an HTTP request being sent to the API Gateway. |
| PolicyTestResponse |
The data returned by a call to the "send" method of
ApimanPolicyTest. |
| Enum | Description |
|---|---|
| PolicyTestRequestType |
The possible request types.
|
| Exception | Description |
|---|---|
| PolicyFailureError |
Thrown when the policy test results in a policy failure.
|
| Annotation Type | Description |
|---|---|
| BackEndService |
Allows tests to be configured with an alternate simulated back end
service.
|
| Configuration |
Allows developers to define the configuration that should be given to the
policy during the test.
|
| TestingPolicy |
Allows developers to specify which of their policy implementations
they are testing.
|
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.