1 5 package com.opensymphony.oscache.plugins.clustersupport; 6 7 import com.opensymphony.oscache.base.Config; 8 9 import junit.framework.Test; 10 import junit.framework.TestSuite; 11 12 18 public final class TestJavaGroupsBroadcastingListener extends BaseTestBroadcastingListener { 19 public TestJavaGroupsBroadcastingListener(String str) { 20 super(str); 21 } 22 23 28 public static Test suite() { 29 return new TestSuite(TestJavaGroupsBroadcastingListener.class); 30 } 31 32 36 public AbstractBroadcastingListener getListener() { 37 return new JavaGroupsBroadcastingListener(); 38 } 39 40 43 public Config getConfig() { 44 Config config = new Config(); 45 46 config.set("cache.cluster.multicast.ip", "231.12.21.132"); 49 50 return config; 51 } 52 } 53 | Popular Tags |