Package com.instantiations.pde.build.util

Examples of com.instantiations.pde.build.util.Version.compareTo()


  }

  private void assertSharedSubProduct(SubProductZipReader reader, String targetVersion) {
    assertEquals("com.instantiations.eclipse.shared", reader.getId());
    Version fullVersion = new Version(reader.getFullVersion());
    if (fullVersion.compareTo(new Version(5, 5, 0)) < 0)
      fail("Expected version >= 5.5.0, but found " + fullVersion.toStringBase());
    if (fullVersion.getQualifier().compareTo("200901010000") < 0)
      fail("Expected version build number > 200901010000, but found " + fullVersion.getQualifier());
    assertEquals(1, reader.getIncludedFeatures().size());
    if (!reader.getIncludedFeatures().contains("com.instantiations.eclipse.shared"))
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.