[jboss-cvs] JBossCache/tests/compat/org/jboss/cache/compat ...
Pavel Tsekov
ptsekov at jboss.org
Wed Jan 3 09:43:12 EST 2007
User: ptsekov
Date: 07/01/03 09:43:12
Modified: tests/compat/org/jboss/cache/compat
SerialVersionUIDUnitTestCase.java
Log:
* SerialVersionUIDUnitTestCase.java: Remove tests for 1.3.0 and 1.4.0
compatibility since JBC 2.x.x is API incompatible with older releases.
Revision Changes Path
1.3 +0 -32 JBossCache/tests/compat/org/jboss/cache/compat/SerialVersionUIDUnitTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SerialVersionUIDUnitTestCase.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/compat/org/jboss/cache/compat/SerialVersionUIDUnitTestCase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- SerialVersionUIDUnitTestCase.java 24 Dec 2006 16:00:16 -0000 1.2
+++ SerialVersionUIDUnitTestCase.java 3 Jan 2007 14:43:12 -0000 1.3
@@ -34,8 +34,6 @@
{
private static final String DB_DIR = "etc/svuid-db";
private static final String DB_FILE_PREFIX = "svuid-";
- private static final String VERSION_STRING_1_3_0_GA = "1.3.0.GA";
- private static final String VERSION_STRING_1_4_0_GA = "1.4.0.GA";
private static final String JAVA_VERSION_PREFIX_14 = "14";
private static final String JAVA_VERSION_PREFIX_50 = "50";
@@ -63,34 +61,6 @@
messages.setLength(0);
}
- public void testCompat_1_3_0_GA() throws Exception
- {
- String prefix = getFilePrefix() + VERSION_STRING_1_3_0_GA;
- Map db = readDatabase(prefix);
- mismatchCount = compare(db, calcClassInfoMap(), prefix,
- new String[0], messages);
-
- System.out.println("serialVersionUID mismatches = " + mismatchCount);
- if (mismatchCount != 0)
- {
- fail("Failures for :" + messages.toString());
- }
- }
-
- public void testCompat_1_4_0_GA() throws Exception
- {
- String prefix = getFilePrefix() + VERSION_STRING_1_4_0_GA;
- Map db = readDatabase(prefix);
- mismatchCount = compare(db, calcClassInfoMap(), prefix,
- new String[0], messages);
-
- System.out.println("serialVersionUID mismatches = " + mismatchCount);
- if (mismatchCount != 0)
- {
- fail("Failures for :" + messages.toString());
- }
- }
-
private String getFilePrefix()
{
String javaVersion = System.getProperty("java.version").trim();
@@ -216,8 +186,6 @@
public static Test suite() throws Exception
{
TestSuite suite = new TestSuite();
- suite.addTest(new SerialVersionUIDUnitTestCase("testCompat_1_4_0_GA"));
- suite.addTest(new SerialVersionUIDUnitTestCase("testCompat_1_3_0_GA"));
return suite;
}
More information about the jboss-cvs-commits
mailing list