public class Http2TestRunner
extends org.junit.runners.BlockJUnit4ClassRunner
Modifier and Type | Field and Description |
---|---|
static int | BUFFER_SIZE |
Constructor and Description |
---|
Http2TestRunner(Class<?> klass) |
Modifier and Type | Method and Description |
---|---|
static ByteBufferPool | getBufferPool() |
static SSLContext | getClientSSLContext() When using the default SSL settings returns the corresponding client context. |
static org.xnio.ssl.XnioSsl | getClientXnioSsl() |
org.junit.runner.Description | getDescription() |
static String | getHostAddress() |
static int | getHostPort() |
static int | getHostSSLPort() |
static SSLContext | getServerSslContext() |
static org.xnio.XnioWorker | getWorker() |
void | run(org.junit.runner.notification.RunNotifier notifier) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
public Http2TestRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
public static ByteBufferPool getBufferPool()
public org.junit.runner.Description getDescription()
getDescription
in interface org.junit.runner.Describable
getDescription
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
public void run(org.junit.runner.notification.RunNotifier notifier)
run
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
public static SSLContext getClientSSLContext()
If a test case is initialising a custom server side SSLContext then the test case will be responsible for creating it's own client side.
public static SSLContext getServerSslContext()
public static String getHostAddress()
public static int getHostPort()
public static int getHostSSLPort()
public static org.xnio.XnioWorker getWorker()
public static org.xnio.ssl.XnioSsl getClientXnioSsl()
Copyright © 2015 JBoss by Red Hat. All rights reserved.