| org.jgroups.tests.ChannelTestBase org.jgroups.tests.FlushTest
FlushTest | public class FlushTest extends ChannelTestBase (Code) | | Tests the FLUSH protocol, requires flush-udp.xml in ./conf to be present and configured to use FLUSH
author: Bela Ban version: $Id: FlushTest.java,v 1.16.2.2 2007/04/25 15:24:21 vlada Exp $ |
FlushTest | public FlushTest()(Code) | | |
suite | public static Test suite()(Code) | | |
testBlockingNoStateTransfer | public void testBlockingNoStateTransfer()(Code) | | Tests emition of block/unblock/get|set state events in both mux and bare
channel mode. In mux mode this test creates getFactoryCount() real channels
and creates only one mux application on top of each channel. In bare
channel mode 4 real channels are created.
|
testBlockingSharedMuxFactory | public void testBlockingSharedMuxFactory()(Code) | | Tests emition of block/unblock/get|set state events in mux mode. In this
test all mux applications share the same "real" channel. This test runs
only when mux.on=true. This test does not take into account
-Dmux.factorycount parameter.
|
testBlockingUnsharedMuxFactoryMultipleService | public void testBlockingUnsharedMuxFactoryMultipleService()(Code) | | Tests emition of block/unblock/get|set state events in mux mode. In this
test there will be exactly two real channels created where each real
channel has two mux applications on top of it. This test runs
only when mux.on=true. This test does not take into account
-Dmux.factorycount parameter.
|
testBlockingWithStateTransfer | public void testBlockingWithStateTransfer()(Code) | | Tests emition of block/unblock/set|get state events for both
mux and bare channel depending on mux.on parameter. In mux mode there
will be only one mux channel for each "real" channel created and the
number of real channels created is getMuxFactoryCount().
|
testBlockingWithStateTransferAndMultipleServiceMuxChannel | public void testBlockingWithStateTransferAndMultipleServiceMuxChannel()(Code) | | Tests emition of block/unblock/set|get state events in mux mode setup
where each "real" channel has two mux service on top of it. The
number of real channels created is getMuxFactoryCount(). This test runs
only when mux.on=true.
|
testChannels | public void testChannels(String names, boolean useTransfer, int viewSize)(Code) | | |
testJoinFollowedByUnicast | public void testJoinFollowedByUnicast() throws ChannelException(Code) | | Tests issue #1 in http://jira.jboss.com/jira/browse/JGRP-335
|
testStateTransferFollowedByUnicast | public void testStateTransferFollowedByUnicast() throws ChannelException(Code) | | Tests issue #2 in http://jira.jboss.com/jira/browse/JGRP-335
|
useBlocking | public boolean useBlocking()(Code) | | |
Methods inherited from org.jgroups.tests.ChannelTestBase | public static void acquireSemaphore(Semaphore semaphore, long timeout, int count) throws Exception(Code)(Java Doc) public static boolean areViewsComplete(MemberRetrievable[] channels, int memberCount)(Code)(Java Doc) public static void blockUntilViewsReceived(MemberRetrievable[] channels, long timeout)(Code)(Java Doc) public static void blockUntilViewsReceived(Collection channels, long timeout)(Code)(Java Doc) public static void blockUntilViewsReceived(MemberRetrievable[] channels, int count, long timeout)(Code)(Java Doc) public static void blockUntilViewsReceived(Collection channels, int count, long timeout)(Code)(Java Doc) protected String[] createApplicationNames(int applicationCount)(Code)(Java Doc) protected Channel createChannel(Object id) throws Exception(Code)(Java Doc) protected Channel createChannel() throws Exception(Code)(Java Doc) protected String[] createMuxApplicationNames(int muxApplicationstPerChannelCount)(Code)(Java Doc) protected String[] createMuxApplicationNames(int muxApplicationstPerChannelCount, int muxFactoryCount)(Code)(Java Doc) protected int getMuxFactoryCount()(Code)(Java Doc) protected String getNextChannelName()(Code)(Java Doc) protected boolean isMuxChannelUsed()(Code)(Java Doc) public static boolean isViewComplete(MemberRetrievable channel, int memberCount)(Code)(Java Doc) protected void setUp() throws Exception(Code)(Java Doc) protected boolean shouldCompareThreadCount()(Code)(Java Doc) public static void sleepRandom(int maxTime)(Code)(Java Doc) public static void sleepThread(long sleeptime)(Code)(Java Doc) public static void takeAllPermits(Semaphore semaphore, int count)(Code)(Java Doc) protected void tearDown() throws Exception(Code)(Java Doc) protected boolean useBlocking()(Code)(Java Doc)
|
|
|