1 package org.jgroups.protocols;2 3 import junit.framework.TestCase;4 import junit.framework.Test;5 import junit.framework.TestSuite;6 import org.jgroups.stack.IpAddress;7 import org.jgroups.stack.Protocol;8 import org.jgroups.View;9 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-21620 * @author Bela Ban21 */22 public class FRAG2_Test extends FRAG_Test {23 24 public FRAG2_Test(String name) {25 super(name);26 }27 28 29 protected Protocol createProtocol() {30 return new FRAG2();31 }32 33 34 public void testFragmentation() throws InterruptedException {35 super.testFragmentation();36 }37 38 public static Test suite() {39 return new TestSuite(FRAG2_Test.class);40 }41 42 public static void main(String [] args) {43 junit.textui.TestRunner.run(FRAG2_Test.suite());44 }45 46 }47