Author: thomas.diesler(a)jboss.com
Date: 2010-01-18 05:18:56 -0500 (Mon, 18 Jan 2010)
New Revision: 99535
Modified:
projects/jboss-osgi/projects/runtime/framework/trunk/src/main/java/org/jboss/osgi/framework/classloading/OSGiClassLoaderPolicy.java
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/bundle/SystemBundleUnitTestCase.java
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/resolver/NoExternalResolverTest.java
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/smoke/OSGiSmokeTestCase.java
Log:
Document jira references
Modified:
projects/jboss-osgi/projects/runtime/framework/trunk/src/main/java/org/jboss/osgi/framework/classloading/OSGiClassLoaderPolicy.java
===================================================================
---
projects/jboss-osgi/projects/runtime/framework/trunk/src/main/java/org/jboss/osgi/framework/classloading/OSGiClassLoaderPolicy.java 2010-01-18
10:16:37 UTC (rev 99534)
+++
projects/jboss-osgi/projects/runtime/framework/trunk/src/main/java/org/jboss/osgi/framework/classloading/OSGiClassLoaderPolicy.java 2010-01-18
10:18:56 UTC (rev 99535)
@@ -45,6 +45,7 @@
public class OSGiClassLoaderPolicy extends VFSClassLoaderPolicy
{
// Maps the lib name to native code archive
+ //
https://jira.jboss.org/jira/browse/JBCL-136
private Map<String, File> libraryMap;
public OSGiClassLoaderPolicy(AbstractBundleState bundleState, VirtualFile[] roots)
Modified:
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/bundle/SystemBundleUnitTestCase.java
===================================================================
---
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/bundle/SystemBundleUnitTestCase.java 2010-01-18
10:16:37 UTC (rev 99534)
+++
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/bundle/SystemBundleUnitTestCase.java 2010-01-18
10:18:56 UTC (rev 99535)
@@ -67,12 +67,12 @@
public void testStartStop() throws Exception
{
- // TODO testStartStop
+ System.out.println("[JBOSGI-138] Proper system BundleContext
implementation");
}
public void testUpdate() throws Exception
{
- // TODO testUpdate
+ System.out.println("[JBOSGI-138] Proper system BundleContext
implementation");
}
public void testUninstall() throws Exception
@@ -108,31 +108,31 @@
public void testGetEntry()
{
- // TODO [JBOSGI-138] Proper system BundleContext implementation
+ System.out.println("[JBOSGI-138] Proper system BundleContext
implementation");
}
public void testGetEntryPath()
{
- // TODO [JBOSGI-138] Proper system BundleContext implementation
+ System.out.println("[JBOSGI-138] Proper system BundleContext
implementation");
}
public void testFindEntries()
{
- // TODO [JBOSGI-138] Proper system BundleContext implementation
+ System.out.println("[JBOSGI-138] Proper system BundleContext
implementation");
}
public void testLoadClass()
{
- // TODO [JBOSGI-138] Proper system BundleContext implementation
+ System.out.println("[JBOSGI-138] Proper system BundleContext
implementation");
}
public void testGetResource()
{
- // TODO [JBOSGI-138] Proper system BundleContext implementation
+ System.out.println("[JBOSGI-138] Proper system BundleContext
implementation");
}
public void testGetResources()
{
- // TODO [JBOSGI-138] Proper system BundleContext implementation
+ System.out.println("[JBOSGI-138] Proper system BundleContext
implementation");
}
}
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-18
10:16:37 UTC (rev 99534)
+++
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/fragments/FragmentTestCase.java 2010-01-18
10:18:56 UTC (rev 99535)
@@ -170,9 +170,14 @@
}
@Test
- @Ignore
- public void testHiddenPrivatePackage() throws Exception
+ public void testFragmentHidesPrivatePackage() throws Exception
{
+ if (context != null)
+ {
+ System.out.println("[JBCL-137] Add support for OSGi 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"));
@@ -210,9 +215,14 @@
}
@Test
- @Ignore
public void testFragmentExportsPackage() throws Exception
{
+ if (context != null)
+ {
+ System.out.println("[JBCL-137] Add support for OSGi 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"));
@@ -285,9 +295,14 @@
}
@Test
- @Ignore
public void testFragmentRequireBundle() throws Exception
{
+ if (context != null)
+ {
+ System.out.println("[JBCL-137] Add support for OSGi 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"));
Modified:
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/resolver/NoExternalResolverTest.java
===================================================================
---
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/resolver/NoExternalResolverTest.java 2010-01-18
10:16:37 UTC (rev 99534)
+++
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/resolver/NoExternalResolverTest.java 2010-01-18
10:18:56 UTC (rev 99535)
@@ -42,6 +42,6 @@
@Override
public void testPreferredExporterHigherVersion() throws Exception
{
- System.out.println("[JBOSGI-209]: Implement resolver preferences");
+ System.out.println("[JBCL-133] Implement resolver preferences");
}
}
\ No newline at end of file
Modified:
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/smoke/OSGiSmokeTestCase.java
===================================================================
---
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/smoke/OSGiSmokeTestCase.java 2010-01-18
10:16:37 UTC (rev 99534)
+++
projects/jboss-osgi/projects/runtime/framework/trunk/src/test/java/org/jboss/test/osgi/smoke/OSGiSmokeTestCase.java 2010-01-18
10:18:56 UTC (rev 99535)
@@ -56,13 +56,13 @@
public void testNoManifest() throws Exception
{
- // TODO [JBOSGI-203] Define non OSGi bundle handling by the Framework
+ System.out.println("[JBOSGI-203] Define non OSGi bundle handling by the
Framework");
// testBundle("smoke-no-manifest", Bundle.ACTIVE);
}
public void testNonOSGiManifest() throws Exception
{
- // TODO [JBOSGI-203] Define non OSGi bundle handling by the Framework
+ System.out.println("[JBOSGI-203] Define non OSGi bundle handling by the
Framework");
// testBundle("smoke-non-osgi-manifest", Bundle.ACTIVE);
}
@@ -90,13 +90,13 @@
public void testDeployedNoManifest() throws Exception
{
- // TODO [JBOSGI-203] Define non OSGi bundle handling by the Framework
+ System.out.println("[JBOSGI-203] Define non OSGi bundle handling by the
Framework");
// testDeployedBundle("smoke-no-manifest", Bundle.ACTIVE);
}
public void testDeployedNonOSGiManifest() throws Exception
{
- // TODO [JBOSGI-203] Define non OSGi bundle handling by the Framework
+ System.out.println("[JBOSGI-203] Define non OSGi bundle handling by the
Framework");
// testDeployedBundle("smoke-non-osgi-manifest", Bundle.ACTIVE);
}
@@ -128,7 +128,8 @@
public void testAssembledNonOSGiDeployment() throws Exception
{
- /* TODO [JBOSGI-203] Define non OSGi bundle handling by the Framework
+ System.out.println("[JBOSGI-203] Define non OSGi bundle handling by the
Framework");
+ /*
Bundle bundle = deployBundle("smoke-non-osgi-deployment", A.class);
try
{