use of org.eclipse.tycho.versions.engine.VersionsEngine in project tycho by eclipse.
the class VersionsEngineTest method testUpdateVersionRanges.
public void testUpdateVersionRanges() throws Exception {
File basedir = TestUtil.getBasedir("projects/versionranges");
VersionsEngine engine = newEngine(basedir);
engine.addVersionChange("parent", "1.0.1.qualifier");
engine.setUpdateVersionRangeMatchingBounds(true);
engine.apply();
assertBundleManifest(new File(basedir, "bundle1"));
assertBundleManifest(new File(basedir, "bundle2"));
assertBundleManifest(new File(basedir, "bundle3"));
assertBundleManifest(new File(basedir, "fragment"));
}
use of org.eclipse.tycho.versions.engine.VersionsEngine in project tycho by eclipse.
the class VersionsEngineTest method testPomProperties.
public void testPomProperties() throws Exception {
File basedir = TestUtil.getBasedir("projects/pomproperties");
VersionsEngine engine = newEngine(basedir);
engine.addPropertyChange("pomproperties", "p1", "changed");
engine.apply();
assertPom(basedir);
}
use of org.eclipse.tycho.versions.engine.VersionsEngine in project tycho by eclipse.
the class VersionsEngineTest method testNonOsgiVersionNonOsgiProject.
public void testNonOsgiVersionNonOsgiProject() throws Exception {
File basedir = TestUtil.getBasedir("projects/nonosgiversion/maven");
VersionsEngine engine = newEngine(basedir);
engine.addVersionChange("maven", "1.0.1-01");
engine.apply();
}
use of org.eclipse.tycho.versions.engine.VersionsEngine in project tycho by eclipse.
the class VersionsEngineTest method testSimple.
public void testSimple() throws Exception {
File basedir = TestUtil.getBasedir("projects/simple");
VersionsEngine engine = newEngine(basedir);
engine.addVersionChange("simple", "1.0.1.qualifier");
engine.apply();
assertPom(basedir);
assertBundleManifest(basedir);
}
use of org.eclipse.tycho.versions.engine.VersionsEngine in project tycho by eclipse.
the class VersionsEngineTest method testDependencyOtherVersion.
public void testDependencyOtherVersion() throws Exception {
File basedir = TestUtil.getBasedir("projects/dependencyotherversion");
VersionsEngine engine = newEngine(basedir);
engine.addVersionChange("someproject", "1.0.1.qualifier");
engine.apply();
assertPom(basedir);
assertPom(new File(basedir, "bundle"));
assertBundleManifest(new File(basedir, "bundle"));
assertPom(new File(basedir, "someproject"));
}
Aggregations