Java Code Examples for io.netty.testsuite.transport.TestsuitePermutation#BootstrapComboFactory
The following examples show how to use
io.netty.testsuite.transport.TestsuitePermutation#BootstrapComboFactory .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EpollSocketTestPermutation.java From netty-4.1.22 with Apache License 2.0 | 5 votes |
@Override public List<TestsuitePermutation.BootstrapComboFactory<Bootstrap, Bootstrap>> datagram() { // Make the list of Bootstrap factories. @SuppressWarnings("unchecked") List<BootstrapFactory<Bootstrap>> bfs = Arrays.asList( new BootstrapFactory<Bootstrap>() { @Override public Bootstrap newInstance() { return new Bootstrap().group(nioWorkerGroup).channelFactory(new ChannelFactory<Channel>() { @Override public Channel newChannel() { return new NioDatagramChannel(InternetProtocolFamily.IPv4); } @Override public String toString() { return NioDatagramChannel.class.getSimpleName() + ".class"; } }); } }, new BootstrapFactory<Bootstrap>() { @Override public Bootstrap newInstance() { return new Bootstrap().group(EPOLL_WORKER_GROUP).channel(EpollDatagramChannel.class); } } ); return combo(bfs, bfs); }
Example 2
Source File: KQueueDomainSocketSslGreetingTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return KQueueSocketTestPermutation.INSTANCE.domainSocket(); }
Example 3
Source File: EpollDomainSocketFixedLengthEchoTest.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.domainSocket(); }
Example 4
Source File: XnioSocketSslEchoTest.java From netty-xnio-transport with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return XnioTestsuiteUtils.newFactories(); }
Example 5
Source File: EpollETSocketExceptionHandlingTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.socket(); }
Example 6
Source File: EpollLTSocketAutoReadTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.socket(); }
Example 7
Source File: EpollDomainSocketStartTlsTest.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.domainSocket(); }
Example 8
Source File: EpollSocketSslEchoTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.socket(); }
Example 9
Source File: EpollSocketTestPermutation.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
public List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> domainSocket() { List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> list = combo(serverDomainSocket(), clientDomainSocket()); return list; }
Example 10
Source File: EpollSocketSslGreetingTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.socket(); }
Example 11
Source File: EpollLTSocketReadPendingTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.socket(); }
Example 12
Source File: KQueueSocketEchoTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return KQueueSocketTestPermutation.INSTANCE.socket(); }
Example 13
Source File: KQueueDomainSocketFdTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return KQueueSocketTestPermutation.INSTANCE.domainSocket(); }
Example 14
Source File: EpollDomainSocketObjectEchoTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.domainSocket(); }
Example 15
Source File: EpollDomainSocketSslEchoTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.domainSocket(); }
Example 16
Source File: EpollDomainSocketFdTest.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.domainSocket(); }
Example 17
Source File: EpollSocketFixedLengthEchoTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.socket(); }
Example 18
Source File: EpollDomainSocketGatheringWriteTest.java From netty-4.1.22 with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.domainSocket(); }
Example 19
Source File: EpollSocketEchoTest.java From netty4.0.27Learn with Apache License 2.0 | 4 votes |
@Override protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() { return EpollSocketTestPermutation.INSTANCE.socket(); }
Example 20
Source File: EpollSocketTestPermutation.java From netty-4.1.22 with Apache License 2.0 | 3 votes |
@Override public List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> socket() { List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> list = combo(serverSocket(), clientSocket()); list.remove(list.size() - 1); // Exclude NIO x NIO test return list; }