Author: ataylor
Date: 2009-09-10 05:34:46 -0400 (Thu, 10 Sep 2009)
New Revision: 7950
Modified:
trunk/tests/src/org/hornetq/tests/unit/core/version/impl/VersionImplTest.java
Log:
version fix
Modified: trunk/tests/src/org/hornetq/tests/unit/core/version/impl/VersionImplTest.java
===================================================================
---
trunk/tests/src/org/hornetq/tests/unit/core/version/impl/VersionImplTest.java 2009-09-10
09:11:37 UTC (rev 7949)
+++
trunk/tests/src/org/hornetq/tests/unit/core/version/impl/VersionImplTest.java 2009-09-10
09:34:46 UTC (rev 7950)
@@ -48,6 +48,7 @@
int microVersion = 1;
int incrementingVersion = 10;
String versionSuffix = "suffix";
+ String nettyVersion = "netty";
VersionImpl version = new VersionImpl(versionName, majorVersion, minorVersion,
microVersion, incrementingVersion, versionSuffix, nettyVersion);
assertEquals(versionName, version.getVersionName());
@@ -60,6 +61,7 @@
public void testEquals() throws Exception
{
+ String nettyVersion = "netty";
VersionImpl version = new VersionImpl("HORNETQ", 2, 0, 1, 10,
"suffix", nettyVersion);
VersionImpl sameVersion = new VersionImpl("HORNETQ", 2, 0, 1, 10,
"suffix", nettyVersion);
VersionImpl differentVersion = new VersionImpl("HORNETQ", 2, 0, 1, 11,
"suffix", nettyVersion);
@@ -73,6 +75,7 @@
public void testSerialize() throws Exception
{
+ String nettyVersion = "netty";
VersionImpl version = new VersionImpl("uyiuy", 3, 7, 6, 12,
"uhuhuh", nettyVersion);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(baos);
Show replies by date