[jboss-cvs] JBossAS SVN: r96880 - trunk/testsuite/src/main/org/jboss/test/compatibility/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Nov 24 12:50:26 EST 2009


Author: smcgowan at redhat.com
Date: 2009-11-24 12:50:26 -0500 (Tue, 24 Nov 2009)
New Revision: 96880

Modified:
   trunk/testsuite/src/main/org/jboss/test/compatibility/test/SerialVersionUIDUnitTestCase.java
Log:
JBAS-7265 - merge updates from Branch_5_x to trunk

Modified: trunk/testsuite/src/main/org/jboss/test/compatibility/test/SerialVersionUIDUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/compatibility/test/SerialVersionUIDUnitTestCase.java	2009-11-24 17:45:01 UTC (rev 96879)
+++ trunk/testsuite/src/main/org/jboss/test/compatibility/test/SerialVersionUIDUnitTestCase.java	2009-11-24 17:50:26 UTC (rev 96880)
@@ -87,16 +87,17 @@
        "javax.xml.registry.RegistryException",
        // lib/endorsed/stax-api.jar
        "javax.xml.namespace.QName",
-        //JBAS-6572
-        "com.sun.faces.ext.validator.RegexValidator",
-  	//JBAS-6599
+	//JBAS-6572
+	"com.sun.faces.ext.validator.RegexValidator",
+	//JBAS-6599
         "org.omg",
-        // JBAS-7265
-        "org.jacorb",
-        "javax.faces.component.UIComponentBase$FacetsMap",
-        "javax.faces.model.ResultSetDataModel$ResultSetMap",
-        "javax.faces.validator.ValidatorException",
-        "org.jboss.resource.adapter.jdbc.vendor.MSSQLValidConnectionChecker"
+	// JBAS-7265
+	"javassist",
+	"org.jacorb",
+	"javax.faces",
+	"org.jboss.resource.adapter.jdbc.vendor.MSSQLValidConnectionChecker",
+        "javax.xml.ws.soap.SOAPFaultException",
+	"javax.persistence.OptimisticLockException"
       };
 
       System.out.println("+++ test423Compatibility");
@@ -116,7 +117,7 @@
          mismatchCount == 0);
    }
 
-   /** Validate the 5.0.0.GA serial version uids against the current build
+  /** Validate the 5.0.0.GA serial version uids against the current build
     * @throws Exception
     */
    public void test500Compatibility()
@@ -124,8 +125,7 @@
    {
       // The packages in jboss-5.0.0.GA with known serialization issues
       String[] badPackages = {
-      "org.apache.catalina",
-      "org.jboss.classloading.spi.dependency.Module",
+      "org.apache",
       "org.jboss.console",
       // those were changed to match 423 ids
       "org.jboss.crypto.JBossSXProvider",
@@ -143,22 +143,32 @@
       "org.jboss.wsf",
       // lib/endorsed/stax-api.jar
       "javax.xml.namespace.QName",
-        //JBAS-6572
-        "com.sun.faces.ext.validator.RegexValidator",
-  	//JBAS-6599
+	//JBAS-6572
+	"com.sun.faces.ext.validator.RegexValidator",
+	//JBAS-6599
         "org.omg",
-        "org.jboss.metadata.rar",
-        "org.apache.commons.collections.ExtendedProperties",
-        "org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER$StateHeader",
-        "org.jboss.web.tomcat.metadata.ContextMetaData",
-  	//JBMAN-91
-        "org.jboss.managed.plugins.ManagedObjectImpl",
+	"org.jboss.metadata.rar",
+	"org.jgroups",
+	"org.jboss.web.tomcat.metadata.ContextMetaData",
+	//JBMAN-91
+	"org.jboss.managed.plugins.ManagedObjectImpl",
 	// JBAS-7265
-        "org.jacorb",
-        "javax.faces.component.UIComponentBase$FacetsMap",
-        "javax.faces.model.ResultSetDataModel$ResultSetMap",
-        "javax.faces.validator.ValidatorException",
-        "org.jboss.resource.adapter.jdbc.vendor.MSSQLValidConnectionChecker",
+	"javassist",
+	"org.jacorb",
+	"javax.faces",
+	"org.jboss.resource.adapter.jdbc.vendor.MSSQLValidConnectionChecker",
+ 	"org.jboss.virtual.AssembledDirectory",
+        "org.jboss.virtual.plugins.context.vfs.AssembledFileHandler",
+        "javax.xml.ws.soap.SOAPFaultException",
+	"org.jboss.metadata.ear.jboss.JBossAppMetaData",
+	"org.jboss.metadata.jpa.spec.PersistenceUnitMetaData",
+        "org.jboss.classloading.spi.dependency.Module",
+        // those were changed to match 423 ids
+	"javax.xml.registry.JAXRException",
+	"javax.xml.registry.RegistryException",
+        "org.jboss.classloading.spi.dependency.Module",
+	"org.hibernate",
+	"javax.persistence.OptimisticLockException"
       };
 
       System.out.println("+++ test500Compatibility");
@@ -178,7 +188,8 @@
          mismatchCount == 0);
    }
 
-   /** Validate the 5.0.1.GA serial version uids against the current build
+
+  /** Validate the 5.0.1.GA serial version uids against the current build
     * @throws Exception
     */
    public void test501Compatibility()
@@ -186,7 +197,8 @@
    {
       // The packages in jboss-5.0.1.GA with known serialization issues
       String[] badPackages = {
-      "org.apache.catalina",
+      "javassist",
+      "org.apache",
       "org.jboss.classloading.spi.dependency.Module",
       "org.jboss.console",
       // those were changed to match 423 ids
@@ -205,23 +217,32 @@
       "org.jboss.wsf",
       // lib/endorsed/stax-api.jar
       "javax.xml.namespace.QName",
-        //JBAS-6572
-        "com.sun.faces.ext.validator.RegexValidator",
-        //JBAS-6599
+	"javassist",
+	//JBAS-6572
+	"com.sun.faces.ext.validator.RegexValidator",
+	//JBAS-6599
         "org.omg",
-        "org.jboss.metadata.rar",
-        "org.apache.commons.collections.ExtendedProperties",
-        "org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER$StateHeader",
-        "org.jboss.web.tomcat.metadata.ContextMetaData",
-        //JBMAN-91
-        "org.jboss.managed.plugins.ManagedObjectImpl",
+	"org.jboss.metadata.rar",
+	"org.jgroups",
+	"org.jboss.web.tomcat.metadata.ContextMetaData",
+	//JBMAN-91
+	"org.jboss.managed.plugins.ManagedObjectImpl",
 	// JBAS-7265
-        "org.jacorb",
-        "javax.faces.component.UIComponentBase$FacetsMap",
-        "javax.faces.model.ResultSetDataModel$ResultSetMap",
-        "javax.faces.validator.ValidatorException",
-        "org.jboss.resource.adapter.jdbc.vendor.MSSQLValidConnectionChecker",
-
+	"org.jacorb",
+	"javax.faces",
+	"org.jboss.resource.adapter.jdbc.vendor.MSSQLValidConnectionChecker",
+ 	"org.jboss.virtual.AssembledDirectory",
+ 	"org.jboss.virtual.AssembledDirectoryHandler",
+        "org.jboss.virtual.plugins.context.vfs.AssembledFileHandler",
+        "org.jboss.virtual.plugins.context.zip.ZipEntryHandler",
+        "javax.xml.ws.soap.SOAPFaultException",
+	"org.jboss.metadata.ear.jboss.JBossAppMetaData",
+	"org.jboss.metadata.jpa.spec.PersistenceUnitMetaData",
+        // those were changed to match 423 ids
+	"javax.xml.registry.JAXRException",
+	"javax.xml.registry.RegistryException",
+	"org.hibernate",
+	"javax.persistence.OptimisticLockException"
       };
 
       System.out.println("+++ test501Compatibility");
@@ -241,7 +262,6 @@
          mismatchCount == 0);
    }
 
-
    /** Validate the 5.1.0.GA serial version uids against the current build
     * @throws Exception
     */
@@ -250,21 +270,34 @@
    {
       // The packages in jboss-5.1.0.GA with known serialization issues
       String[] badPackages = {
-	// Ignore org.apache.* issues
-        "org.apache",
         // lib/endorsed/stax-api.jar
        "javax.xml.namespace.QName",
-        //JBAS-6599
+	//JBAS-6599
         "org.omg",
         //JBMAN-91
         "org.jboss.managed.plugins.ManagedObjectImpl",
-        // JBAS-7265
-        "org.jacorb",
-        "javax.faces.component.UIComponentBase$FacetsMap",
-        "javax.faces.model.ResultSetDataModel$ResultSetMap",
-        "javax.faces.validator.ValidatorException",
-        "org.jboss.resource.adapter.jdbc.vendor.MSSQLValidConnectionChecker",
-
+	// JBAS-7265
+	"javassist",
+        "org.apache",
+	"org.jacorb",
+	"org.jgroups",
+	"javax.faces",
+	"org.jboss.resource.adapter.jdbc.vendor.MSSQLValidConnectionChecker",
+ 	"org.jboss.virtual.AssembledDirectory",
+        "org.jboss.virtual.plugins.context.vfs.AssembledFileHandler",
+        "javax.xml.ws.soap.SOAPFaultException",
+	"org.jboss.classloading.spi.dependency.Module",
+        "org.jboss.metadata.ear.jboss.JBossAppMetaData",
+	"org.jboss.metadata.jpa.spec.PersistenceUnitMetaData",
+	"org.jboss.virtual.plugins.context.vfs.AssembledDirectoryHandler",
+        "org.jboss.virtual.plugins.context.zip.ZipEntryHandler",
+        // ignore webservices framework classes as done in other test versions
+        "org.jboss.wsf",
+        // those were changed to match 423 ids
+	"javax.xml.registry.JAXRException",
+	"javax.xml.registry.RegistryException",
+	"org.hibernate",
+	"javax.persistence.OptimisticLockException"
       };
 
      System.out.println("+++ test510Compatibility");
@@ -284,43 +317,33 @@
          mismatchCount == 0);
    }
 
+
+
    /** Validate the JavaEE 5.0 RI serial version uids against the current build
     * @throws Exception
     */
    public void testJavaEE50Compatibility()
          throws Exception
    {
-      // The packages to e excluded known serialization issues
+      // The packages excluded with known serialization issues
       String[] badPackages = {
-	// Ignore org.apache.* issues
         "org.apache",
-	"com.sun.faces.config.JSFVersionTracker",
-	"com.sun.faces.lifecycle.ELResolverInitPhaseListener",
-	"com.sun.faces.taglib.jsf_core.ConverterTag",
-	"com.sun.faces.taglib.jsf_core.LoadBundleTag",
-	"com.sun.faces.taglib.jsf_core.PhaseListenerTag",
-	"com.sun.faces.taglib.jsf_core.ValidatorTag",
-	"javax.servlet.GenericServlet",
-	"javax.servlet.ServletException",
+        "com.sun.faces.config.JSFVersionTracker",
+        "com.sun.faces.lifecycle.ELResolverInitPhaseListener",
+        "com.sun.faces.taglib.jsf_core.ConverterTag",
+        "com.sun.faces.taglib.jsf_core.LoadBundleTag",
+        "com.sun.faces.taglib.jsf_core.PhaseListenerTag",
+        "com.sun.faces.taglib.jsf_core.ValidatorTag",
+        "javax.servlet.GenericServlet",
+        "javax.servlet.ServletException",
         "javax.xml.registry.JAXRException",
         "javax.xml.registry.RegistryException",
-	"javax.persistence.OptimisticLockException",
-	"javax.ejb.ConcurrentAccessException",
-	"javax.faces.component.UIComponentBase$ChildrenList",
-	"javax.faces.component.UIComponentBase$FacetsMap",
-	"javax.faces.component.UIComponentBase$AttributesMap",
-	"javax.xml.ws.soap.SOAPFaultException",
-	"org.omg.CosTransactions.Status",
-	"org.omg.CosTransactions.Vote",
-	"org.omg.CosTransactions._ControlStub",
-	"org.omg.CosTransactions._CoordinatorStub",
-	"org.omg.CosTransactions._RecoveryCoordinatorStub",
-	"org.omg.CosTransactions._ResourceStub",
-	"org.omg.CosTransactions._SubtransactionAwareResourceStub",
-	"org.omg.CosTransactions._SynchronizationStub",
-	"org.omg.CosTransactions._TerminatorStub",
-	"org.omg.CosTransactions._TransactionFactoryStub",
-	"org.omg.CosTransactions._TransactionalObjectStub"
+        "javax.persistence.OptimisticLockException",
+        "javax.ejb.ConcurrentAccessException",
+        "javax.xml.ws.soap.SOAPFaultException",
+        "org.omg",
+	// JBAS-7265
+	"javax.faces"
       };
 
       System.out.println("+++ testJavaEE50Compatibility");




More information about the jboss-cvs-commits mailing list