[jboss-cvs] JBossAS SVN: r94169 - 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 12:49:59 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-09-30 12:49:59 -0400 (Wed, 30 Sep 2009)
New Revision: 94169

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
Log:
Make failing tests visible in hudson

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:36:00 UTC (rev 94168)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/pom.xml	2009-09-30 16:49:59 UTC (rev 94169)
@@ -395,7 +395,12 @@
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
           <excludes>
+            <!-- 
+            <exclude>test/ClasspathTest.java</exclude>
+            <exclude>test/ExportHeaderTest.java</exclude>
             <exclude>test/MakeTest.java</exclude>
+            <exclude>test/ResourcesTest.java</exclude>
+            -->
           </excludes>
         </configuration>
       </plugin>

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:36:00 UTC (rev 94168)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ClasspathTest.java	2009-09-30 16:49:59 UTC (rev 94169)
@@ -12,9 +12,8 @@
      * Test if we can refer to the jars on the classpath by their file name (
      * ignoring the path)
      * 
-     * [TODO] TDI - 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:36:00 UTC (rev 94168)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ExportHeaderTest.java	2009-09-30 16:49:59 UTC (rev 94169)
@@ -29,8 +29,7 @@
         assertEquals("test.packageinfo;version=\"[1.1.1.SNAPSHOT,1.1.1.SNAPSHOT]\"", imph);   
     }
     
-    // [TODO] testPickupExportVersion
-    public void _testPickupExportVersion() throws Exception {
+    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:36:00 UTC (rev 94168)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/MakeTest.java	2009-09-30 16:49:59 UTC (rev 94169)
@@ -1,10 +1,12 @@
 package test;
 
-import java.io.*;
-import java.util.*;
+import java.util.Properties;
 
-import junit.framework.*;
-import aQute.lib.osgi.*;
+import aQute.lib.osgi.Builder;
+import aQute.lib.osgi.Jar;
+import aQute.lib.osgi.JarResource;
+import aQute.lib.osgi.Processor;
+import aQute.lib.osgi.Resource;
 
 /**
  * Tests the make functionality.
@@ -35,7 +37,6 @@
     /**
      * Check if we can get a resource through the make copy facility.
      * 
-     * @throws Exception
      */
     public void testCopy() throws Exception {
         Builder bmaker = new Builder();
@@ -57,7 +58,6 @@
     /**
      * Check if we can create a JAR recursively
      * 
-     * @throws Exception
      */
     public void testJarInJarInJar() throws Exception {
         Builder bmaker = new Builder();
@@ -81,8 +81,6 @@
     /**
      * Check if we can create a jar on demand through the make
      * facility with a new name.
-     * 
-     * @throws Exception
      */
     public void testComplexOnDemand() throws Exception {
         Builder bmaker = new Builder();

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:36:00 UTC (rev 94168)
+++ projects/jboss-osgi/projects/aQute/trunk/aQute.bnd/src/test/java/test/ResourcesTest.java	2009-09-30 16:49:59 UTC (rev 94169)
@@ -160,9 +160,8 @@
      * Check if we can create a jar on demand through the make
      * facility.
      * 
-     * [TODO] testOnDemandResource
      */
-    public void _testOnDemandResource() throws Exception {
+    public void testOnDemandResource() throws Exception {
         Builder bmaker = new Builder();
         Properties p = new Properties();
         p.setProperty("-resourceonly","true");




More information about the jboss-cvs-commits mailing list