01: package org.jgroups.protocols;
02:
03: import junit.framework.TestCase;
04: import junit.framework.Test;
05: import junit.framework.TestSuite;
06: import org.jgroups.stack.IpAddress;
07: import org.jgroups.stack.Protocol;
08: import org.jgroups.View;
09: import org.jgroups.Message;
10: import org.jgroups.Event;
11: import org.jgroups.Global;
12: import org.jgroups.debug.Simulator;
13:
14: import java.util.Vector;
15: import java.util.Properties;
16: import java.nio.ByteBuffer;
17:
18: /**
19: * Tests the fragmentation (FRAG2) protocol for http://jira.jboss.com/jira/browse/JGRP-216
20: * @author Bela Ban
21: */
22: public class FRAG2_Test extends FRAG_Test {
23:
24: public FRAG2_Test(String name) {
25: super (name);
26: }
27:
28: protected Protocol createProtocol() {
29: return new FRAG2();
30: }
31:
32: public void testFragmentation() throws InterruptedException {
33: super .testFragmentation();
34: }
35:
36: public static Test suite() {
37: return new TestSuite(FRAG2_Test.class);
38: }
39:
40: public static void main(String[] args) {
41: junit.textui.TestRunner.run(FRAG2_Test.suite());
42: }
43:
44: }
|