[jboss-cvs] JBossAS SVN: r101951 - in projects/jboss-classpool/trunk: classpool/src/test/java/org/jboss/test/classpool/test and 3 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Mar 5 07:27:32 EST 2010


Author: flavia.rainone at jboss.com
Date: 2010-03-05 07:27:32 -0500 (Fri, 05 Mar 2010)
New Revision: 101951

Removed:
   projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedParentFirstDelegatingClassPoolTestCase.java
   projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedParentLastDelegatingClassPoolTestCase.java
   projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedScopedSiblingDelegatingClassPoolTestCase.java
   projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedSimpleDelegatingClassPoolTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedArchiveClassPoolTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedCtClassCreationTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedHierarchicalDomainClassPoolTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedHierarchicalParentLoaderClassPoolTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedModuleDependencyClassPoolTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedPackageDependencyClassPoolTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReExportModuleClassPoolTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReExportPackageClassPoolTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReplaceReferencesClassPoolTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedRepositoryClassPoolTestCase.java
   projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedUsesPackageClassPoolTestCase.java
   projects/jboss-classpool/trunk/ucl/src/test/java/org/jboss/test/classpool/ucl/test/CachedCtClassCreationTestCase.java
   projects/jboss-classpool/trunk/ucl/src/test/java/org/jboss/test/classpool/ucl/test/CachedRepositoryClassPoolTestCase.java
Modified:
   projects/jboss-classpool/trunk/pom.xml
   projects/jboss-classpool/trunk/ucl/pom.xml
Log:
[JBREFLECT-101] Removed all Cached* tests and configured the pom to run the *ClassPoolTestCase tests twice: with cache disabled and then enabled.

Deleted: projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedParentFirstDelegatingClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedParentFirstDelegatingClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedParentFirstDelegatingClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors. 
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedParentFirstDelegatingClassPoolTestCase extends ParentFirstDelegatingClassPoolTestCase
-{
-   public CachedParentFirstDelegatingClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedParentLastDelegatingClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedParentLastDelegatingClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedParentLastDelegatingClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,48 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors. 
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.test;
-
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedParentLastDelegatingClassPoolTestCase extends ParentLastDelegatingClassPoolTestCase
-{
-   public CachedParentLastDelegatingClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedScopedSiblingDelegatingClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedScopedSiblingDelegatingClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedScopedSiblingDelegatingClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors. 
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedScopedSiblingDelegatingClassPoolTestCase extends ScopedSiblingDelegatingClassPoolTestCase
-{
-   public CachedScopedSiblingDelegatingClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedSimpleDelegatingClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedSimpleDelegatingClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/classpool/src/test/java/org/jboss/test/classpool/test/CachedSimpleDelegatingClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors. 
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedSimpleDelegatingClassPoolTestCase extends SimpleDelegatingClassPoolTestCase
-{
-   public CachedSimpleDelegatingClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedArchiveClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedArchiveClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedArchiveClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.jbosscl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedArchiveClassPoolTestCase extends ArchiveClassPoolTestCase
-{
-   public CachedArchiveClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedCtClassCreationTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedCtClassCreationTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedCtClassCreationTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.jbosscl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedCtClassCreationTestCase extends CtClassCreationTestCase
-{
-   public CachedCtClassCreationTestCase(String name)
-   {
-      super(name);
-   }
-   
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedHierarchicalDomainClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedHierarchicalDomainClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedHierarchicalDomainClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,47 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.jbosscl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedHierarchicalDomainClassPoolTestCase extends HierarchicalDomainClassPoolTestCase
-{
-   public CachedHierarchicalDomainClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-   
-   
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedHierarchicalParentLoaderClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedHierarchicalParentLoaderClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedHierarchicalParentLoaderClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,47 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.jbosscl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedHierarchicalParentLoaderClassPoolTestCase extends
-   HierarchicalParentLoaderClassPoolTestCase
-{
-   public CachedHierarchicalParentLoaderClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-   
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedModuleDependencyClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedModuleDependencyClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedModuleDependencyClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.jbosscl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedModuleDependencyClassPoolTestCase extends ModuleDependencyClassPoolTestCase
-{
-   public CachedModuleDependencyClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-   
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedPackageDependencyClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedPackageDependencyClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedPackageDependencyClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.jbosscl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedPackageDependencyClassPoolTestCase extends PackageDependencyClassPoolTestCase
-{
-   public CachedPackageDependencyClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-   
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReExportModuleClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReExportModuleClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReExportModuleClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,47 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.jbosscl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedReExportModuleClassPoolTestCase extends
-      ReExportModuleClassPoolTestCase
-{
-   public CachedReExportModuleClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-   
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReExportPackageClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReExportPackageClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReExportPackageClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.jbosscl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedReExportPackageClassPoolTestCase extends ReExportPackageClassPoolTestCase
-{
-   public CachedReExportPackageClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-   
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReplaceReferencesClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReplaceReferencesClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedReplaceReferencesClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,47 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source.
-* Copyright 2006, Red Hat Middleware LLC, and individual contributors
-* as indicated by the @author tags. See the copyright.txt file in the
-* distribution for a full listing of individual contributors. 
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.classpool.jbosscl.test;
-
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedReplaceReferencesClassPoolTestCase extends ReplaceReferencesClassPoolTestCase
-{
-   public CachedReplaceReferencesClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-   
-   @Override
-   public void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedRepositoryClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedRepositoryClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedRepositoryClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.jbosscl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedRepositoryClassPoolTestCase extends RepositoryClassPoolTestCase
-{
-   public CachedRepositoryClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-   
-   @Override
-   public void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedUsesPackageClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedUsesPackageClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/jbosscl/src/test/java/org/jboss/test/classpool/jbosscl/test/CachedUsesPackageClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.jbosscl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedUsesPackageClassPoolTestCase extends UsesPackageClassPoolTestCase
-{
-   public CachedUsesPackageClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-   
-   @Override
-   public void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Modified: projects/jboss-classpool/trunk/pom.xml
===================================================================
--- projects/jboss-classpool/trunk/pom.xml	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/pom.xml	2010-03-05 12:27:32 UTC (rev 101951)
@@ -82,25 +82,37 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.4.3</version>
+          <version>2.5</version>
           <configuration>
             <forkMode>always</forkMode>
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
             <includes>
               <include>org/jboss/test/**/*TestCase.java</include>
             </includes>
-            <systemProperties>
-              <property>
-              <name>build.testlog</name>
-              <value>target/surefire-reports/tests.log</value>
-              </property>
-            </systemProperties>
+            <systemPropertyVariables>
+              <build.testlog>target/surefire-reports/tests.log</build.testlog>
+            </systemPropertyVariables>
           </configuration>
+          <executions>
+          <execution>
+            <id>cache-enabled-tests</id>
+            <goals><goal>test</goal></goals>
+            <configuration>
+              <reportsDirectory>${project.build.directory}/surefire-cache-reports</reportsDirectory>
+              <systemPropertyVariables>
+                <org.jboss.classpool.policy>org.jboss.util.TimedCachePolicy</org.jboss.classpool.policy>
+              </systemPropertyVariables>
+              <includes>
+                <include>org/jboss/test/**/*ClassPoolTestCase.java</include>
+              </includes>
+            </configuration>
+          </execution>
+        </executions>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-report-plugin</artifactId>
-          <version>2.4.3</version>
+          <version>2.5</version>
           <executions>
             <execution>
               <id>surefire-report</id>
@@ -108,6 +120,12 @@
                 <goal>report-only</goal>
               </goals>
               <phase>package</phase>
+              <!--  <configuration>
+                <reportsDirectories>
+                   <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
+                <reportsDirectory>${project.build.directory}/surefire-cache-reports</reportsDirectory>
+                </reportsDirectories>
+              </configuration>-->
             </execution>
           </executions>
         </plugin>
@@ -166,6 +184,17 @@
           </links>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-report-plugin</artifactId>
+        <version>2.5</version>
+        <configuration>
+          <reportsDirectories>
+            <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
+            <reportsDirectory>${project.build.directory}/surefire-cache-reports</reportsDirectory>
+          </reportsDirectories>
+        </configuration>
+      </plugin>
     
       <!--  <plugin>
         <groupId>org.codehaus.mojo</groupId>
@@ -209,51 +238,51 @@
       <groupId>org.jboss</groupId>
       <artifactId>jboss-common-core</artifactId>
       <version>${version.org.jboss.common}</version>
-      <scope>compile</scope>    
+      <scope>compile</scope>
     </dependency>
     <dependency>
       <groupId>org.jboss.logging</groupId>
       <artifactId>jboss-logging-spi</artifactId>
       <version>${version.org.jboss.logging}</version>
-      <scope>compile</scope>    
+      <scope>compile</scope>
     </dependency>
 
     <dependency>
       <groupId>org.jboss.cl</groupId>
       <artifactId>jboss-classloading</artifactId>
       <version>${version.org.jboss.cl}</version>
-      <scope>provided</scope>    
-    </dependency>    
+      <scope>provided</scope>
+    </dependency>
     <dependency>
       <groupId>org.jboss</groupId>
       <artifactId>jboss-vfs</artifactId>
       <version>${version.org.jboss.vfs}</version>
-      <scope>compile</scope>    
+      <scope>compile</scope>
     </dependency>
       <dependency>
         <groupId>org.jboss.man</groupId>
         <artifactId>jboss-metatype</artifactId>
         <version>${version.org.jboss.man}</version>
-      <scope>compile</scope>    
+      <scope>compile</scope>
       </dependency>
     <dependency>
       <groupId>org.jboss.deployers</groupId>
       <artifactId>jboss-deployers-impl</artifactId>
       <version>${version.org.jboss.deployers}</version>
-      <scope>compile</scope>    
+      <scope>compile</scope>
     </dependency>
     <dependency>
       <groupId>sun-jaxb</groupId>
       <artifactId>jaxb-api</artifactId>
       <version>${version.jaxb}</version>
-      <scope>compile</scope>    
+      <scope>compile</scope>
     </dependency>
 
     <dependency>
       <groupId>org.jboss.jbossas</groupId>
       <artifactId>jboss-as-system-jmx</artifactId>
       <version>${version.org.jboss.jmx}</version>
-      <scope>provided</scope>    
+      <scope>provided</scope>
       <exclusions>
          <exclusion>
             <groupId>org.jboss</groupId>
@@ -266,25 +295,25 @@
       <groupId>org.jboss</groupId>
       <artifactId>jboss-mdr</artifactId>
       <version>${version.org.jboss.mdr}</version>
-      <scope>test</scope>    
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.jboss.cl</groupId>
       <artifactId>jboss-classloading-vfs</artifactId>
       <version>${version.org.jboss.cl}</version>
-      <scope>test</scope>    
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.jboss.kernel</groupId>
       <artifactId>jboss-kernel</artifactId>
       <version>${version.org.jboss.kernel}</version>
-      <scope>test</scope>    
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.jboss.test</groupId>
       <artifactId>jboss-test</artifactId>
       <version>${version.org.jboss.test}</version>
-      <scope>test</scope>    
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.jboss.logging</groupId>
@@ -296,7 +325,7 @@
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>${version.junit}</version>
-      <scope>test</scope>    
+      <scope>test</scope>
     </dependency>
   </dependencies>
   </dependencyManagement>

Modified: projects/jboss-classpool/trunk/ucl/pom.xml
===================================================================
--- projects/jboss-classpool/trunk/ucl/pom.xml	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/ucl/pom.xml	2010-03-05 12:27:32 UTC (rev 101951)
@@ -58,6 +58,26 @@
           </execution>
         </executions>
       </plugin>
+       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>cache-enabled-tests</id>
+            <goals><goal>test</goal></goals>
+            <configuration>
+              <reportsDirectory>${project.build.directory}/surefire-cache-reports</reportsDirectory>
+              <systemPropertyVariables>
+                <org.jboss.classpool.policy>org.jboss.util.TimedCachePolicy</org.jboss.classpool.policy>
+              </systemPropertyVariables>
+              <includes>
+                <include>org/jboss/test/**/CtClassCreationTestCase.java</include>
+                <include>org/jboss/test/**/*ClassPoolTestCase.java</include>
+              </includes>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   

Deleted: projects/jboss-classpool/trunk/ucl/src/test/java/org/jboss/test/classpool/ucl/test/CachedCtClassCreationTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/ucl/src/test/java/org/jboss/test/classpool/ucl/test/CachedCtClassCreationTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/ucl/src/test/java/org/jboss/test/classpool/ucl/test/CachedCtClassCreationTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,47 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.ucl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedCtClassCreationTestCase extends CtClassCreationTestCase
-{
-   public CachedCtClassCreationTestCase(String name)
-   {
-      super(name);
-   }
-
-
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file

Deleted: projects/jboss-classpool/trunk/ucl/src/test/java/org/jboss/test/classpool/ucl/test/CachedRepositoryClassPoolTestCase.java
===================================================================
--- projects/jboss-classpool/trunk/ucl/src/test/java/org/jboss/test/classpool/ucl/test/CachedRepositoryClassPoolTestCase.java	2010-03-05 12:17:44 UTC (rev 101950)
+++ projects/jboss-classpool/trunk/ucl/src/test/java/org/jboss/test/classpool/ucl/test/CachedRepositoryClassPoolTestCase.java	2010-03-05 12:27:32 UTC (rev 101951)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classpool.ucl.test;
-
-import org.jboss.classpool.base.CtClassCacheFactory;
-import org.jboss.util.TimedCachePolicy;
-
-/**
- * Needs to be run in a fresh JVM to set up caching
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 99199 $
- */
-public class CachedRepositoryClassPoolTestCase extends RepositoryClassPoolTestCase
-{
-   public CachedRepositoryClassPoolTestCase(String name)
-   {
-      super(name);
-   }
-
-   @Override
-   protected void setUp() throws Exception
-   {
-      super.setUp();
-      System.setProperty(CtClassCacheFactory.POLICY_CLASS, TimedCachePolicy.class.getName());
-   }
-}
\ No newline at end of file




More information about the jboss-cvs-commits mailing list