[jboss-cvs] JBossAS SVN: r82361 - in projects/aop/trunk/asintegration-mc/src/tests/org/jboss/test/aop/classpool/jbosscl: test and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Dec 18 06:15:28 EST 2008


Author: kabir.khan at jboss.com
Date: 2008-12-18 06:15:27 -0500 (Thu, 18 Dec 2008)
New Revision: 82361

Removed:
   projects/aop/trunk/asintegration-mc/src/tests/org/jboss/test/aop/classpool/jbosscl/support/TestMockClassLoaderPolicyModule.java
   projects/aop/trunk/asintegration-mc/src/tests/org/jboss/test/aop/classpool/jbosscl/test/UclClassPoolTestSuite.java
Log:
[JBAOP-666] Unused classes

Deleted: projects/aop/trunk/asintegration-mc/src/tests/org/jboss/test/aop/classpool/jbosscl/support/TestMockClassLoaderPolicyModule.java
===================================================================
--- projects/aop/trunk/asintegration-mc/src/tests/org/jboss/test/aop/classpool/jbosscl/support/TestMockClassLoaderPolicyModule.java	2008-12-18 10:42:00 UTC (rev 82360)
+++ projects/aop/trunk/asintegration-mc/src/tests/org/jboss/test/aop/classpool/jbosscl/support/TestMockClassLoaderPolicyModule.java	2008-12-18 11:15:27 UTC (rev 82361)
@@ -1,71 +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.aop.classpool.jbosscl.support;
-
-import java.io.File;
-import java.net.URL;
-
-import org.jboss.classloading.spi.dependency.policy.mock.MockClassLoaderPolicyModule;
-import org.jboss.classloading.spi.dependency.policy.mock.MockClassLoadingMetaData;
-
-/**
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 1.1 $
- */
-public class TestMockClassLoaderPolicyModule extends MockClassLoaderPolicyModule
-{
-   private static final long serialVersionUID = 1;
-   
-   /** In AS we need a URL to create the temporary files */
-   URL dynamicClassRoot;
-
-   public TestMockClassLoaderPolicyModule(MockClassLoadingMetaData classLoadingMetaData, String contextName)
-   {
-      // FIXME TesetMockClassLoaderPolicyModule constructor
-      super(classLoadingMetaData, contextName);
-   }
-
-   @Override
-   public synchronized URL getDynamicClassRoot()
-   {
-      if (dynamicClassRoot == null)
-      {
-         try
-         {
-            File tempdir = File.createTempFile("ucl", "", new File("."));
-            tempdir.delete();
-            tempdir.mkdir();
-            tempdir.deleteOnExit();
-
-            dynamicClassRoot = tempdir.toURL();
-         }
-         catch (Exception e)
-         {
-            // AutoGenerated
-            throw new RuntimeException(e);
-         }
-      }
-
-      return dynamicClassRoot;
-   }
-}

Deleted: projects/aop/trunk/asintegration-mc/src/tests/org/jboss/test/aop/classpool/jbosscl/test/UclClassPoolTestSuite.java
===================================================================
--- projects/aop/trunk/asintegration-mc/src/tests/org/jboss/test/aop/classpool/jbosscl/test/UclClassPoolTestSuite.java	2008-12-18 10:42:00 UTC (rev 82360)
+++ projects/aop/trunk/asintegration-mc/src/tests/org/jboss/test/aop/classpool/jbosscl/test/UclClassPoolTestSuite.java	2008-12-18 11:15:27 UTC (rev 82361)
@@ -1,51 +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.aop.classpool.jbosscl.test;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
-
-/**
- * 
- * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
- * @version $Revision: 1.1 $
- */
-public class UclClassPoolTestSuite extends TestSuite
-{
-   public static void main(String[] args)
-   {
-      TestRunner.run(suite());
-   }
-
-   public static Test suite()
-   {
-      TestSuite suite = new TestSuite("UclClassPool All Tests");
-      
-      suite.addTest(ClassLoaderWithRepositorySanityTestCase.suite());
-      suite.addTest(ClassPoolWithRepositoryTestCase.suite());
-      
-
-      return suite;
-   }
-
-}




More information about the jboss-cvs-commits mailing list