Esempio n. 1
0
 private void checkManifestJar(URL url) throws Exception {
   final File file = URLCodec.toFile(url);
   final JarFile jarFile = new JarFile(file);
   final Manifest manifest = jarFile.getManifest();
   Assert.assertEquals("1.0", ManifestU.getAttribute(manifest, "Manifest-Version"));
   Assert.assertNotNull(ManifestU.getImplementationBuild(manifest));
 }