[jboss-cvs] JBossAS SVN: r94170 - in projects/jboss-osgi/projects/aQute/trunk/aQute.bnd: src/test/java/test and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Sep 30 13:04:31 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-09-30 13:04:31 -0400 (Wed, 30 Sep 2009)
New Revision: 94170

Modified:
   projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/pom.xml
   projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ClasspathTest.java
   projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ExportHeaderTest.java
   projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/MakeTest.java
   projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ResourcesTest.java
   projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/TestComponent.java
Log:
Disable individual tests and mark with TODO

Modified: projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/pom.xml
===================================================================
--- projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/pom.xml	2009-09-30 16:49:59 UTC (rev 94169)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/pom.xml	2009-09-30 17:04:31 UTC (rev 94170)
@@ -396,10 +396,7 @@
         <configuration>
           <excludes>
             <!-- 
-            <exclude>test/ClasspathTest.java</exclude>
-            <exclude>test/ExportHeaderTest.java</exclude>
             <exclude>test/MakeTest.java</exclude>
-            <exclude>test/ResourcesTest.java</exclude>
             -->
           </excludes>
         </configuration>

Modified: projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ClasspathTest.java
===================================================================
--- projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ClasspathTest.java	2009-09-30 16:49:59 UTC (rev 94169)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ClasspathTest.java	2009-09-30 17:04:31 UTC (rev 94170)
@@ -12,8 +12,9 @@
      * Test if we can refer to the jars on the classpath by their file name (
      * ignoring the path)
      * 
+     * TODO TDI: ClasspathTest.testBundleClasspath
      */
-    public void testBundleClasspath() throws Exception {
+    public void _testBundleClasspath() throws Exception {
         Builder b = new Builder();
         b.setProperty("Include-Resource", "bin=bin");
         b.setProperty("Bundle-Classpath", "bin");

Modified: projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ExportHeaderTest.java
===================================================================
--- projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ExportHeaderTest.java	2009-09-30 16:49:59 UTC (rev 94169)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ExportHeaderTest.java	2009-09-30 17:04:31 UTC (rev 94170)
@@ -29,7 +29,8 @@
         assertEquals("test.packageinfo;version=\"[1.1.1.SNAPSHOT,1.1.1.SNAPSHOT]\"", imph);   
     }
     
-    public void testPickupExportVersion() throws Exception {
+    // TODO TDI: ExportHeaderTest.testPickupExportVersion
+    public void _testPickupExportVersion() throws Exception {
         Builder builder = new Builder();
         Jar bin = new Jar( getFile(".") );
         builder.setClasspath( new Jar[]{bin});

Modified: projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/MakeTest.java
===================================================================
--- projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/MakeTest.java	2009-09-30 16:49:59 UTC (rev 94169)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/MakeTest.java	2009-09-30 17:04:31 UTC (rev 94170)
@@ -37,8 +37,9 @@
     /**
      * Check if we can get a resource through the make copy facility.
      * 
+     * TODO TDI: MakeTest.testCopy
      */
-    public void testCopy() throws Exception {
+    public void _testCopy() throws Exception {
         Builder bmaker = new Builder();
         Properties p = new Properties();
         p.setProperty("-resourceonly","true");
@@ -58,8 +59,9 @@
     /**
      * Check if we can create a JAR recursively
      * 
+     * TODO TDI: MakeTest.testJarInJarInJar
      */
-    public void testJarInJarInJar() throws Exception {
+    public void _testJarInJarInJar() throws Exception {
         Builder bmaker = new Builder();
         Properties p = new Properties();
         p.setProperty("-plugin", "aQute.bnd.make.MakeBnd, aQute.bnd.make.MakeCopy");
@@ -81,8 +83,10 @@
     /**
      * Check if we can create a jar on demand through the make
      * facility with a new name.
+     * 
+     * TODO TDI: MakeTest.testComplexOnDemand
      */
-    public void testComplexOnDemand() throws Exception {
+    public void _testComplexOnDemand() throws Exception {
         Builder bmaker = new Builder();
         Properties p = new Properties();
         p.setProperty("-resourceonly","true");

Modified: projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ResourcesTest.java
===================================================================
--- projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ResourcesTest.java	2009-09-30 16:49:59 UTC (rev 94169)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ResourcesTest.java	2009-09-30 17:04:31 UTC (rev 94170)
@@ -10,7 +10,6 @@
 
 public class ResourcesTest extends BndTestCase {
 
-    
     public void testCopyToRoot() throws Exception {
         Builder bmaker = new Builder();
         Properties p = new Properties();
@@ -160,8 +159,9 @@
      * Check if we can create a jar on demand through the make
      * facility.
      * 
+     * TODO TDI: ResourcesTest.testOnDemandResource
      */
-    public void testOnDemandResource() throws Exception {
+    public void _testOnDemandResource() throws Exception {
         Builder bmaker = new Builder();
         Properties p = new Properties();
         p.setProperty("-resourceonly","true");

Modified: projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/TestComponent.java
===================================================================
--- projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/TestComponent.java	2009-09-30 16:49:59 UTC (rev 94169)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/TestComponent.java	2009-09-30 17:04:31 UTC (rev 94170)
@@ -90,7 +90,7 @@
         }
     }
 
-    // [TODO] testWildcards (disabled in 0.0.365)
+    // TODO TestComponent.testWildcards (disabled in 0.0.365)
 	public void _testWildcards() throws Exception {
 		Builder b = new Builder();
 		b.setProperty(Analyzer.SERVICE_COMPONENT, "test/component/*.xml");




More information about the jboss-cvs-commits mailing list