[jboss-cvs] JBossAS SVN: r99305 - projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/fragments.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 12 12:45:11 EST 2010


Author: thomas.diesler at jboss.com
Date: 2010-01-12 12:45:11 -0500 (Tue, 12 Jan 2010)
New Revision: 99305

Modified:
   projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/fragments/FragmentTestCase.java
Log:
[JBOSGI-245] Framework fragments
Add @Ignore for unsupported functionality

Modified: projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/fragments/FragmentTestCase.java
===================================================================
--- projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/fragments/FragmentTestCase.java	2010-01-12 17:29:06 UTC (rev 99304)
+++ projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/fragments/FragmentTestCase.java	2010-01-12 17:45:11 UTC (rev 99305)
@@ -36,6 +36,7 @@
 import org.jboss.test.osgi.fragments.subA.SubBeanA;
 import org.junit.After;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.osgi.framework.Bundle;
 import org.osgi.framework.BundleContext;
@@ -169,14 +170,9 @@
    }
 
    @Test
+   @Ignore
    public void testHiddenPrivatePackage() throws Exception
    {
-      if (framework != null)
-      {
-         System.out.println("FIXME [JBOSGI-245] Framework fragments");
-         return;
-      }
-      
       // Bundle-SymbolicName: simple-hostA
       // Private-Package: org.jboss.test.osgi.fragments.hostA, org.jboss.test.osgi.fragments.subA 
       Bundle hostA = context.installBundle(getTestArchivePath("fragments-simple-hostA.jar"));
@@ -214,14 +210,9 @@
    }
 
    @Test
+   @Ignore
    public void testFragmentExportsPackage() throws Exception
    {
-      if (framework != null)
-      {
-         System.out.println("FIXME [JBOSGI-245] Framework fragments");
-         return;
-      }
-      
       // Bundle-SymbolicName: simple-hostA
       // Private-Package: org.jboss.test.osgi.fragments.hostA, org.jboss.test.osgi.fragments.subA 
       Bundle hostA = context.installBundle(getTestArchivePath("fragments-simple-hostA.jar"));
@@ -294,14 +285,9 @@
    }
 
    @Test
+   @Ignore
    public void testFragmentRequireBundle() throws Exception
    {
-      if (framework != null)
-      {
-         System.out.println("FIXME [JBOSGI-245] Framework fragments");
-         return;
-      }
-      
       // Bundle-SymbolicName: simple-hostA
       // Private-Package: org.jboss.test.osgi.fragments.hostA, org.jboss.test.osgi.fragments.subA 
       Bundle hostA = context.installBundle(getTestArchivePath("fragments-simple-hostA.jar"));




More information about the jboss-cvs-commits mailing list