You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by mc...@apache.org on 2008/03/25 14:47:41 UTC

svn commit: r640812 - in /incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution: ContributionTestCase.java SupplyChain.java TuscanyClassloadingTestCaseFIXME.java

Author: mcombellack
Date: Tue Mar 25 06:47:36 2008
New Revision: 640812

URL: http://svn.apache.org/viewvc?rev=640812&view=rev
Log:
Minor JavaDoc updates and spelling corrections

Modified:
    incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionTestCase.java
    incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/SupplyChain.java
    incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/TuscanyClassloadingTestCaseFIXME.java

Modified: incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionTestCase.java?rev=640812&r1=640811&r2=640812&view=diff
==============================================================================
--- incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionTestCase.java (original)
+++ incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/ContributionTestCase.java Tue Mar 25 06:47:36 2008
@@ -33,7 +33,7 @@
 
 /*
  * 
- * Contribution classloading integration tests
+ * Contribution ClassLoading integration tests
  */
 
 public class ContributionTestCase {
@@ -56,7 +56,7 @@
 
    
     /**
-     * Test static classloading for classes that are visible from contribution
+     * Test static ClassLoading for classes that are visible from contribution
      * 
      * @throws Exception
      */
@@ -95,7 +95,7 @@
     
 
     /**
-     * Test dynamic classloading for classes that are visible from contribution
+     * Test dynamic ClassLoading for classes that are visible from contribution
      * 
      * @throws Exception
      */
@@ -162,7 +162,7 @@
     }
     
     /**
-     * Test dynamic classloading for classes that are visible from contribution
+     * Test dynamic ClassLoading for classes that are visible from contribution
      * 
      * @throws Exception
      */
@@ -225,7 +225,7 @@
     /**
      * This test ensures that classes from imported packages can be statically loaded 
      * from other contributions even though the classes are not on CLASSPATH or on the 
-     * parent classloader, or the thread context classloader.
+     * parent ClassLoader, or the thread context ClassLoader.
      * 
      * @throws Exception
      */
@@ -240,7 +240,7 @@
     /**
      * This test ensures that all imported classes are loaded from the exporting contributions 
      * rather than the parent classLoader. If any of the interface classes were incorrectly loaded 
-     * through the parent classloader, LinkageError should result.
+     * through the parent ClassLoader, LinkageError should result.
      * 
      * @throws Exception
      */
@@ -261,7 +261,7 @@
     /**
      * This test ensures that classes from imported packages can be dynamically loaded from
      * other contributions even though the classes are not on CLASSPATH or on the 
-     * parent classloader, or the thread context classloader.
+     * parent ClassLoader, or the thread context ClassLoader.
      * 
      * @throws Exception
      */
@@ -332,7 +332,7 @@
     /**
      * This test ensures that classes from imported packages can be dynamically loaded from
      * other contributions even though the classes are not on CLASSPATH or on the 
-     * parent classloader, or the thread context classloader.
+     * parent ClassLoader, or the thread context ClassLoader.
      * 
      * @throws Exception
      */

Modified: incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/SupplyChain.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/SupplyChain.java?rev=640812&r1=640811&r2=640812&view=diff
==============================================================================
--- incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/SupplyChain.java (original)
+++ incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/SupplyChain.java Tue Mar 25 06:47:36 2008
@@ -31,7 +31,7 @@
 
 /*
  * 
- * Contribution classloading integration tests
+ * Contribution ClassLoading integration tests
  */
 
 public class SupplyChain {

Modified: incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/TuscanyClassloadingTestCaseFIXME.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/TuscanyClassloadingTestCaseFIXME.java?rev=640812&r1=640811&r2=640812&view=diff
==============================================================================
--- incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/TuscanyClassloadingTestCaseFIXME.java (original)
+++ incubator/tuscany/java/sca/itest/contribution-classloader/contribution-test/src/test/java/org/apache/tuscany/sca/test/contribution/TuscanyClassloadingTestCaseFIXME.java Tue Mar 25 06:47:36 2008
@@ -40,7 +40,7 @@
 
 /*
  * 
- * Contribution classloading integration tests
+ * Contribution ClassLoading integration tests
  */
 
 //FIXME This test case needs some serious rework!
@@ -105,9 +105,9 @@
     }
 
     /**
-     * Create a classloader hierarchy for Tuscany runtime
+     * Create a ClassLoader hierarchy for Tuscany runtime
      *     Dependencies <- SCA-API <- Core-SPI+ Runtime <- Extensions
-     * Load the embedded SCA domain class using the runtime classloader
+     * Load the embedded SCA domain class using the runtime ClassLoader
      * 
      * @return embedded SCA domain class
      * @throws Exception
@@ -119,9 +119,9 @@
         URL[] extensionUrls;
         URL[] dependencyUrls;
 
-        // When the test is run under Eclipse, the classloader for the test is
+        // When the test is run under Eclipse, the ClassLoader for the test is
         // sun.misc.Launcher$AppClassLoader. The first code path is taken.
-        // When the test is run under maven, the classloader for the test is
+        // When the test is run under Maven, the ClassLoader for the test is
         // org.apache.maven.surefire.booter.IsolatedClassLoader, which is a subclass
         // of URLClassLoader. The second code path is taken.
         if (!(this.getClass().getClassLoader() instanceof URLClassLoader)) {
@@ -181,17 +181,17 @@
     }
 
     /**
-     * From the list of entries in the test classloader, match
-     * Tuscany jars corresponding to a classloader, and return the list
+     * From the list of entries in the test ClassLoader, match
+     * Tuscany jars corresponding to a ClassLoader, and return the list
      * of matching entries as URLs.
      * This method is used when the test is run under eclipse, using CLASSPATH
-     * based application classloader.
+     * based application ClassLoader.
      * 
      * @param classPathEntries List of entries on CLASSPATH
      * @param dependentJars Complete set of jars, remove jars corresponding to this
-     *                      classloader from the set.
-     * @param jars List of Tuscany jars corresponding to this classloader
-     * @return Matching URLs for the classloader 
+     *                      ClassLoader from the set.
+     * @param jars List of Tuscany jars corresponding to this ClassLoader
+     * @return Matching URLs for the ClassLoader 
      * @throws IOException
      */
     private URL[] getTuscanyClassLoaderURLs(String[] classPathEntries, HashSet<String> dependentJars, String[]... jars)
@@ -241,17 +241,17 @@
     }
 
     /**
-     * From the list of URLs of the test classloader, match
-     * Tuscany jars corresponding to a classloader, and return the matching URLs
-     * This method is used when the test is run under maven. The test classloader is
+     * From the list of URLs of the test ClassLoader, match
+     * Tuscany jars corresponding to a ClassLoader, and return the matching URLs
+     * This method is used when the test is run under Maven. The test ClassLoader is
      * org.apache.maven.surefire.booter.IsolatedClassLoader, which is a subclass
      * of URLClassLoader
      * 
-     * @param classPathEntries List of URLs from the test classloader
+     * @param classPathEntries List of URLs from the test ClassLoader
      * @param dependentJars Complete set of jars, remove jars corresponding to this
-     *                      classloader from the set.
-     * @param jars List of Tuscany jars corresponding to this classloader
-     * @return Matching URLs for the classloader 
+     *                      ClassLoader from the set.
+     * @param jars List of Tuscany jars corresponding to this ClassLoader
+     * @return Matching URLs for the ClassLoader 
      * @throws IOException
      */
     private URL[] getTuscanyClassLoaderURLs(URL[] classPathEntries, HashSet<URL> dependentJars, String[]... jars)
@@ -300,7 +300,7 @@
 
     /**
      * 
-     * Load Tuscany runtime using multiple classloaders, and run supplychain
+     * Load Tuscany runtime using multiple ClassLoaders, and run supplychain
      * test. 
      * 
      * @throws Exception



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org