Package com.yahoo.jdisc.test
Class ServerProviderConformanceTest
- java.lang.Object
-
- com.yahoo.jdisc.test.ServerProviderConformanceTest
-
public abstract class ServerProviderConformanceTest extends Object
- Author:
- Simon Thoresen Hult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ServerProviderConformanceTest.Adapter<T extends ServerProvider,U,V>
This interface declares the adapter between the general conformance test and an actualServerProvider
implementation.static class
ServerProviderConformanceTest.ConformanceException
An instance of this exception is thrown within the conformance tests that imply that they will throw an exception.
-
Constructor Summary
Constructors Constructor Description ServerProviderConformanceTest()
-
Method Summary
-
-
-
Method Detail
-
testContainerNotReadyException
public abstract void testContainerNotReadyException() throws Throwable
- Throws:
Throwable
-
testBindingSetNotFoundException
public abstract void testBindingSetNotFoundException() throws Throwable
- Throws:
Throwable
-
testNoBindingSetSelectedException
public abstract void testNoBindingSetSelectedException() throws Throwable
- Throws:
Throwable
-
testBindingNotFoundException
public abstract void testBindingNotFoundException() throws Throwable
- Throws:
Throwable
-
testRequestHandlerWithSyncCloseResponse
public abstract void testRequestHandlerWithSyncCloseResponse() throws Throwable
- Throws:
Throwable
-
testRequestHandlerWithSyncWriteResponse
public abstract void testRequestHandlerWithSyncWriteResponse() throws Throwable
- Throws:
Throwable
-
testRequestHandlerWithSyncHandleResponse
public abstract void testRequestHandlerWithSyncHandleResponse() throws Throwable
- Throws:
Throwable
-
testRequestHandlerWithAsyncHandleResponse
public abstract void testRequestHandlerWithAsyncHandleResponse() throws Throwable
- Throws:
Throwable
-
testRequestExceptionWithSyncCloseResponse
public abstract void testRequestExceptionWithSyncCloseResponse() throws Throwable
- Throws:
Throwable
-
testRequestExceptionWithSyncWriteResponse
public abstract void testRequestExceptionWithSyncWriteResponse() throws Throwable
- Throws:
Throwable
-
testRequestNondeterministicExceptionWithSyncHandleResponse
public abstract void testRequestNondeterministicExceptionWithSyncHandleResponse() throws Throwable
- Throws:
Throwable
-
testRequestExceptionBeforeResponseWriteWithSyncHandleResponse
public abstract void testRequestExceptionBeforeResponseWriteWithSyncHandleResponse() throws Throwable
- Throws:
Throwable
-
testRequestExceptionAfterResponseWriteWithSyncHandleResponse
public abstract void testRequestExceptionAfterResponseWriteWithSyncHandleResponse() throws Throwable
- Throws:
Throwable
-
testRequestNondeterministicExceptionWithAsyncHandleResponse
public abstract void testRequestNondeterministicExceptionWithAsyncHandleResponse() throws Throwable
- Throws:
Throwable
-
testRequestExceptionBeforeResponseWriteWithAsyncHandleResponse
public abstract void testRequestExceptionBeforeResponseWriteWithAsyncHandleResponse() throws Throwable
- Throws:
Throwable
-
testRequestExceptionAfterResponseCloseNoContentWithAsyncHandleResponse
public abstract void testRequestExceptionAfterResponseCloseNoContentWithAsyncHandleResponse() throws Throwable
- Throws:
Throwable
-
testRequestExceptionAfterResponseWriteWithAsyncHandleResponse
public abstract void testRequestExceptionAfterResponseWriteWithAsyncHandleResponse() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteWithSyncCompletion
public abstract void testRequestContentWriteWithSyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteWithAsyncCompletion
public abstract void testRequestContentWriteWithAsyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteWithNondeterministicSyncFailure
public abstract void testRequestContentWriteWithNondeterministicSyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteWithSyncFailureBeforeResponseWrite
public abstract void testRequestContentWriteWithSyncFailureBeforeResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteWithSyncFailureAfterResponseWrite
public abstract void testRequestContentWriteWithSyncFailureAfterResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteWithNondeterministicAsyncFailure
public abstract void testRequestContentWriteWithNondeterministicAsyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteWithAsyncFailureBeforeResponseWrite
public abstract void testRequestContentWriteWithAsyncFailureBeforeResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteWithAsyncFailureAfterResponseWrite
public abstract void testRequestContentWriteWithAsyncFailureAfterResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteWithAsyncFailureAfterResponseCloseNoContent
public abstract void testRequestContentWriteWithAsyncFailureAfterResponseCloseNoContent() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteNondeterministicException
public abstract void testRequestContentWriteNondeterministicException() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionBeforeResponseWrite
public abstract void testRequestContentWriteExceptionBeforeResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionAfterResponseWrite
public abstract void testRequestContentWriteExceptionAfterResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionAfterResponseCloseNoContent
public abstract void testRequestContentWriteExceptionAfterResponseCloseNoContent() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteNondeterministicExceptionWithSyncCompletion
public abstract void testRequestContentWriteNondeterministicExceptionWithSyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionBeforeResponseWriteWithSyncCompletion
public abstract void testRequestContentWriteExceptionBeforeResponseWriteWithSyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionAfterResponseWriteWithSyncCompletion
public abstract void testRequestContentWriteExceptionAfterResponseWriteWithSyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionAfterResponseCloseNoContentWithSyncCompletion
public abstract void testRequestContentWriteExceptionAfterResponseCloseNoContentWithSyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteNondeterministicExceptionWithAsyncCompletion
public abstract void testRequestContentWriteNondeterministicExceptionWithAsyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionBeforeResponseWriteWithAsyncCompletion
public abstract void testRequestContentWriteExceptionBeforeResponseWriteWithAsyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionAfterResponseWriteWithAsyncCompletion
public abstract void testRequestContentWriteExceptionAfterResponseWriteWithAsyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionAfterResponseCloseNoContentWithAsyncCompletion
public abstract void testRequestContentWriteExceptionAfterResponseCloseNoContentWithAsyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionWithNondeterministicSyncFailure
public abstract void testRequestContentWriteExceptionWithNondeterministicSyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionWithSyncFailureBeforeResponseWrite
public abstract void testRequestContentWriteExceptionWithSyncFailureBeforeResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionWithSyncFailureAfterResponseWrite
public abstract void testRequestContentWriteExceptionWithSyncFailureAfterResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionWithSyncFailureAfterResponseCloseNoContent
public abstract void testRequestContentWriteExceptionWithSyncFailureAfterResponseCloseNoContent() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionWithNondeterministicAsyncFailure
public abstract void testRequestContentWriteExceptionWithNondeterministicAsyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionWithAsyncFailureBeforeResponseWrite
public abstract void testRequestContentWriteExceptionWithAsyncFailureBeforeResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionWithAsyncFailureAfterResponseWrite
public abstract void testRequestContentWriteExceptionWithAsyncFailureAfterResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentWriteExceptionWithAsyncFailureAfterResponseCloseNoContent
public abstract void testRequestContentWriteExceptionWithAsyncFailureAfterResponseCloseNoContent() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseWithSyncCompletion
public abstract void testRequestContentCloseWithSyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseWithAsyncCompletion
public abstract void testRequestContentCloseWithAsyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseWithNondeterministicSyncFailure
public abstract void testRequestContentCloseWithNondeterministicSyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseWithSyncFailureBeforeResponseWrite
public abstract void testRequestContentCloseWithSyncFailureBeforeResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseWithSyncFailureAfterResponseWrite
public abstract void testRequestContentCloseWithSyncFailureAfterResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseWithSyncFailureAfterResponseCloseNoContent
public abstract void testRequestContentCloseWithSyncFailureAfterResponseCloseNoContent() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseWithNondeterministicAsyncFailure
public abstract void testRequestContentCloseWithNondeterministicAsyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseWithAsyncFailureBeforeResponseWrite
public abstract void testRequestContentCloseWithAsyncFailureBeforeResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseWithAsyncFailureAfterResponseWrite
public abstract void testRequestContentCloseWithAsyncFailureAfterResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseWithAsyncFailureAfterResponseCloseNoContent
public abstract void testRequestContentCloseWithAsyncFailureAfterResponseCloseNoContent() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseNondeterministicException
public abstract void testRequestContentCloseNondeterministicException() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionBeforeResponseWrite
public abstract void testRequestContentCloseExceptionBeforeResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionAfterResponseWrite
public abstract void testRequestContentCloseExceptionAfterResponseWrite() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionAfterResponseCloseNoContent
public abstract void testRequestContentCloseExceptionAfterResponseCloseNoContent() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseNondeterministicExceptionWithSyncCompletion
public abstract void testRequestContentCloseNondeterministicExceptionWithSyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionBeforeResponseWriteWithSyncCompletion
public abstract void testRequestContentCloseExceptionBeforeResponseWriteWithSyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionAfterResponseWriteWithSyncCompletion
public abstract void testRequestContentCloseExceptionAfterResponseWriteWithSyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionAfterResponseCloseNoContentWithSyncCompletion
public abstract void testRequestContentCloseExceptionAfterResponseCloseNoContentWithSyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseNondeterministicExceptionWithAsyncCompletion
public abstract void testRequestContentCloseNondeterministicExceptionWithAsyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionBeforeResponseWriteWithAsyncCompletion
public abstract void testRequestContentCloseExceptionBeforeResponseWriteWithAsyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionAfterResponseWriteWithAsyncCompletion
public abstract void testRequestContentCloseExceptionAfterResponseWriteWithAsyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionAfterResponseCloseNoContentWithAsyncCompletion
public abstract void testRequestContentCloseExceptionAfterResponseCloseNoContentWithAsyncCompletion() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseNondeterministicExceptionWithSyncFailure
public abstract void testRequestContentCloseNondeterministicExceptionWithSyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionBeforeResponseWriteWithSyncFailure
public abstract void testRequestContentCloseExceptionBeforeResponseWriteWithSyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionAfterResponseWriteWithSyncFailure
public abstract void testRequestContentCloseExceptionAfterResponseWriteWithSyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionAfterResponseCloseNoContentWithSyncFailure
public abstract void testRequestContentCloseExceptionAfterResponseCloseNoContentWithSyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseNondeterministicExceptionWithAsyncFailure
public abstract void testRequestContentCloseNondeterministicExceptionWithAsyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionBeforeResponseWriteWithAsyncFailure
public abstract void testRequestContentCloseExceptionBeforeResponseWriteWithAsyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionAfterResponseWriteWithAsyncFailure
public abstract void testRequestContentCloseExceptionAfterResponseWriteWithAsyncFailure() throws Throwable
- Throws:
Throwable
-
testRequestContentCloseExceptionAfterResponseCloseNoContentWithAsyncFailure
public abstract void testRequestContentCloseExceptionAfterResponseCloseNoContentWithAsyncFailure() throws Throwable
- Throws:
Throwable
-
testResponseWriteCompletionException
public abstract void testResponseWriteCompletionException() throws Throwable
- Throws:
Throwable
-
testResponseCloseCompletionException
public abstract void testResponseCloseCompletionException() throws Throwable
- Throws:
Throwable
-
testResponseCloseCompletionExceptionNoContent
public abstract void testResponseCloseCompletionExceptionNoContent() throws Throwable
- Throws:
Throwable
-
runTest
protected <T extends ServerProvider,U,V> void runTest(ServerProviderConformanceTest.Adapter<T,U,V> adapter, com.google.inject.Module... guiceModules) throws Throwable
- Throws:
Throwable
-
-