Search in sources :

Example 6 with IUDescription

use of org.eclipse.tycho.p2.tools.mirroring.facade.IUDescription in project tycho by eclipse.

the class MirrorStandaloneTest method testMirrorSpecificUnitSpecificVersion.

@Test
public void testMirrorSpecificUnitSpecificVersion() throws Exception {
    subject.mirrorStandalone(e342PlusFragmentsRepo(), destinationRepo, Collections.singletonList(new IUDescription("org.eclipse.core.runtime", "3.4.0.v20080512")), new MirrorOptions(), targetFolder);
    assertEquals(1, getMirroredBundleFiles().length);
    assertTrue(repoFile(destinationRepo, "plugins/org.eclipse.core.runtime_3.4.0.v20080512.jar").exists());
}
Also used : IUDescription(org.eclipse.tycho.p2.tools.mirroring.facade.IUDescription) MirrorOptions(org.eclipse.tycho.p2.tools.mirroring.facade.MirrorOptions) Test(org.junit.Test)

Aggregations

IUDescription (org.eclipse.tycho.p2.tools.mirroring.facade.IUDescription)5 MirrorOptions (org.eclipse.tycho.p2.tools.mirroring.facade.MirrorOptions)3 Test (org.junit.Test)3 ArrayList (java.util.ArrayList)2 IInstallableUnit (org.eclipse.equinox.p2.metadata.IInstallableUnit)2 FacadeException (org.eclipse.tycho.p2.tools.FacadeException)2 IStatus (org.eclipse.core.runtime.IStatus)1 IProvisioningAgent (org.eclipse.equinox.p2.core.IProvisioningAgent)1 ProvisionException (org.eclipse.equinox.p2.core.ProvisionException)1 DependencySeed (org.eclipse.tycho.core.resolver.shared.DependencySeed)1