Examples of BundleManifest


Examples of org.osmorc.manifest.BundleManifest

    assertThat(potentialHost1.isFragmentHostFor(fragment), is(false));
    assertThat(potentialHost2.isFragmentHostFor(fragment), is(true));
  }

  public void testImports() {
    BundleManifest manifest = getManifest(Manifest9);
    assertThat(manifest.isPackageImported("foo.bar.baz"), is(true));
    assertThat(manifest.isPackageImported("foo.bar.split_name"), is(true));
    assertThat(manifest.isPackageImported("foo.bar.bam"), is(false));
    assertThat(manifest.isPackageImported("foo.bar"), is(false));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.