CVS update: JGroups/tests/junit-functional/org/jgroups/tests ConfiguratorTest.java
"Bela Ban" <[email protected]> Thu, 16 Sep 2010 14:21:38 +0000
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 10/09/16 14:21:38
Modified: tests/junit-functional/org/jgroups/tests
ConfiguratorTest.java
Log:
ns
Revision Changes Path
1.16 +3 -3 JGroups/tests/junit-functional/org/jgroups/tests/ConfiguratorTest.java
Index: ConfiguratorTest.java
===================================================================
RCS file: /cvsroot/javagroups/JGroups/tests/junit-functional/org/jgroups/tests/ConfiguratorTest.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ConfiguratorTest.java 15 Sep 2010 15:51:09 -0000 1.15
+++ ConfiguratorTest.java 16 Sep 2010 14:21:38 -0000 1.16
@@ -16,7 +16,7 @@
/**
* Tests ProtocolStack.insertProtocol() and removeProtocol()
* @author Bela Ban
- * @version $Id: ConfiguratorTest.java,v 1.15 2010/09/15 15:51:09 belaban Exp $
+ * @version $Id: ConfiguratorTest.java,v 1.16 2010/09/16 14:21:38 belaban Exp $
*/
@Test(groups=Global.FUNCTIONAL,sequential=true)
public class ConfiguratorTest {
@@ -31,7 +31,7 @@
@BeforeMethod
void setUp() throws Exception {
JChannel mock_channel=new JChannel() {};
- stack=new ProtocolStack(mock_channel, props);
+ stack=new ProtocolStack(mock_channel, Configurator.parseConfigurations(props));
}
@@ -153,7 +153,7 @@
"FRAG2(frag_size=60000):" +
"pbcast.STREAMING_STATE_TRANSFER(use_reading_thread=true)";
- Vector<ProtocolConfiguration> ret=Configurator.parseConfigurations(config);
+ List<ProtocolConfiguration> ret=Configurator.parseConfigurations(config);
System.out.println("config:\n" + ret);
Assert.assertEquals(14, ret.size());
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev