@Override public void setUp() throws Exception { super.setUp(); randType = TestUtils.randomElement(ProxyType.values()); randHost = TestUtils.randomAlphaString(10); randPort = TestUtils.randomPortInt(); randUsername = TestUtils.randomAlphaString(10); randPassword = TestUtils.randomAlphaString(10); }
@Test public void testServerOptionsJson() { int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean(); int port = 1234; String host = TestUtils.randomAlphaString(100); int acceptBacklog = TestUtils.randomPortInt(); boolean useAlpn = TestUtils.randomBoolean(); boolean openSslSessionCacheEnabled = rand.nextBoolean();
@Test public void testServerOptionsJson() { int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean(); int port = 1234; String host = TestUtils.randomAlphaString(100); int acceptBacklog = TestUtils.randomPortInt(); boolean compressionSupported = rand.nextBoolean(); int maxWebsocketFrameSize = TestUtils.randomPositiveInt();
@Test public void testClientOptionsJson() { int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean();
@Test public void testClientOptionsJson() { int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean();
assertEquals(TimeUnit.NANOSECONDS, options.getWarningExceptionTimeUnit()); assertEquals(TimeUnit.MILLISECONDS, options.getBlockedThreadCheckIntervalUnit()); int clusterPort = TestUtils.randomPortInt(); int clusterPublicPort = TestUtils.randomPortInt(); int eventLoopPoolSize = TestUtils.randomPositiveInt(); int internalBlockingPoolSize = TestUtils.randomPositiveInt();
HttpServerOptions options = new HttpServerOptions(); int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean(); int port = 1234; String host = TestUtils.randomAlphaString(100); int acceptBacklog = TestUtils.randomPortInt(); boolean compressionSupported = rand.nextBoolean(); int maxWebsocketFrameSize = TestUtils.randomPositiveInt();
HttpClientOptions options = new HttpClientOptions(); int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean();
NetServerOptions options = new NetServerOptions(); int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean(); int port = 1234; String host = TestUtils.randomAlphaString(100); int acceptBacklog = TestUtils.randomPortInt(); boolean useAlpn = TestUtils.randomBoolean(); boolean openSslSessionCacheEnabled = rand.nextBoolean();
NetClientOptions options = new NetClientOptions(); int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean();
VertxOptions options = new VertxOptions(); int clusterPort = TestUtils.randomPortInt(); int clusterPublicPort = TestUtils.randomPortInt(); int eventLoopPoolSize = TestUtils.randomPositiveInt(); int internalBlockingPoolSize = TestUtils.randomPositiveInt();
@Override public void setUp() throws Exception { super.setUp(); randType = TestUtils.randomElement(ProxyType.values()); randHost = TestUtils.randomAlphaString(10); randPort = TestUtils.randomPortInt(); randUsername = TestUtils.randomAlphaString(10); randPassword = TestUtils.randomAlphaString(10); }
@Test public void testServerOptionsJson() { int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean(); int port = 1234; String host = TestUtils.randomAlphaString(100); int acceptBacklog = TestUtils.randomPortInt(); boolean useAlpn = TestUtils.randomBoolean(); boolean openSslSessionCacheEnabled = rand.nextBoolean();
@Test public void testClientOptionsJson() { int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean();
assertEquals(TimeUnit.NANOSECONDS, options.getWarningExceptionTimeUnit()); assertEquals(TimeUnit.MILLISECONDS, options.getBlockedThreadCheckIntervalUnit()); int clusterPort = TestUtils.randomPortInt(); int clusterPublicPort = TestUtils.randomPortInt(); int eventLoopPoolSize = TestUtils.randomPositiveInt(); int internalBlockingPoolSize = TestUtils.randomPositiveInt();
HttpServerOptions options = new HttpServerOptions(); int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean(); int port = 1234; String host = TestUtils.randomAlphaString(100); int acceptBacklog = TestUtils.randomPortInt(); boolean compressionSupported = rand.nextBoolean(); int maxWebsocketFrameSize = TestUtils.randomPositiveInt();
HttpClientOptions options = new HttpClientOptions(); int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean();
NetServerOptions options = new NetServerOptions(); int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean(); int port = 1234; String host = TestUtils.randomAlphaString(100); int acceptBacklog = TestUtils.randomPortInt(); boolean useAlpn = TestUtils.randomBoolean(); boolean openSslSessionCacheEnabled = rand.nextBoolean();
NetClientOptions options = new NetClientOptions(); int sendBufferSize = TestUtils.randomPositiveInt(); int receiverBufferSize = TestUtils.randomPortInt(); Random rand = new Random(); boolean reuseAddress = rand.nextBoolean();
VertxOptions options = new VertxOptions(); int clusterPort = TestUtils.randomPortInt(); int clusterPublicPort = TestUtils.randomPortInt(); int eventLoopPoolSize = TestUtils.randomPositiveInt(); int internalBlockingPoolSize = TestUtils.randomPositiveInt();